:root {
    --primary-red: #AF2E1C;
    --secondary-orange: #EA580C;
    --dark-slate: #1E293B;
    --darker-slate: #0F172A;
    --light-gray: #F8FAFC;
    --medium-gray: #64748B;
    --border-gray: #E2E8F0;
    --white: #FFFFFF;
    --text-dark: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Top Bar */
.top-bar {
    background: var(--darker-slate);
    color: #fff;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.top-bar p {
    margin: 0;
    color: #fff;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background: #F4EFE9;
    color: var(--text-dark);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 36px;
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-gray);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    border: none;
}

.logo a:hover {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.logo img {
    height: clamp(50px, 8vw, 70px);
    width: auto;
    max-width: 100%;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--primary-red);
}

.order-now-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
}

.order-now-btn:hover {
    background: #8B2516;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background-image: url('../images/hero/Ember-Threads-67.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 220px 0 100px;
    position: relative;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-gradient-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, 
        #C8511B, 
        #EA580C, 
        #F97316, 
        #FB923C, 
        #F97316, 
        #EA580C, 
        #C8511B, 
        #AF2E1C,
        #C8511B, 
        #EA580C, 
        #F97316, 
        #FB923C);
    background-size: 200% 100%;
    z-index: 3;
    animation: gradientFlow 8s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
}

.hero-text {
    text-align: left;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--white);
    max-width: 600px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #8B2516;
    transform: translateY(-1px);
}

/* CTA Bar */
.cta-bar {
    background: linear-gradient(90deg, 
        #A83F0F, 
        #C44A09, 
        #D95E0E, 
        #E8843A, 
        #D95E0E, 
        #C44A09, 
        #A83F0F, 
        #8F240F,
        #A83F0F, 
        #C44A09, 
        #D95E0E, 
        #E8843A);
    background-size: 200% 100%;
    padding: 2rem 0;
    width: 100%;
}

.cta-bar-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

.cta-bar h2 {
    color: var(--white);
    font-size: 2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-bar-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-red);
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 2px solid var(--white);
}

.cta-bar-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Image Carousel */
.image-carousel {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--darker-slate);
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.carousel-slide {
    width: 500px;
    height: 300px;
    flex-shrink: 0;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: left;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.services-subtitle {
    text-align: left;
    font-size: 1.125rem;
    margin-bottom: 4rem;
    color: var(--medium-gray);
    font-weight: 400;
}

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

.service-card {
    background: var(--white);
    text-align: left;
    border: 1px solid var(--border-gray);
    border-radius: 0;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    min-height: 300px;
}

.service-image {
    flex: 0 0 45%;
    min-height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-icon svg,
.service-icon img {
    width: 48px;
    height: 48px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--text-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    background: var(--border-gray);
    border-color: var(--text-dark);
}

.filter-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 0;
    grid-auto-rows: 300px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--light-gray);
    border-left: 1px solid var(--white);
    border-right: 1px solid var(--white);
    border-top: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.hide {
    display: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    user-select: none;
    line-height: 1;
    padding: 1rem;
}

.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 3rem;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.125rem;
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
}

/* Featured Brands Section */
.featured-brands {
    padding: 100px 0;
    background: var(--light-gray);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.brand-card {
    background: var(--white);
    overflow: hidden;
    border: 1px solid var(--border-gray);
    transition: all 0.2s ease;
    height: 300px;
    position: relative;
    text-decoration: none;
    display: block;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.brand-card .external-link-icon {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.brand-card:hover .external-link-icon {
    opacity: 1;
}

.brand-card:hover .brand-name h4 {
    color: var(--primary-red);
}

.brand-image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--white);
}

.brand-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-name {
    padding: 1rem;
    text-align: center;
}

.brand-name h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

/* Industries Section */
.industries {
    padding: 100px 0;
    background: var(--white);
}

/* Color Guides Grid */
.color-guides-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.color-showcase-card {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--white);
    border: 1px solid var(--border-gray);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.color-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.color-showcase-card img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    display: block;
}

.color-showcase-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.color-showcase-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.color-showcase-content p {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Brand Tabs */
.brand-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border-gray);
}

.brand-tab {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--medium-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    font-family: 'Signika', sans-serif;
}

.brand-tab:hover {
    color: var(--text-dark);
    background: var(--light-gray);
}

.brand-tab.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.brand-content-wrapper {
    position: relative;
    min-height: 300px;
}

.brand-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.brand-content.active {
    display: block;
}

.product-subsection {
    margin-bottom: 3rem;
}

.product-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-gray);
}

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

.browse-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.browse-sidebar {
    position: sticky;
    top: 220px;
    align-self: start;
}

.filter-section {
    background: var(--white);
    border: 1px solid var(--border-gray);
    padding: 2rem;
}

.filter-header {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    font-family: 'Signika', sans-serif;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    background: var(--white);
    border: 1px solid var(--border-gray);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    border-radius: 0;
}

.filter-option:hover {
    background: var(--light-gray);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.filter-option.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.filter-option.active:hover {
    background: #8B2516;
    border-color: #8B2516;
    color: var(--white);
}

.products-list .brand-card-list,
.products-list .industry-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.products-list .brand-card-list.hidden,
.products-list .industry-item.hidden {
    display: none;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.products-list .industry-item {
    width: 100%;
    aspect-ratio: auto;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 2rem;
}

.products-list .industry-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.products-list .industry-item p {
    margin: 0;
    width: 100%;
    display: block;
}

.products-list .brand-card-list {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border-gray);
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
    overflow: hidden;
    min-height: 160px;
}

.products-list .brand-card-list:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.products-list .brand-image-list {
    width: 250px;
    min-width: 250px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--white);
}

.products-list .brand-image-list img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.products-list .brand-name-list {
    flex: 1;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.products-list .brand-name-list h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.products-list .brand-card-list:hover .brand-name-list h4 {
    color: var(--primary-red);
}

.products-list .brand-card-list .external-link-icon {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.products-list .brand-card-list:hover .external-link-icon {
    opacity: 1;
}

.industries-grid.single-item-grid {
    grid-template-columns: repeat(4, 1fr);
}

.industries-grid.single-item-grid .industry-item {
    grid-column: span 1;
}

.industry-item {
    background: var(--white);
    border: 1px solid var(--border-gray);
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    aspect-ratio: 1;
    min-height: 250px;
}

.industry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.industry-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.industry-item:hover h3 {
    color: var(--primary-red);
}

.external-link-icon {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.industry-item:hover .external-link-icon {
    opacity: 1;
}

.industry-item p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--border-gray);
    text-align: left;
}

.feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: var(--light-gray);
}

.reviews .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

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

.review-card {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--border-gray);
    border-radius: 0;
    text-align: center;
    transition: all 0.2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.review-stars {
    margin-bottom: 1.5rem;
}

.review-stars .star {
    font-size: 1.5rem;
    color: #FDB022;
    margin: 0 2px;
}

.review-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.review-author {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.verified-icon {
    color: #10B981;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content > h2 {
    text-align: center;
}

.contact-content > p {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: var(--medium-gray);
}

/* Quote Form */
.quote-form {
    margin: 3rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(197, 40, 61, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    transition: all 0.2s ease;
    position: relative;
}

.checkbox-label:hover {
    border-color: var(--primary-red);
    background: var(--light-gray);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    display: inline-block;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border: 2px solid var(--border-gray);
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: var(--white);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    transition: all 0.2s ease;
    position: relative;
    flex: 1;
}

.radio-label:hover {
    border-color: var(--primary-red);
    background: var(--light-gray);
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-gray);
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: var(--white);
}

.radio-label input[type="radio"]:checked ~ .radio-custom {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.radio-label input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.radio-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* File Dropzone */
.file-dropzone {
    border: 2px dashed var(--border-gray);
    background: var(--light-gray);
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.file-dropzone:hover,
.file-dropzone.dragover {
    border-color: var(--primary-red);
    background: var(--white);
}

.dropzone-content svg {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.dropzone-text {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.dropzone-browse {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: underline;
}

.dropzone-hint {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.dropzone-files {
    margin-top: 1rem;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    margin-top: 0.5rem;
}

.file-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-item-name {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.file-item-size {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

.file-item-remove {
    background: none;
    border: none;
    color: var(--primary-red);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-item-remove:hover {
    color: #8B2516;
}

/* Flash Message */
.form-flash-message {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-flash-message.success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.form-flash-message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.form-flash-message::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.form-flash-message.success::before {
    content: '✓';
    font-size: 16px;
    font-weight: bold;
}

.form-flash-message.error::before {
    content: '✕';
    font-size: 16px;
    font-weight: bold;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Steps */
.form-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Buttons */
.form-buttons {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    margin-top: 2rem;
}

.submit-button {
    width: 100%;
    margin-top: 2rem;
    padding: 16px 32px;
    font-size: 1.125rem;
    border: none;
    outline: none;
}

.back-button {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    margin-top: 2rem;
}

.back-button:hover {
    background: var(--light-gray);
    color: var(--primary-red);
}

.form-buttons .submit-button,
.form-buttons .back-button {
    margin-top: 0;
}

/* Contact Info Bar */
.contact-info-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-gray);
    flex-wrap: wrap;
}

.contact-item-inline {
    font-size: 0.95rem;
    color: var(--medium-gray);
}

.contact-item-inline strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Pre-Footer */
.pre-footer {
    background: var(--light-gray);
    padding: 60px 0;
    border-top: 1px solid var(--border-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a,
.footer-column p {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary-red);
}

/* Footer */
footer {
    background: var(--darker-slate);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

footer p {
    color: #94A3B8;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .top-bar-content {
        gap: 1rem;
    }

    .top-bar-content p:last-child {
        display: none;
    }

    .image-carousel {
        height: 200px;
    }

    .carousel-slide {
        width: 350px;
        height: 200px;
    }

    .hero {
        min-height: 500px;
        padding: 200px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .header-nav {
        gap: 1rem;
    }
    
    .cta-bar {
        padding: 1.5rem 0;
    }

    .cta-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cta-bar h2 {
        font-size: 1.5rem;
    }
    
    .cta-bar-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    nav ul {
        display: none;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .container {
        padding: 0 16px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-image {
        flex: 0 0 200px;
        min-height: 200px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
    }

    .gallery-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 3rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-caption {
        bottom: 15px;
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }

    .industries-grid,
    .industries-grid.single-item-grid {
        grid-template-columns: 1fr;
    }

    .color-guides-grid {
        grid-template-columns: 1fr;
    }

    .color-showcase-card {
        grid-column: span 1;
        grid-row: span 1;
    }

    .brand-tabs {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .products-list {
        gap: 1rem;
    }

    .products-list .industry-item {
        padding: 1.5rem;
    }

    .products-list .brand-card-list {
        flex-direction: column;
        min-height: auto;
    }

    .products-list .brand-image-list {
        width: 100%;
        min-width: auto;
        height: 140px;
        padding: 0.75rem 1.5rem;
    }

    .products-list .brand-name-list {
        padding: 1.5rem;
        justify-content: center;
    }

    .products-list .brand-name-list h4 {
        font-size: 1.25rem;
    }

    .brand-tab {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .industry-item {
        aspect-ratio: auto;
        min-height: auto;
    }

    .browse-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    .browse-sidebar {
        display: block;
        order: -1;
        position: relative;
        top: auto;
        margin-bottom: 2rem;
    }

    .filter-section {
        padding: 1.5rem;
        margin-bottom: 0;
    }

    .filter-header {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .filter-options {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .filter-option {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .radio-group {
        flex-direction: column;
    }

    .contact-info-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 2rem;
    }

    .form-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
    }

    .industries-grid,
    .industries-grid.single-item-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .color-guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .color-showcase-card {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .image-carousel {
        height: 150px;
    }

    .carousel-slide {
        width: 250px;
        height: 150px;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .order-now-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-image {
        flex: 0 0 200px;
        min-height: 200px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .service-icon svg,
    .service-icon img {
        width: 40px;
        height: 40px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}
