/* Global Styles */
:root {
    --primary-color: #D4AF37;
    /* Muted Gold */
    --secondary-color: #333333;
    /* Charcoal */
    --text-dark: #222222;
    --text-light: #fefefe;
    --background-color: #ffffff;
    --background-accent: #f9f9f9;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Lighter weight for elegance */
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.section-header p {
    color: #777;
    font-weight: 300;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    /* Initially dark for contrast on light BG or check hero */
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo .dot {
    color: var(--primary-color);
}


.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

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

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: #fff;
    color: var(--secondary-color);
}

/* About Section */
.about {
    background-color: var(--background-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 20px 20px 0 var(--background-accent);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-weight: 300;
}

.signature {
    margin-top: 20px;
    max-height: 60px;
    opacity: 0.7;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--background-accent);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 400px;
    /* Fixed height for consistency */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cover entire item */
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay .text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
}

.center-btn {
    text-align: center;
    margin-top: 50px;
}

.btn-text {
    color: var(--secondary-color);
    font-weight: 500;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-text:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}


/* Services Section */
.services {
    background-color: #fff;
    text-align: center;
}

.divider-center {
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 250px;
    padding: 40px 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 500;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 300;
}

/* CTA Section */
.cta {
    background: url('assets/cta_bg.jpg') no-repeat center center/cover;
    position: relative;
    text-align: center;
    color: #fff;
    padding: 100px 20px;
    background-attachment: fixed;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 2px;
}

.btn-primary:hover {
    background-color: #c19b2e;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-col h4 {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #aaa;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 300;
}

.social-links a {
    color: #aaa;
    font-size: 1.2rem;
    margin-right: 15px;
}

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

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .divider {
        margin: 0 auto 30px;
    }

    .services-grid {
        flex-direction: column;
    }
}