/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Gold Shimmer Animation */
@keyframes goldShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626 0%, #991b1b 50%, #dc2626 100%);
    animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    color: #2d3748;
}

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

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

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2b6cb0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626 0%, #991b1b 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #dc2626;
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #f8fafc;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.85) contrast(1.1);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.55) 100%);
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { 
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.85) 0%, rgba(26, 54, 93, 0.8) 50%, rgba(0, 0, 0, 0.7) 100%);
    }
    50% { 
        background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(220, 38, 38, 0.85) 50%, rgba(0, 0, 0, 0.7) 100%);
    }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}


.btn-primary:hover {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}


.btn-secondary:hover {
    color: #dc2626;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
    position: relative;
    overflow: hidden;
}


.btn-outline:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}


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

.feature-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.1);
}


.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 50px;
    height: 50px;
    color: #dc2626;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item:hover .feature-icon svg {
    color: #991b1b;
    transform: rotate(5deg);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-item p {
    color: #718096;
    line-height: 1.6;
}

.feature-timely .hour-hand,
.feature-timely .minute-hand {
    transform-origin: 12px 12px;
}

.feature-timely:hover .hour-hand { animation: rotateHour 12s linear infinite; }
.feature-timely:hover .minute-hand { animation: rotateMinute 6s linear infinite; }

/* Durable: subtle bounce */
.feature-durable:hover .feature-icon svg { animation: bounceIcon 0.9s ease; }
@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    70% { transform: translateY(0); }
}

/* Expert Installation: gentle wiggle of the wrench/mark */
.feature-expert:hover .feature-icon svg { animation: wiggleIcon 0.6s ease; }
@keyframes wiggleIcon {
    0%, 100% { transform: rotate(0deg); }
    30% { transform: rotate(-6deg); }
    60% { transform: rotate(6deg); }
}

/* Quality Guarantee: pulse to emphasize badge */
.feature-quality:hover .feature-icon svg { animation: pulseIcon 0.9s ease; }
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes rotateHour {
    to { transform: rotate(360deg); }
}

@keyframes rotateMinute {
    to { transform: rotate(720deg); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #991b1b 100%);
    border-radius: 2px;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

.section-subtitle {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.project-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(220, 38, 38, 0.1);
}


.project-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.3);
}

.project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 300px;
    position: relative;
}

.project-before,
.project-after {
    position: relative;
    overflow: hidden;
}

.project-before img,
.project-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(1) contrast(1);
}

.project-item:hover .project-before img,
.project-item:hover .project-after img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

.project-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.project-item:hover .project-label {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.project-info p {
    color: #718096;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #f7fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(220, 38, 38, 0.1);
}


.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.3);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(1) contrast(1);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.product-content p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2b6cb0;
    font-weight: bold;
}

/* About Hero Section */
.about-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.1) 0%, transparent 50%, rgba(220, 38, 38, 0.1) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.about-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    image-rendering: auto;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
    display: block;
}

.about-hero-image:hover img {
    transform: scale(1.05);
}

.about-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.3) 15%, 
        rgba(0, 0, 0, 0.2) 30%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.05) 70%, 
        rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    border-radius: 20px;
    z-index: 2;
}

/* Company Story Section */
.company-story {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-description {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.story-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

.feature-text {
    color: #4a5568;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Wayne's Story Section */
.wayne-story {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.wayne-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #dc2626 50%, transparent 100%);
}

.wayne-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.wayne-image {
    position: relative;
    text-align: center;
}

.wayne-image img {
    width: auto;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.wayne-image:hover img {
    transform: scale(1.02);
}

.wayne-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.wayne-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.wayne-text h3 {
    font-size: 1.5rem;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 2rem;
}

.wayne-description {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.wayne-quote {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    border-left: 4px solid #dc2626;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wayne-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.wayne-quote cite {
    color: #dc2626;
    font-weight: 600;
    font-style: normal;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f7fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-icon svg {
    width: 35px;
    height: 35px;
    color: #dc2626;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-item:hover .contact-icon svg {
    color: #991b1b;
    transform: rotate(-5deg);
}

.contact-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.contact-details p {
    color: #718096;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b6cb0;
}

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

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.overview {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}


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

.overview-text p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.125rem;
}

.overview-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.overview-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.overview-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.1), transparent, rgba(220, 38, 38, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.overview-image:hover::before {
    opacity: 1;
}

.overview-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 60px rgba(220, 38, 38, 0.25);
}

.overview-image img,
.overview-image video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.overview-image:hover img,
.overview-image:hover video {
    transform: scale(1.1);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta .btn {
    margin: 0;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: #f7fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #718096;
    font-weight: 500;
    font-size: 1.125rem;
}

/* Mission & Values Section */
.mission-values {
    padding: 5rem 0;
    background: white;
}

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

.mission-item {
    margin-bottom: 3rem;
}

.mission-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mission-item h3 svg {
    color: #2b6cb0;
    flex-shrink: 0;
}

.mission-item p {
    color: #718096;
    line-height: 1.7;
    font-size: 1.125rem;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: #f7fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-single {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

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

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.member-role {
    color: #2b6cb0;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #718096;
    line-height: 1.6;
}

.owner-member {
    border: 2px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
}

.owner-member .member-role {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1rem;
}

.owner-member:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 60px rgba(220, 38, 38, 0.3);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: white;
}

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

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #2b6cb0;
}

.faq-question h3 {
    font-size: 1.25rem;
    color: #2d3748;
    margin: 0;
}

.faq-question svg {
    color: #2b6cb0;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 1.5rem 0;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: #f7fafc;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Actions */
.contact-actions {
    margin-top: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Business Hours */
.business-hours {
    margin-top: 2rem;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
}

.business-hours h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.business-hours h3 svg {
    color: #2b6cb0;
    flex-shrink: 0;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.hours-item:last-child {
    border-bottom: none;
}

/* Project Details */
.project-details {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.project-type,
.project-material,
.project-duration {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.project-type:hover,
.project-material:hover,
.project-duration:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626 0%, #991b1b 50%, #dc2626 100%);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-info p {
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: modalSlideIn 0.4s ease;
    z-index: 10000;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: auto;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: 300;
    color: #6b7280;
    border: none;
    z-index: 10001;
}

.close-modal:hover {
    background: #dc2626;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #718096;
}

.close:hover {
    color: #2d3748;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-content .form-group {
    margin-bottom: 1rem;
}

.modal-content .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #dc2626;
}

.modal-content .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Project Item Link */
.project-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-item-link .project-item {
    cursor: pointer;
}

.project-item-link:hover .project-item {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Product Detail Page Layout */
.product-detail-section {
    padding: 60px 0;
    background: #f8fafc;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.detail-gallery {
    position: relative;
}

.detail-gallery .product-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.detail-gallery .slideshow-container {
    border-radius: 20px;
}

.detail-info {
    padding: 2rem 0;
}

.detail-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.detail-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.detail-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.detail-meta {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-label {
    font-weight: 600;
    color: #2d3748;
}

.meta-value {
    color: #718096;
}

.detail-materials {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.detail-materials h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.detail-materials ul {
    list-style: none;
    padding: 0;
}

.detail-materials li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    font-size: 1.0625rem;
}

.detail-materials li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
    font-size: 1.25rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.detail-actions .btn {
    flex: 1;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

/* Responsive */
@media (max-width: 968px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .detail-info h2 {
        font-size: 2rem;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .detail-actions .btn {
        width: 100%;
    }
}

/* Gallery Page Layout */
.gallery-section {
    padding: 60px 0;
    background: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery-label {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.gallery-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery-actions .btn {
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-image {
        height: 300px;
    }
    
    .gallery-actions {
        flex-direction: column;
    }
    
    .gallery-actions .btn {
        width: 100%;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* About Page Responsive */
    .about-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.25rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-features {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .story-feature {
        padding: 1.5rem;
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .feature-number {
        font-size: 2rem;
    }
    
    .wayne-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .wayne-image img {
        max-width: 300px;
        height: 400px;
    }
    
    .wayne-text h2 {
        font-size: 2rem;
    }
    
    .wayne-text h3 {
        font-size: 1.25rem;
    }
    
    .wayne-quote {
        padding: 1.5rem;
    }
    
    .wayne-quote blockquote {
        font-size: 1.125rem;
    }
}

    .project-images {
        height: 200px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-actions {
        justify-content: center;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-actions {
        margin-top: 0.5rem;
    }

    .hours-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .project-details {
        justify-content: center;
    }
    
    /* About Page Mobile Styles */
    .story-features {
        flex-direction: column;
    }
    
    .story-feature {
        margin: 0;
    }
    
    .about-hero-text h1 {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .wayne-image img {
        max-width: 250px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-item,
    .project-item,
    .product-card {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .feature-item:nth-child(1) { animation-delay: 0.1s; }
    .feature-item:nth-child(2) { animation-delay: 0.2s; }
    .feature-item:nth-child(3) { animation-delay: 0.3s; }
    .feature-item:nth-child(4) { animation-delay: 0.4s; }

    .project-item:nth-child(1) { animation-delay: 0.1s; }
    .project-item:nth-child(2) { animation-delay: 0.2s; }
    .project-item:nth-child(3) { animation-delay: 0.3s; }

    .product-card:nth-child(1) { animation-delay: 0.1s; }
    .product-card:nth-child(2) { animation-delay: 0.2s; }
    .product-card:nth-child(3) { animation-delay: 0.3s; }
    .product-card:nth-child(4) { animation-delay: 0.4s; }
    .product-card:nth-child(5) { animation-delay: 0.5s; }
    .product-card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2b6cb0;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .btn-outline {
        border-width: 3px;
    }
}

/* Spin animation for loading states */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-logo {
    width: 349px;
    max-width: 94vw;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}

.projects-header {
    position: relative;
    background: url('1920 × 600.png') center/cover no-repeat;
    color: white;
}

.projects-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 100%);
}

.projects-header .container {
    position: relative;
    z-index: 1;
}

.projects-header .page-title {
    color: #ffffff;
}

.projects-header .page-subtitle {
    color: #e5e7eb;
}

.premium-products {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

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

.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.product-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #374151;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    overflow: hidden;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-image.active {
    opacity: 1;
}

.slideshow-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 0.9);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.products-section {
    margin-top: 5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-image {
        height: 240px;
    }
}

.product-search { padding: 1.5rem 0 0; }
.product-search .container { position: relative; }
.search-shell {
    position: sticky;
    top: 84px;
    z-index: 5;
    display: grid;
    grid-template-columns: auto 1px 1fr;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    padding: 1rem 1.25rem;
    border: 1px solid #e5e7eb;
}
.search-field label { font-weight: 700; color: #111827; display:block; margin-bottom: .25rem; }
.search-field input { width: 100%; padding: .75rem 1rem; border-radius: 12px; border: 1px solid #e5e7eb; outline: none; transition: box-shadow .2s ease, border-color .2s ease; }
.search-field input:focus { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,0.15); }
.search-divider { width: 1px; height: 48px; background: #e5e7eb; }
.search-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border-radius: 9999px; padding: .5rem .9rem; border: 1px solid #e5e7eb; background: #f9fafb; cursor: pointer; font-weight: 600; color:#374151; transition: all .2s ease; }
.chip:hover { border-color:#d1d5db; background:#fff; }
.chip.active { background: linear-gradient(135deg, #dc2626, #991b1b); color: #fff; border-color: transparent; box-shadow: 0 8px 16px rgba(220,38,38,0.25); }
.search-btn { width: 48px; height: 48px; border-radius: 12px; border: none; cursor: pointer; background: #111827; color: #fff; display: grid; place-items: center; transition: background .2s ease; }
.search-btn:hover { background:#dc2626; }

.top-sellers { padding: 2.25rem 0 0; position: relative; }
.top-sellers::after { content:''; display:block; height: 1px; background: linear-gradient(90deg, transparent, #e5e7eb, transparent); margin: 1.5rem 0 0; }

/* Make tile overlays lighter so images show */
.product-tile::after { background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.65) 100%); }

/* Better carousel overlay arrows */
@media (min-width: 1024px) {
  .carousel { padding: 0 .75rem; }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
}

/* Chip size and spacing */
.chip { padding: .5rem 1rem; }

.products-hero { padding: 2rem 0 0; }
.products-hero .hero-card { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.12); }
.products-hero .hero-bg { position: relative; height: 340px; background: #e5e7eb center/cover no-repeat; background-position: center 35%; }
/* Subtle grading for readability */
.products-hero .hero-bg::before { content:''; position:absolute; inset:0; background: rgba(0,0,0,0.18); }
.products-hero .hero-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.0) 35%, rgba(0,0,0,.35) 100%); }
.products-hero .hero-content { position:absolute; inset:auto 0 0 0; padding: 1.5rem 1.75rem; color:#fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.products-search-overlay { position: relative; margin-top: -36px; }
.products-search-overlay .search-shell { position: relative; top: auto; box-shadow: 0 18px 40px rgba(0,0,0,.12); }

.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; flex-wrap: nowrap; gap: 1rem; transition: transform .45s ease; will-change: transform; }
.carousel-card { position: relative; flex: 0 0 360px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,.15); background:#111827; }
.carousel-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.carousel-caption, .badge { z-index: 2; }

/* hero/search spacing tweaks */
.products-hero .hero-bg { height: 300px; }
.products-search-overlay { margin-top: -34px; }

/* lighten product tile overlay a touch more */
.product-tile::after { background: linear-gradient(180deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.40) 68%, rgba(0,0,0,0.60) 100%); }

@media (max-width: 1024px) {
  .carousel-card { flex-basis: 300px; }
}
@media (max-width: 640px) {
  .carousel-card { flex-basis: 85%; }
}

.product-search .search-shell { grid-template-columns: auto 1px 1fr; }
