/* CSS Custom Properties (Variables) */
:root {
    --color-primary: #000;
    --color-secondary: #fff;
    --color-accent: #D4AF37; /* Brass/Gold for accents */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
}

/* ==================== BASE & RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem units */
}

body {
    font-family: var(--font-body);
    background: var(--color-secondary);
    color: var(--color-primary);
    text-align: center;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Headings and Text */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

/* ==================== NAVBAR ==================== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother transition */
}

.sticky-header.active {
    background-color: var(--color-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.menu-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.nav-logo img {
    height: 35px;
    width: auto;
}

/* Links (Desktop) */
.menu-links {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
    left: 0;
}

/* Hamburger (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Menu Media Query */
@media (max-width: 800px) {
    .hamburger {
        display: flex;
        order: 1; /* Move hamburger to the left for standard mobile layout */
    }

    .nav-logo {
        flex-grow: 1;
        text-align: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 55px; /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        background: var(--color-secondary);
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-links li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}


/* ==================== HERO ==================== */
.hero-wrapper {
    background-image: url('https://i.ibb.co/5xvgHCss/aod-Hero-Back.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-sm);
}

.coming-soon {
    max-width: 900px;
    color: var(--color-secondary);
    padding: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.15); /* Subtle overlay for text readability */
    border-radius: 8px;
}

.logo img {
    max-width: 180px;
    margin: 0 auto 2.5rem;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 4.5rem);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ==================== CRAFTSMANSHIP ==================== */
.craftsmanship-section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.section-title span {
    display: inline-block;
    padding: 0 0.1em;
    margin-bottom: 0.5rem; /* Space between lines on mobile */
}

.section-title .m-box {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 0 0.3em;
    display: inline-block;
}

/* Image Grid */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    max-width: 1300px;
    margin: 0 auto 4rem;
}

.grid-item {
    flex: 0 0 auto; /* Stop items from growing/shrinking too much */
    width: calc(25% - 15px); /* Four items per row */
    aspect-ratio: 1 / 1.35; /* Slightly taller than square */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}


/* Craftsmanship Media Queries */
@media (max-width: 1024px) {
    .grid-item {
        width: calc(50% - 10px); /* Two items per row */
        aspect-ratio: 1 / 1.1; /* Adjust aspect ratio for two-column layout */
    }
}

@media (max-width: 600px) {
    .grid-item {
        width: 100%; /* Full width on small phones */
        max-width: 350px;
        aspect-ratio: 1 / 1.2;
    }
    .craftsmanship-section {
        padding: 4rem 1rem;
    }
}

footer {
    background: #111;
    color: #f0f0f0;
    padding: 2rem var(--spacing-sm);
    text-align: center;
    font-size: 0.9rem;
}

.contact {
    margin-bottom: 1rem;
}

.contact p {
    color: #bbb;
}

.social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social a img {
    width: 25px;
    height: auto;
    filter: invert(1) grayscale(50%); /* Subtle white/gray icons */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social a img:hover {
    filter: invert(1) grayscale(0) drop-shadow(0 0 5px var(--color-accent)); /* Brighten on hover */
    transform: scale(1.1);
}

/* Specific hover effect for YouTube to show brand red */
.social a[href*="youtube"] img:hover {
    filter: invert(11%) sepia(95%) saturate(7440%) hue-rotate(355deg) brightness(105%) contrast(109%);
}


/* ==================== ABOUT SECTION (Image Reference Layout) ==================== */
.about-section {
    /* Set a minimum height for the section to ensure the image is prominent */
    min-height: 80vh; 
    padding: 0;
    text-align: left;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center; /* Vertically center the content block */
}

.about-layout-container {
    display: flex;
    width: 100%;
    /* Max width helps keep the content contained and readable */
    max-width: 1400px; 
    margin: 0 auto;
}

/* Left Column: Image (Approx. 60% width) */
.about-image-column {
    flex: 0 0 60%; /* Fixed width */
    position: relative;
    /* This uses the section's height to define the image container's height */
    min-height: 80vh;
    margin-bottom: 60px;
}

.about-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the space without distortion */
    display: block;
}

/* Right Column: Text Content (Approx. 40% width) */
.about-text-column {
    flex: 0 0 40%;
    background-color: var(--color-secondary);
    /* Padding to create visual space from the edges and content */
    padding: var(--spacing-lg) 5%; 
    display: flex;
    align-items: center; /* Vertically centers the text block inside its column */
}

.text-content-inner {
    max-width: 450px; /* Constraints text width for readability */
}

/* Subtitle and Accent Square */
.about-subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.accent-square {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--color-primary); /* Black square */
    margin-right: 0.5rem;
}

.about-subtitle p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #555;
    text-transform: uppercase;
}

/* Main Heading */
.about-main-title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

/* Body Text */
.about-body-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* --- Responsive Adjustments for Mobile and Tablet --- */

@media (max-width: 1024px) {
    /* Stack the columns vertically on tablets */
    .about-layout-container {
        flex-direction: column;
    }

    /* Full width for both columns */
    .about-image-column,
    .about-text-column {
        flex: 0 0 100%;
        min-height: auto;
    }
    
    /* Give the image a fixed, visible height */
    .about-image-column {
        height: 60vh;
    }

    /* Adjust padding on the text block for better mobile reading */
    .about-text-column {
        padding: var(--spacing-lg) var(--spacing-md);
        text-align: center;
    }

    /* Center the text content on mobile */
    .text-content-inner {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-subtitle {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .about-image-column {
        height: 50vh; /* Slightly smaller image on small phones */
    }
    .about-main-title {
        font-size: 2.5rem;
    }
}

/* MODERN SOCIAL CTA */
.modern-social-cta {
    background: linear-gradient(135deg, #fefefe 0%, #f2f2f2 100%);
    padding: 6rem 1rem;
    text-align: center;
}

.modern-social-cta .cta-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.modern-social-cta .cta-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.modern-social-cta .cta-heading::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--color-accent);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.modern-social-cta .cta-subtext {
    color: #555;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* CTA Cards Container */
.modern-social-cta .cta-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Base Card Styling */
.modern-social-cta .cta-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    min-width: 250px;
}

/* Instagram Card */
.modern-social-cta .insta-card {
    background: linear-gradient(135deg, #000000, #333333);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modern-social-cta .insta-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* WhatsApp Card */
.modern-social-cta .whatsapp-card {
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.modern-social-cta .whatsapp-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Icon inside card */
.modern-social-cta .cta-card .cta-icon svg {
    width: 28px;
    height: 28px;
}

/* Responsive Adjustments */
@media (max-width: 650px) {
    .modern-social-cta .cta-cards {
        flex-direction: column;
        gap: 1.5rem;
    }

    .modern-social-cta .cta-card {
        width: 80%;
        max-width: 350px;
        justify-content: center;
    }
}
