/* ==========================================================================
   Brand hub styles, copied verbatim from the inline <style> in cambria/index.php
   so brands/brand.php matches /cambria/. Load after /css/site-v2.css.
   ========================================================================== */
/* Cambria Page Specific Styles */
.brand-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.brand-hero .hero-background {
    position: absolute;
    inset: 0;
}

.brand-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.brand-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 23, 35, 0.85) 0%, rgba(22, 23, 35, 0.6) 100%);
}

.brand-hero .hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
}

.brand-hero .hero-content {
    max-width: 650px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(253, 185, 19, 0.15);
    border: 1px solid rgba(253, 185, 19, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.brand-hero h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.brand-hero h1 span {
    color: var(--color-accent);
}

.brand-hero .hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.brand-hero .hero-form-wrapper {
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.brand-hero .hero-form-wrapper h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.brand-hero .form-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.brand-hero .form-subtitle a {
    color: var(--color-accent);
    font-weight: 600;
}

.brand-hero .contact-form .form-group {
    margin-bottom: 1rem;
}

.brand-hero .contact-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.375rem;
}

.brand-hero .contact-form input,
.brand-hero .contact-form textarea,
.brand-hero .contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.2s ease;
}

.brand-hero .contact-form input:focus,
.brand-hero .contact-form textarea:focus,
.brand-hero .contact-form select:focus {
    outline: none;
    border-color: var(--color-accent);
}

@media (max-width: 968px) {
    .brand-hero .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-hero .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .brand-hero .hero-form-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
}

/* Why Cambria Section */
.why-cambria {
    padding: 5rem 0;
    background: #fff;
}

.why-cambria-header {
    text-align: center;
    margin-bottom: 3rem;
}

.why-cambria-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.why-cambria-header p {
    color: var(--color-gray);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

.why-cambria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.why-card h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-cambria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-cambria-grid {
        grid-template-columns: 1fr;
    }
}

/* Popular Designs Section */
.popular-designs {
    padding: 5rem 0;
    background: var(--color-light);
}

.popular-designs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.popular-designs-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.designs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.design-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.design-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.design-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.design-card:hover .design-card-image img {
    transform: scale(1.05);
}

.design-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.design-card-content {
    padding: 1.25rem;
}

.design-card h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.design-card p {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.design-card .btn-outline {
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {
    .designs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .designs-grid {
        grid-template-columns: 1fr;
    }
}

/* Design Categories */
.design-categories {
    padding: 5rem 0;
    background: #fff;
}

.categories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.categories-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

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

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.category-card h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* All Designs Grid */
.all-designs {
    padding: 5rem 0;
    background: var(--color-light);
}

.all-designs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.all-designs-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.all-designs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.mini-design-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.mini-design-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mini-design-card-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.mini-design-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-design-card-content {
    padding: 0.75rem;
    text-align: center;
}

.mini-design-card h4 {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0;
}

@media (max-width: 1024px) {
    .all-designs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .all-designs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .all-designs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #fff;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--color-primary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section-full {
    padding: 5rem 0;
    background: var(--color-primary);
    text-align: center;
}

.cta-section-full h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section-full p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
