/*
================================================
GUILD - Final Display Website Theme
================================================
*/

/* --- 1. Global Styles & Variables --- */
:root {
    --bg-color: #FFFFFF;
    --text-color: #1a1a1a;
    --accent-color: #7A2E2E;  /* Gold Accent */
    --light-gray: #f2f2f2;
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* --- 2. Reusable Components --- */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: fixed; top: 0; left: 0;
    width: 100%;
    z-index: 100;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-img img { height: 35px; }
.main-nav ul { list-style: none; display: flex; gap: 2rem; }
.main-nav a { font-weight: 500; font-size: 1rem; transition: color 0.3s; }
.main-nav a:hover, .main-nav a.active { color: var(--accent-color); }

.main-footer {
    background-color: var(--light-gray);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.btn {
    display: inline-block; padding: 12px 30px; border-radius: 8px;
    font-weight: 700; text-transform: uppercase; font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-primary { background-color: var(--accent-color); color: #fff; }
.btn-primary:hover { background-color: #b9902c; }
.btn-secondary { background-color: #fff; color: var(--text-color); border: 1px solid var(--text-color); }
.btn-secondary:hover { background-color: var(--text-color); color: #fff; }

.site-section { padding: 7rem 0; }
.section-shaded { background-color: var(--light-gray); }
.section-title, .collection-title {
    font-size: 2.2rem; font-weight: 900; text-align: center;
    margin-bottom: 3rem; text-transform: uppercase;
}
.page-intro { text-align: center; margin-bottom: 3rem; }
.page-intro h1 { font-size: 3rem; font-weight: 900; margin-bottom: 1rem; text-transform: uppercase; }
.page-intro p { font-size: 1.2rem; font-weight: 400; max-width: 700px; margin: 0 auto; color: #555; }

/* --- 3. Page-Specific Styles --- */

/* Homepage */
.hero-dynamic {
    height: 100vh; position: relative; display: flex;
    align-items: center; justify-content: center; text-align: center;
    color: #fff; overflow: hidden;
}
.hero-dynamic::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.hero-background-swiper {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; z-index: 1;
}
.hero-background-swiper .swiper-slide { background-size: cover; background-position: center; }
.hero-content { position: relative; z-index: 3; }
.hero-content h1 { font-size: 3.5rem; font-weight: 900; }
.hero-content p { font-size: 1.2rem; margin-top: 1rem; }

.hype-message { padding: 5rem 0; background-color: var(--text-color); color: var(--bg-color); }
.hype-message h2 { font-size: 2.5rem; font-weight: 700; text-align: center; max-width: 800px; margin: 0 auto; }
.hype-message .hype-subtext {
    font-size: 1.1rem; font-weight: 400; max-width: 700px; margin: 2rem auto 0 auto;
    opacity: 0.8; line-height: 1.7; font-style: italic; letter-spacing: 0.5px;
    padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.style-showcase { padding: 5rem 0; }
.style-collection { margin-bottom: 5rem; }
.style-swiper .swiper-slide { height: 450px; border-radius: 10px; overflow: hidden; }
.style-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

/* About Page */
.about-hero {
    min-height: 50vh; display: flex; align-items: center; justify-content: center;
    text-align: center; background-color: var(--text-color); color: var(--bg-color);
    padding: 4rem 20px;
}
.about-hero h1 { font-size: 3.5rem; font-weight: 900; }
.about-hero p { font-size: 1.2rem; margin-top: 1.5rem; max-width: 800px; margin-left: auto; margin-right: auto; opacity: 0.9; }
.founders-swiper .swiper-slide { height: auto; background-color: var(--bg-color); }
.founder-card { border: 1px solid #eee; border-radius: 10px; overflow: hidden; text-align: center; }
.founder-card img { width: 100%; height: 350px; object-fit: cover; display: block; }
.founder-card .founder-info { padding: 1.5rem; }
.founder-card .founder-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.founder-card .founder-designation { font-size: 0.9rem; color: var(--accent-color); font-weight: 500; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.founder-card .founder-description { font-size: 0.9rem; line-height: 1.6; color: #666; }

/* Journal Page */
.journal-content { max-width: 800px; margin: 0 auto; }
.journal-content h3 { font-size: 1.8rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.journal-content h3:first-child { margin-top: 0; }
.journal-content p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 1.5rem; color: #555; }
.journal-content .signature { font-style: italic; text-align: right; color: var(--text-color); }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info h2, .contact-form-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; }
.contact-detail { margin-bottom: 2rem; }
.contact-detail h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-detail p, .contact-detail a { font-size: 1.1rem; color: #555; text-decoration: none; transition: color 0.3s ease; }
.contact-detail a:hover { color: var(--accent-color); }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px; font-family: var(--font-main); font-size: 1rem;
    border: 1px solid #ddd; border-radius: 8px; background-color: #fff;
    transition: border-color 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-color); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { width: 100%; }
.contact-form button.btn-secondary:hover { background-color: var(--accent-color); border-color: var(--accent-color); color: #fff; }

/* Collaborations Page */
.case-study { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 4rem; }
.case-study:nth-child(even) .case-study-image { order: 2; }
.case-study img { width: 100%; border-radius: 10px; }
.case-study-info h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.case-study-info p { margin-bottom: 1.5rem; color: #555; }
.case-study-info ul { list-style-position: inside; padding-left: 0; }
.case-study-info li { margin-bottom: 0.5rem; }
.press-logos { display: flex; justify-content: space-around; align-items: center; gap: 20px; filter: grayscale(100%) opacity(60%); }
.press-logos img { max-height: 40px; }
.influencer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.influencer-grid img { width: 100%; border-radius: 10px; aspect-ratio: 1/1; object-fit: cover; }
.value-prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-prop-item { background-color: var(--text-color); color: var(--bg-color); padding: 2rem; border-radius: 10px; text-align: center; }
.value-prop-item h4 { font-size: 1.2rem; margin-bottom: 1rem; }
.value-prop-item p { color: rgba(255, 255, 255, 0.8); font-size: 1rem; }
.b2b-form-wrapper { background-color: var(--text-color); }
.b2b-form-wrapper .page-intro h1, .b2b-form-wrapper .page-intro p, .b2b-form-wrapper .contact-form label { color: var(--bg-color); }
.b2b-form-wrapper .contact-form input, .b2b-form-wrapper .contact-form select, .b2b-form-wrapper .contact-form textarea {
    background-color: #333; border-color: #555; color: var(--bg-color);
}
.b2b-form { max-width: 800px; margin: 2rem auto 0 auto; }
.b2b-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.b2b-form select {
    width: 100%; padding: 12px; font-family: var(--font-main); font-size: 1rem;
    border: 1px solid #ddd; border-radius: 8px; background-color: #fff;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
.b2b-form button { margin-top: 1rem; }

/* --- 4. Responsive Design --- */
.mobile-menu-toggle { display: none; background: none; border: none; z-index: 1001; }
.mobile-menu-toggle .bar { display: block; width: 25px; height: 3px; margin: 5px 0; background-color: var(--text-color); }

@media (min-width: 1024px) {
    .founders-swiper { max-width: 900px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 1024px) {
    /* No tablet-specific styles needed for this version beyond what mobile covers */
}
@media (max-width: 768px) {
    /* Header & Nav */
    .main-header { background: #fff; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .main-header .container { position: relative; justify-content: center; }
    .mobile-menu-toggle { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
    .main-nav ul { flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 1rem; }
    body.nav-open .main-nav {
        display: flex; position: fixed; top: 0; left: 0;
        width: 100%; height: 100vh; background: #fff;
        align-items: center; justify-content: center;
    }

    /* General Mobile Styles */
    .site-section { padding: 4rem 0; }
    .section-title, .collection-title, .page-intro h1 { font-size: 1.8rem; }
    .page-intro p { font-size: 1rem; }
    
    /* Page-specific Mobile Styles */
    .hero-content h1, .about-hero h1 { font-size: 2.2rem; }
    .hype-message { padding: 4rem 0; }
    .hype-message h2 { font-size: 1.8rem; }
    .hype-message .hype-subtext { font-size: 1rem; }
    
    .case-study, .value-prop-grid, .b2b-form .form-grid, .contact-grid { grid-template-columns: 1fr; }
    .case-study:nth-child(even) .case-study-image { order: 1; }
    .influencer-grid { grid-template-columns: 1fr 1fr; }
    .press-logos { flex-wrap: wrap; justify-content: center; }
}
/* Contact Page - Full Dark Section */
.contact-section-dark {
    background-color: var(--text-color);
}

/* Update all text within the dark section to be light */
.contact-section-dark h2,
.contact-section-dark h4,
.contact-section-dark label {
    color: var(--bg-color); /* White */
}

.contact-section-dark .contact-detail p,
.contact-section-dark .contact-detail a {
    color: rgba(255, 255, 255, 0.8); /* Off-white for readability */
}

.contact-section-dark .contact-detail a:hover {
    color: var(--accent-color); /* Gold on hover */
}

/* Update form fields for the dark background */
.contact-section-dark .contact-form input,
.contact-section-dark .contact-form textarea {
    background-color: #333;
    border-color: #555;
    color: var(--bg-color);
}

/* About Page - Vertical Founders Grid */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr; /* A single column */
    gap: 30px; /* Space between the cards */
    max-width: 500px; /* This is the key line that prevents it from stretching */
    margin: 0 auto;   /* This is the key line that centers it */
}