/*-----------------------------------------------------------------------------------------*/
/* 1. RESET & VARIABLES */
/*-----------------------------------------------------------------------------------------*/
:root {
    --primary-rose: #d68a8a;    /* Dusty Rose */
    --deep-rose: #7d4e4e;       /* Darker rose for text/accents */
    --off-white: #fffafa;       /* Background */
    --gold: #c5a059;            /* Gold tone for buttons */
    --charcoal: #333;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    height: 100%;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-family: 'Arial', sans-serif;
    background-color: var(--off-white);
    color: var(--charcoal);
    text-align: center;
}

/*-----------------------------------------------------------------------------------------*/
/* 2. NAVIGATION (The "Pro" Fix) */
/*-----------------------------------------------------------------------------------------*/

/* THE NUCLEAR OPTION: Completely hide the checkbox */
#menu-toggle {
    display: none !important;
    visibility: hidden !important;
    position: absolute;
    left: -9999px;
}

.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--off-white);
    padding: 15px 5%;
    z-index: 9999;
    border-bottom: 2px solid var(--primary-rose);
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--deep-rose);
}

/* Mobile Nav Links (Hidden by default) */
.nav-links {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--off-white);
    padding: 20px 0;
    border-bottom: 3px solid var(--primary-rose);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* Toggle Logic */
#menu-toggle:checked ~ .nav-links {
    display: flex;
}

.nav-links li a {
    display: block;
    padding: 15px;
    font-weight: bold;
    color: var(--deep-rose);
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-rose);
    background: #fef0f0;
}

.hamburger {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: var(--deep-rose);
}

/*-----------------------------------------------------------------------------------------*/
/* 3. PORTFOLIO & GRID STYLING */
/*-----------------------------------------------------------------------------------------*/

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--primary-rose);
}

.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(125, 78, 78, 0.2);
}

/*-----------------------------------------------------------------------------------------*/
/* 4. ABOUT ME SECTION */
/*-----------------------------------------------------------------------------------------*/

.profile-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
}

.profile-pic {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-text {
    max-width: 550px;
    text-align: left;
}

.cta-button, .mail-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background-color: var(--gold);
    color: white;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.cta-button:hover, .mail-btn:hover {
    background-color: var(--deep-rose);
    transform: translateY(-3px);
}

/*-----------------------------------------------------------------------------------------*/
/* 5. FOOTER */
/*-----------------------------------------------------------------------------------------*/

footer {
    background: #fdf5f5;
    padding: 40px 20px;
    margin-top: 50px;
    border-top: 1px solid var(--primary-rose);
}

.social-link {
    color: var(--primary-rose);
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    padding: 5px;
}

.social-link:hover {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/*-----------------------------------------------------------------------------------------*/
/* 6. RESPONSIVE MEDIA QUERIES */
/*-----------------------------------------------------------------------------------------*/

/* Desktop View (Larger than 768px) */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }

    .nav-links {
        display: flex !important; /* Force show links */
        position: static !important; /* Put them back in the navbar */
        flex-direction: row !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    .nav-links li {
        margin-left: 30px;
    }
}