/* Base and Variables */
:root {
    --bg-color: #faf9f6;
    --dark-color: #1a1a1a;
    --gold-color: #c5a059; /* Your primary gold color */
    --gold-hover: #a88544;
    --text-light: #f4f4f4;
    --text-dark: #333333;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    /* CHANGE 1: Define the new script font variable */
    --font-script: 'Pacifico', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--bg-color); overflow-x: hidden; }

/* Typography */
h1, h2, h3 { font-family: var(--font-head); color: var(--dark-color); font-weight: 700; }
p { line-height: 1.8; margin-bottom: 1.5rem; font-size: 1.05rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }

/* Dividers */
.divider { width: 60px; height: 3px; background: var(--gold-color); margin: 1.5rem 0; }
.divider.center { margin: 1.5rem auto; }

/* Navigation (Glassmorphism) */
#navbar {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    transition: all 0.4s ease;
    padding: 2.5rem 0; /* INCREASED: This makes the initial bar taller */
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 2.3rem 0; /* INCREASED: This keeps the bar slightly taller even after scrolling */
}

/* Navigation Container Redesign */
.nav-container { 
    display: flex; 
    justify-content: flex-end; /* Pushes the normal document flow (the links) to the right */
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 5%; 
    position: relative; /* Establishes the boundary for the absolutely positioned logo */
}

/* Absolute Centering for the Logo */
.logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Pulls the logo back exactly by half its own width for true centering */
    display: flex;
    align-items: center;
    z-index: 10; /* Ensures the logo always remains clickable above other elements */
}

/* Top Navigation Logo Appearance */
.site-logo { 
    height: 140x; 
    width: auto; 
    object-fit: contain; 
    transition: transform 0.3s ease; /* Adds a subtle smooth scaling effect when the layout shifts */
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 2.5rem; /* Slightly increased gap for a more breathable, premium layout on the right */
    margin: 0;
    padding: 0;
}
.nav-links a { text-decoration: none; color: var(--dark-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold-color); }

/* CHANGE 2: Enlarge the Main Site Logo */
.site-logo { 
    height: 150px; 
    width: auto; 
    object-fit: contain; 
    /* THIS IS THE GLOW EFFECT */
    /* filter: drop-shadow(20px 20px 20px rgba(255, 255, 255, 0.4)); 
    /* To make it white instead of gold, use: rgba(255, 255, 255, 0.4) */
    /* To make it pure black instead, use: rgba(0, 0, 0, 0.8) */ 
}

/* CHANGE 3: Enlarge the Footer Logo as well */
.footer-logo { 
    height: 200px; /* Increased from 30px */
    margin-bottom: 0.5rem; 
filter: drop-shadow(2px 0px 0px #ffffff) 
            drop-shadow(-2px 0px 0px #ffffff) 
            drop-shadow(0px 2px 0px #ffffff) 
            drop-shadow(0px -2px 0px #ffffff);}


/* Hero Section */
.hero {
    height: 100vh; display: flex; align-items: center; position: relative;
    background-color: var(--dark-color);
    /* OPTIONAL: You can set your large background image here */
    background: url('main-banner.jpg') center/cover no-repeat fixed; */
}
.hero-content { position: relative; z-index: 1; text-align: center; color: var(--text-light); max-width: 800px; margin: 0 auto; padding: 0 5%; }
.hero-content h1 { color: var(--gold-color); font-size: 4.5rem; margin-bottom: 1rem; letter-spacing: 2px; }
.hero-content p { 
    font-size: 1.2rem; 
    font-weight: 300; 
    color: #000000; /* ADD THIS LINE: Replace #cccccc with any color code you want */
}
/* CHANGE 4: Define a unique font for the "Souvenir Factory" title in the hero */
.hero-content h1.script-font {
    font-family: var(--font-script);
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 400; /* ADD THIS LINE: Use 300 for thinner, 400 for normal, or 700/800 for thicker */
}
}

/* CHANGE 5: Define a utility class for gold text in the hero */
.gold-text {
    color: var(--gold-color);
}

/* CHANGE 6: General Reset - Remove Shadows on Hero and Text for a Flat Design */
.hero-content, .hero-content * {
    text-shadow: none !with shadow; /* Completely Flat */
    box-shadow: none;
}

.hero-overlay { display: none !with transparent overlay; } /* Transparent Overlay class from previous CSS, set to display:none */


/* Buttons */
.btn { display: inline-block; padding: 1rem 2.5rem; border: none; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; }
.btn-primary { background: transparent; border: 2px solid var(--gold-color); color: var(--gold-color); }
.btn-primary:hover { background: var(--gold-color); color: var(--text-light); }
.btn-gold { background: var(--gold-color); color: var(--text-light); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-dark { background: var(--dark-color); color: var(--text-light); }
.btn-dark:hover { background: #333; }

/* Layout Grid */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* About Visuals */
.image-frame {
    width: 100%; padding-bottom: 120%; position: relative;
    background: #e9e9e9; border-radius: 4px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.placeholder-visual { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #888; font-weight: 600; letter-spacing: 1px; }

/* Catalogue Section */
.catalogue { background: var(--dark-color); color: var(--text-light); }
.catalogue h2 { color: var(--text-light); font-size: 2.5rem; }
.catalogue-desc { max-width: 700px; margin: 0 auto 3rem auto; color: #ccc; }
.catalogue-form-wrapper { max-width: 600px; margin: 0 auto; background: rgba(255,255,255,0.05); padding: 3rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }

/* Forms */
.custom-form { display: flex; flex-direction: column; gap: 1.5rem; }
.input-group { display: flex; gap: 1rem; }
.custom-form input, .custom-form textarea { width: 100%; padding: 1rem; border: 1px solid #ddd; background: #fff; font-family: var(--font-body); outline: none; transition: border 0.3s; border-radius: 4px; }
.custom-form input:focus, .custom-form textarea:focus { border-color: var(--gold-color); }
.catalogue-form-wrapper input { background: rgba(255,255,255,0.9); border: none; }

/* Contact Section */
.info-list { list-style: none; margin-top: 2rem; }
.info-list li { margin-bottom: 1rem; font-size: 1.1rem; }
.info-list strong { color: var(--gold-color); font-weight: 600; margin-right: 0.5rem; }

/* Footer */
footer { background: #111; color: #666; text-align: center; padding: 2rem 0 1rem; }

/* Animations */
.opacity-0 { opacity: 0; }
.fade-in-up { transform: translateY(30px); opacity: 0; transition: 0.8s all ease-out; }
.slide-in-left { transform: translateX(-50px); opacity: 0; transition: 0.8s all ease-out; }
.slide-in-right { transform: translateX(50px); opacity: 0; transition: 0.8s all ease-out; }

.is-visible { transform: translate(0); opacity: 1; }

/* Responsive */
/* Responsive Viewport Management */
@media (max-width: 900px) {
    /* Revert the navigation container to standard flexbox behavior for small screens */
    .nav-container {
        justify-content: center;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 5%;
    }

    /* Remove the absolute positioning to prevent viewport clipping */
    .logo-link {
        position: relative;
        left: 0;
        transform: none;
    }

    /* Shrink the logo slightly for mobile constraints */
    .site-logo {
        height: 90px;
    }

    /* Center the navigation links beneath the logo */
    .nav-links { 
        display: flex; 
        justify-content: center;
        width: 100%;
        gap: 1.5rem;
    }
    
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .hero-content h1 { font-size: 3rem; }
    .input-group { flex-direction: column; }
}