/* ========================================
   UNITED EAST TRADING - MAIN STYLESHEET
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* CSS Custom Properties */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    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;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.company-title {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

/* Removed the glitchy sliding animation */

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.2s ease;
    will-change: width;
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    color: var(--secondary-color);
    background-color: rgba(231, 76, 60, 0.08);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background-color: var(--secondary-color);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    width: 44px;
    height: 44px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

.bar {
    width: 20px;
    height: 2px;
    background-color: white;
    margin: 4px 0;
    display: block;
    transition: 0.3s;
}

/* ========================================
   HERO/SLIDESHOW SECTION
   ======================================== */

.slideshow-container {
    margin-top: 70px;
    height: 80vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #34495e 100%);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.8));
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 900px;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.company-name {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.company-tagline {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, var(--secondary-color));
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 8rem 0;
    background: var(--light-bg);
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 700;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #c0392b);
    border-radius: 2px;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 5rem;
}

.highlight-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-item.reverse {
    flex-direction: row-reverse;
}

.about-item:last-child {
    margin-bottom: 0;
}

.about-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.about-text h2::after {
    left: 0;
    transform: none;
    width: 60px;
    height: 3px;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.feature-list,
.awards-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li,
.awards-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
    transition: var(--transition);
}

.feature-list li:hover,
.awards-list li:hover {
    color: var(--text-dark);
    transform: translateX(5px);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.awards-list li::before {
    content: '🏆';
    position: absolute;
    left: 0;
}

.about-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-container {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.icon-container:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-heavy);
}

.icon-container i {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products {
    padding: 8rem 2rem;
    background-color: white;
}

.products h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #c0392b);
    border-radius: 2px;
}

.products-intro {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.05), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(10deg);
}

.product-icon i {
    font-size: 2rem;
    color: white;
}

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

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    color: #666;
    padding: 0.7rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    transition: var(--transition);
}

.product-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.product-list li:hover {
    color: var(--text-dark);
    transform: translateX(8px);
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery {
    padding: 8rem 0;
    background-color: var(--light-bg);
    overflow: hidden;
}

.gallery h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
}

.gallery h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #c0392b);
    border-radius: 2px;
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.gallery-grid {
    display: flex;
    gap: 1.5rem;
    animation: scroll 60s linear infinite;
    width: max-content;
}

.gallery-item {
    flex: 0 0 320px;
    height: 220px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

    100% {
        transform: translateX(calc(-320px * 15 - 1.5rem * 14));
    }
}

.gallery-container:hover .gallery-grid {
    animation-play-state: paused;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: 8rem 2rem;
    background-color: white;
    position: relative;
}

.testimonials h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 700;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #c0392b);
    border-radius: 2px;
}

.testimonials-intro {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto 4rem;
    color: #555;
    font-size: 1.3rem;
    line-height: 1.6;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    transition: var(--transition);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.quote-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.quote-icon i {
    color: white;
    font-size: 1.4rem;
}

.testimonial-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2.5rem;
    text-align: center;
    font-style: italic;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.contact-section h2 {
    text-align: center;
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    color: #e2e8f0;
    font-size: 1.3rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.contact-info-horizontal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    flex: 1;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.contact-content h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.contact-details span {
    color: var(--text-light);
    font-weight: 500;
}

.contact-details p {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.product-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.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;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large screens */
@media (min-width: 1400px) {

    .nav-container,
    .about-container {
        max-width: 1400px;
    }

    .company-name {
        font-size: 5rem;
    }
}

/* Tablet styles */
@media (max-width: 992px) {

    .about-item,
    .about-item.reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        margin-bottom: 5rem;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .icon-container {
        width: 120px;
        height: 120px;
    }

    .icon-container i {
        font-size: 3rem;
    }

    .contact-info-horizontal {
        flex-direction: column;
    }

    .info-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
        padding-top: 3rem;
        gap: 1rem;
        will-change: transform, opacity;
        transform: translateX(100%);
    }

    .nav-links.active {
        right: 0;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 10px;
        width: 80%;
        text-align: center;
    }

    .slideshow-container {
        height: 70vh;
    }

    .company-name {
        font-size: 2.8rem;
    }

    .company-tagline {
        font-size: 1.4rem;
    }

    .about,
    .products,
    .gallery,
    .testimonials,
    .contact-section {
        padding: 6rem 1.5rem;
    }

    .about h2,
    .products h2,
    .gallery h2,
    .testimonials h2 {
        font-size: 2.5rem;
    }

    .about-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .testimonial-card {
        padding: 3rem 2rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

    .gallery-item {
        flex: 0 0 280px;
        height: 180px;
    }

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

        100% {
            transform: translateX(calc(-280px * 15 - 1.5rem * 14));
        }
    }

    .contact-info-horizontal {
        padding: 2rem;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem;
    }

    .contact-section h2 {
        font-size: 2.5rem;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .company-title {
        font-size: 1.4rem;
    }

    .logo-image {
        height: 40px;
    }

    .slideshow-container {
        height: 60vh;
        margin-top: 60px;
    }

    .company-name {
        font-size: 2.2rem;
    }

    .company-tagline {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .about h2,
    .products h2,
    .gallery h2,
    .testimonials h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .highlight-text {
        font-size: 1.1rem;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    .icon-container {
        width: 100px;
        height: 100px;
    }

    .icon-container i {
        font-size: 2.5rem;
    }

    .product-card {
        padding: 2rem;
    }

    .gallery-item {
        flex: 0 0 250px;
        height: 160px;
    }

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

        100% {
            transform: translateX(calc(-250px * 15 - 1.5rem * 14));
        }
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .icon-wrapper i {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {

    nav,
    .mobile-menu-btn {
        display: none;
    }

    .slideshow-container {
        margin-top: 0;
        height: auto;
        page-break-after: always;
    }

    .about,
    .products,
    .testimonials,
    .contact-section {
        padding: 2rem 1rem;
    }

    .gallery {
        display: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #ff0000;
        --text-dark: #000;
        --text-light: #fff;
    }

    .nav-links a::after {
        height: 3px;
    }

    .product-card,
    .testimonial-card,
    .info-card {
        border: 2px solid var(--primary-color);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gallery-grid {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}