:root {
    --bg-color: #1a1a1a;
    --text-color: #f5f5f5;
    --accent-color: #D4AF37;
    --secondary-bg: #212121;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    background-color: var(--bg-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
}

section {
    padding: 5rem 0;
    width: 100%;
}

.text-gold {
    color: var(--accent-color);
}

/* Navbar - Floating Capsule "Model" */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    /* transform removed to prevent stacking context issue for fixed children */
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    padding: 0.5rem 1.5rem;
    /* Reduced horizontal padding */
    border-radius: 50px;
    transition: all var(--transition-speed);

    /* Glass Effect */
    background: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    top: 10px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.4rem 1.5rem;
    /* Slightly slimmer on scroll */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    height: 40px;
    /* Fixed height for the logo container */
    width: 140px;
    /* Fixed width to frame the text */
    overflow: hidden;
    /* Crop the excess whitespace */
}




.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

/* Portfolio Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: #ccc;
    font-style: italic;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.portfolio-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    /* Portrait format to match Instagram 4:5 ratio */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.portfolio-item:hover .overlay h3 {
    transform: translateY(0);
}

/* Services Section */
.services {
    background-color: var(--secondary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-color);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: #ccc;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form h2 {
    font-size: 2.5rem;
}

.contact-form p {
    margin-bottom: 2rem;
    color: #ccc;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Fix for dark calendar icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.contact-info {
    padding-top: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #ccc;
}

/* Footer */
footer {
    background: #000;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: #666;
    font-size: 0.9rem;
}

.social-links a {
    color: #666;
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        /* Align to right edge */
        top: 0;
        /* Cover full screen or start from top */
        padding-top: 80px;
        /* Space for navbar */
        flex-direction: column;
        background: rgba(26, 26, 26, 0.95);
        /* Slightly less transparent for readability */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        height: 100vh;
        /* Full height menu */
        text-align: center;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
        box-shadow: none;
        transform: translateX(100%);
        /* Move off-screen without affecting layout width */
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Prevent grid overflow on small screens */
    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img {
        order: -1;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-links a {
        margin: 0 0.8rem;
    }
}

/* Logo Image Style */
/* Logo Image Style */
.logo-img {
    height: 180px;
    /* Slightly reduced to fit better if aligning left */
    width: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    /* Align to left edge */
    transform: translateY(-50%);
    /* Only center vertically */
    /* Mix blend mode to handle background if present */
    filter: brightness(1.2) contrast(1.1);
    /* Slight boost, no invert */
    mix-blend-mode: normal;
    /* Remove screen blend if it's a transparent PNG */
    object-fit: contain;
    transition: all var(--transition-speed);
}

.navbar.scrolled .logo-img {
    height: 90px;
    /* Maintain proportion */
}