/* --- Global Styles & Variables --- */
:root {
    --primary-color: #2A4B8D;
    --secondary-color: #1a1a1a;
    --text-color: #555;
    --heading-color: #222;
    --light-grey: #f9f9f9;
    --white: #ffffff;
    --border-color: #eaeaea;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
    background: var(--white);
    font-size: 16px;
}
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--heading-color); }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5em; }
a { text-decoration: none; color: var(--primary-color); transition: color 0.3s; }
a:hover { color: var(--heading-color); }
img { max-width: 100%; height: auto; }
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header span { text-transform: uppercase; font-weight: 600; color: #aaa; letter-spacing: 2px; font-size: 0.8em; display: block; }
.section-header h2 { margin: 10px 0 0 0; }

/* ==============================================
    UPDATED AND IMPROVED HEADER SECTION 
==============================================
*/
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0; 
    transition: all 0.4s ease-in-out; 
}
#main-header.scrolled, #main-header.solid-header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 0; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 60px; 
    transition: height 0.4s ease-in-out; 
}
#main-header.scrolled .logo img {
    height: 45px; 
}
#main-header nav ul {
    list-style: none;
    display: flex;
}
#main-header nav li {
    margin-left: 40px;
}
#main-header nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem; 
    text-transform: uppercase;
    letter-spacing: 1px; 
    position: relative;
    padding-bottom: 8px;
}
#main-header.scrolled nav a, #main-header.solid-header nav a {
    color: var(--heading-color);
}
#main-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
#main-header nav a:hover::after {
    width: 100%;
}
/* ==============================================
    END OF UPDATED HEADER SECTION 
==============================================
*/

/* --- Page Header (For internal pages) --- */
.page-header { padding: 180px 0 100px 0; text-align: center; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/page-header-bg.jpg') no-repeat center center/cover; color: var(--white); }
.page-header h1 { color: var(--white); }

/* --- Homepage Sections --- */
.hero-video-section { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff; padding: 0; }
#bgvideo { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); z-index: -2; }
.hero-video-section::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: -1; }
.hero-content h1 { font-size: 4rem; color: #fff; }
.hero-content p { font-size: 1.5rem; font-weight: 300; letter-spacing: 2px; }
.intro-section { text-align: center; background: var(--light-grey); }
.intro-section h2 { font-size: 2rem; max-width: 800px; margin: 0 auto 20px; }
.intro-section p { max-width: 700px; margin: 0 auto 30px; }
.btn-learn-more { font-weight: 600; letter-spacing: 1px; }

/* --- About Page --- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-image img { border-radius: 5px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.key-strengths-section { background: var(--light-grey); }
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }

/* --- Collections Page --- */
.collections-gallery-section .section-intro-text { text-align: center; max-width: 700px; margin: 0 auto 60px; font-size: 1.1rem; }
.gallery-grid-fullpage { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.gallery-item { display: block; position: relative; overflow: hidden; border-radius: 5px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: var(--white); }
.gallery-item-overlay h3 { color: var(--white); font-size: 2rem; }
.gallery-item-overlay span { font-weight: 600; letter-spacing: 1px; }

/* --- Single Collection Page --- */
.collection-detail-section .container { max-width: 900px; }
.collection-detail-section h2 { margin-bottom: 20px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.gallery-grid img { border-radius: 5px; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: flex-start; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-info p { font-size: 1.1rem; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 5px; font-family: var(--body-font); }
.btn-submit { display: inline-block; padding: 15px 30px; background: var(--primary-color); color: var(--white); border: none; border-radius: 5px; cursor: pointer; font-weight: 600; font-size: 1rem; transition: background-color 0.3s; }
.btn-submit:hover { background-color: var(--heading-color); }

/* --- WhatsApp & Footer --- */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 6px rgba(0,0,0,0.4); z-index: 100; transition: background-color 0.3s; }
.whatsapp-float:hover { background-color: #128C7E; }
.whatsapp-icon { margin-top: 13px; }
footer { background: var(--secondary-color); color: #a0a0a0; padding: 80px 0 0 0; }
footer .container { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; }
.footer-logo { height: 40px; margin-bottom: 20px; }
footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a { color: #a0a0a0; }
footer a:hover { color: #fff; }
.footer-bottom { text-align: center; padding: 20px 0; margin-top: 60px; border-top: 1px solid #333; font-size: 0.9em; }


/* ==============================================
    NEW! RESPONSIVE STYLES (MEDIA QUERIES)
==============================================
*/

/* This applies to all screens 900px wide or smaller (tablets and phones) */
@media (max-width: 900px) {
    /* Make grids stack into one column */
    .about-grid,
    .contact-grid,
    .strengths-grid,
    .gallery-grid,
    footer .container {
        grid-template-columns: 1fr; /* 1 column */
    }

    /* Make text smaller */
    h1, .hero-content h1 { font-size: 2.5rem; }
    h2, .intro-section h2, .contact-info h2 { font-size: 2rem; }

    /* Fix header for smaller screens */
    #main-header .container {
        flex-direction: column; /* Stack logo and nav vertically */
        padding-bottom: 10px;
    }
    #main-header nav ul {
        flex-direction: column; /* Stack nav items */
        align-items: center;
        margin-top: 15px;
    }
    #main-header nav li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    /* Add padding so text isn't touching the edge */
    section {
        padding: 60px 0;
    }
    .page-header {
        padding: 140px 0 60px 0;
    }
    
    /* Fix contact form stacking */
    .contact-grid {
        gap: 40px;
    }
}

/* This applies only to very small screens (phones) */
@media (max-width: 480px) {
    h1, .hero-content h1 { font-size: 2rem; }
    h2, .intro-section h2, .contact-info h2 { font-size: 1.8rem; }
    
    /* Make text in hero section smaller */
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Make gallery grid on collection page stack to 1 column */
    .gallery-grid-fullpage {
        grid-template-columns: 1fr;
    }

    /* Make whatsapp button smaller and less in-the-way */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        margin-top: 11px;
        width: 28px;
        height: 28px;
    }
}