:root {
    --accent-color: #D4AF37; /* Gold */
    --light-accent-color: #F0D57F; /* Lighter Gold */
    --image-bg-color: #f7e0c9; /* Light cream for image backdrop */
    --nav-height: 75px;
}

/* Universal Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* General Body Styles */
body {
    background-color: #1d0b09;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    transition: padding-top 0.3s ease;
}

body.sticky-nav-active {
    padding-top: var(--nav-height);
}

/* Site Container */
.site-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    background-color: rgba(30, 15, 12, 0.8);
}

/* Header Styles */
.site-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #684738;
}

.logo-img {
    width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.logo-text {
    font-family: 'Nova Oval', sans-serif;
    font-size: clamp(2.5em, 5vw, 3em);
    margin: 0;
    color: #FFFFFF;
    letter-spacing: 2px;
}

.tagline {
    font-size: clamp(1em, 2.5vw, 1.1em);
    color: #cfad92;
    margin-top: 10px;
}

/* Navigation */
.main-nav {
    margin-bottom: 40px;
    padding: 15px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1d0b09;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    height: var(--nav-height);
    justify-content: space-between;
    padding: 10px 20px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-nav a {
    color: #cfad92;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.main-nav a:hover {
    color: var(--light-accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    height: 44px; 
    width: 44px; 
    display: none; 
    justify-content: center;
    align-items: center;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 100%;
    height: 3px;
    background-color: var(--light-accent-color);
    border-radius: 3px;
    position: absolute;
    left: 0; 
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
    transition-delay: 0.1s;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Hamburger Animation */
.hamburger[aria-expanded="true"] .hamburger-inner {
    transition-delay: 0s;
    background-color: transparent;
}
.hamburger[aria-expanded="true"] .hamburger-inner::before {
    transform: translateY(10px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-inner::after {
    transform: translateY(-10px) rotate(-45deg);
}

/* Projects Container */
.projects-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto 60px auto;
    scroll-margin-top: calc(var(--nav-height) + 30px);
}

/* Individual Project Row Styles */
.project-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #684738;
    border: 2px solid #cfad92;
    border-radius: 15px;
    overflow: hidden;
    padding: 25px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.project-image {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    height: 200px;
    background-color: var(--image-bg-color);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.project-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.project-details {
    flex: 2;
    padding-left: 30px;
    text-align: left;
    color: #FFFFFF;
}

.project-details h3 {
    font-family: 'Nova Oval', sans-serif;
    color: var(--light-accent-color);
    font-size: clamp(1.8em, 4vw, 2em);
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
}

.project-details p {
    font-size: clamp(1em, 2.5vw, 1.1em);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Project Action Buttons */
.project-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: #1d0b09;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.button:hover {
    background-color: var(--light-accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.button-secondary {
    background-color: transparent;
    color: var(--light-accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: none;
}

.button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-color: var(--light-accent-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.button-disabled {
    background-color: #444;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    border: none;
}

.button-disabled:hover {
    background-color: #444;
    transform: none;
    box-shadow: none;
}

/* About and Contact Sections */
.about-section, .contact-section {
    background-color: #684738;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
    line-height: 1.6;
    color: #FFFFFF;
    scroll-margin-top: calc(var(--nav-height) + 30px);
}

.about-section h2, .contact-section h2 {
    font-family: 'Nova Oval', sans-serif;
    color: var(--accent-color);
    font-size: clamp(1.8em, 5vw, 2em);
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.about-section p, .contact-section p {
    font-size: clamp(1em, 2.5vw, 1.1em);
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.contact-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.contact-section li {
    font-size: 1.1em;
    color: #FFFFFF;
}

.contact-section a {
    color: #cfad92;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: var(--light-accent-color);
}

/* Footer Styles */
.site-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #684738;
    color: #cfad92;
    font-size: 0.9em;
}

.site-footer p {
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .project-row {
        flex-direction: column;
        padding: 20px;
    }

    .project-image {
        min-width: unset;
        max-width: 80%;
        height: auto;
        margin-bottom: 25px;
    }

    .project-image img {
        height: 150px;
        max-height: 150px;
    }

    .project-details {
        padding-left: 0;
        text-align: center;
    }

    .project-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .site-container {
        padding: 15px;
    }

    .logo-img { width: 130px; }
    .tagline { margin-bottom: 0; }

    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .main-nav {
        margin-bottom: 30px;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        min-height: 44px;
    }
    
    .main-nav.sticky {
        padding-right: 20px;
        padding-left: 20px;
        justify-content: flex-end;
    }

    .main-nav > ul {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: #1d0b09;
        flex-direction: column;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        padding: 0;
        gap: 0;
    }
    
    .main-nav ul.show {
        display: flex;
    }
    
    .main-nav ul a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #684738;
        text-align: center;
    }
    
    .main-nav ul a:hover {
        border-bottom-color: var(--accent-color);
        background-color: rgba(255,255,255,0.05);
    }
    
    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .projects-container, .about-section, .contact-section {
        max-width: 100%;
        margin-bottom: 30px;
        padding: 20px;
    }
    
    .contact-section ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .project-row {
        padding: 15px;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 100%;
    }

    .project-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}