/* ========================================
   AVTECH - Premium uPVC Door & Window Profiles
   Static Website Stylesheet
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark: #1b5e20;
    --green-primary: #2e7d32;
    --green-medium: #43a047;
    --green-light: #66bb6a;
    --green-pale: #e8f5e9;
    --green-bg: #f1f8e9;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar:not(.scrolled) .logo {
    color: var(--white);
}

.logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--green-primary);
    color: var(--white);
    border-radius: 8px 8px 8px 2px;
    font-size: 1.2rem;
    font-weight: 800;
    margin-right: 4px;
}

.logo small {
    display: block;
    font-size: 0.55rem;
    font-weight: 400;
    color: var(--gray-600);
    letter-spacing: 0.5px;
    margin-left: 42px;
    margin-top: -8px;
}

.navbar:not(.scrolled) .logo small {
    color: rgba(255,255,255,0.8);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255,255,255,0.9);
}

.nav-links a:hover {
    background: var(--green-pale);
    color: var(--green-primary);
}

.navbar:not(.scrolled) .nav-links a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar:not(.scrolled) .nav-toggle span {
    background: var(--white);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3a1a 0%, #2e5a2e 30%, #1b4332 60%, #0d2818 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(46, 125, 50, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(102, 187, 106, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(27, 94, 32, 0.2) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Crect x='0' y='0' width='1' height='60'/%3E%3Crect x='0' y='0' width='60' height='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
}

.btn-primary {
    background: var(--green-primary);
    color: var(--white);
    border-color: var(--green-primary);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--green-primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    background: var(--green-pale);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-tag.center {
    display: block;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--green-pale), var(--green-bg));
    border-radius: var(--radius-lg);
    padding: 40px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46,125,50,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.window-illustration {
    width: 80%;
    max-width: 300px;
}

.window-frame {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gray-200);
}

.window-pane {
    aspect-ratio: 0.6;
    background: linear-gradient(180deg, #b3e5fc 0%, #e1f5fe 40%, #c8e6c9 100%);
    border-radius: 4px;
    border: 2px solid var(--gray-300);
    position: relative;
    overflow: hidden;
}

.window-pane::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 30%;
    height: 40%;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    transform: skewX(-5deg);
}

.about-text .section-tag {
    margin-bottom: 16px;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-text p {
    color: var(--gray-700);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.brand-promise-title {
    font-size: 1.2rem;
    color: var(--green-primary);
    margin-bottom: 8px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    color: var(--green-primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products {
    background: var(--white);
}

.product-category {
    margin-bottom: 50px;
}

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

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    background: var(--green-primary);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.product-table thead {
    background: var(--green-pale);
}

.product-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--green-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.product-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

.product-table tbody tr:hover {
    background: var(--green-bg);
}

.product-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.product-table tbody tr:nth-child(even):hover {
    background: var(--green-bg);
}

/* ========================================
   CERTIFIED SECTION
   ======================================== */
.certified {
    background: linear-gradient(135deg, var(--green-pale), var(--green-bg));
    padding: 80px 0;
}

.certified-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.certified-badge {
    flex-shrink: 0;
}

.badge-circle {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--green-light);
}

.badge-circle svg {
    width: 70px;
    height: 70px;
}

.certified-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.certified-text p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    line-height: 1;
    color: var(--green-pale);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.star {
    font-size: 1.2rem;
    color: var(--gray-300);
    line-height: 1;
}

.star.filled {
    color: #f9a825;
}

.star.half {
    background: linear-gradient(90deg, #f9a825 50%, var(--gray-300) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--gray-700);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: var(--green-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 2px;
}

/* Stagger animation for testimonials */
.testimonial-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.testimonial-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.testimonial-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.testimonial-card.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    background: var(--gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.gallery-item.large {
    grid-column: span 2;
}

.gallery-placeholder {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.gallery-item.large .gallery-placeholder {
    aspect-ratio: 2/1;
}

.window-scene {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.scene-1 { background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 30%, #c8e6c9 100%); }
.scene-2 { background: linear-gradient(180deg, #fce4ec 0%, #f8bbd0 30%, #e1bee7 100%); }
.scene-3 { background: linear-gradient(180deg, #fff3e0 0%, #ffe0b2 30%, #ffcc80 100%); }
.scene-4 { background: linear-gradient(180deg, #e8eaf6 0%, #c5cae9 30%, #9fa8da 100%); }
.scene-5 { background: linear-gradient(180deg, #e0f2f1 0%, #b2dfdb 30%, #80cbc4 100%); }

.scene-frame {
    display: flex;
    gap: 4px;
    background: var(--white);
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 2px solid var(--gray-300);
    width: 60%;
    max-width: 250px;
}

.scene-frame.sliding { width: 50%; }
.scene-frame.triple { width: 70%; max-width: 280px; }
.scene-frame.door { width: 40%; max-width: 180px; }
.scene-frame.wide { width: 80%; max-width: 400px; }

.scene-pane {
    flex: 1;
    aspect-ratio: 0.7;
    background: linear-gradient(180deg, rgba(135,206,250,0.3), rgba(200,230,201,0.3));
    border: 1.5px solid var(--gray-300);
    border-radius: 3px;
    position: relative;
}

.scene-pane.tall {
    aspect-ratio: 0.4;
}

.scene-pane.overlap {
    margin-left: -15px;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(135,206,250,0.4), rgba(200,230,201,0.4));
}

.scene-pane .scene-view {
    position: absolute;
    top: 8%;
    left: 8%;
    width: 25%;
    height: 35%;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    transform: skewX(-3deg);
}

.gallery-label {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-900);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23757575' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo,
.footer .logo {
    color: var(--white);
}

.footer .logo small {
    color: var(--gray-600);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.footer h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.footer ul a {
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--green-light);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.feature-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.feature-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.feature-card.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-placeholder {
        aspect-ratio: 16/10;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

    .gallery-item.large {
        grid-column: span 2;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--gray-800) !important;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-links a:hover {
        background: var(--green-pale) !important;
        color: var(--green-primary) !important;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section {
        padding: 70px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-item.large .gallery-placeholder {
        aspect-ratio: 16/10;
    }

    .about-stats {
        gap: 20px;
    }

    .certified-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-table {
        font-size: 0.8rem;
    }

    .product-table th,
    .product-table td {
        padding: 10px 12px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .stat-number {
        font-size: 1.6rem;
    }
}
