@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    min-height: 100vh;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

/* Section Background Overlay */
.section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content is above overlay */
.header-content,
.container {
    position: relative;
    z-index: 1;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#header > div {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (min-width: 640px) {
    #header > div {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (min-width: 1024px) {
    #header > div {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 2000px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Header shrink on scroll */
#header .flex {
    transition: height 0.3s ease, padding 0.3s ease;
}

#header.shrink .flex {
    height: 56px !important;
}

#header-logo {
    transition: height 0.3s ease;
}

#header.shrink #header-logo {
    height: 35px !important;
}

#header-logo-text {
    transition: font-size 0.3s ease;
}

#header.shrink #header-logo-text {
    font-size: 20px !important;
}

#header nav a {
    transition: font-size 0.3s ease;
}

#header.shrink nav a {
    font-size: 13px !important;
}

#call-button,
#route-button {
    transition: all 0.3s ease;
}

#call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

#route-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    filter: brightness(0.95);
}

#header.shrink #call-button,
#header.shrink #route-button {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

/* Navigation menu hover effects */
#header nav a {
    position: relative;
    transition: all 0.3s ease;
}

#header nav a:hover {
    color: #0d9488 !important;
    transform: translateY(-2px);
}

#header nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    transition: width 0.3s ease;
}

#header nav a:hover::after {
    width: 100%;
}

/* Main Content */
#main-content {
    margin-top: 64px;
    background: transparent;
}

.section {
    padding: 50px 0;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Hide section headings in main content as requested */
.section h2 {
    display: none;
}

/* About Section */
#about {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

#about-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.8;
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

#about-content .bold {
    font-size: clamp(18px, 2vw, 24px) !important;
}

#about-content p {
    font-size: clamp(14px, 1.5vw, 18px) !important;
}

/* Brand Card (previously Product Card) */
.brand-card, .product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 12px;
    width: 100%; /* Full width of grid cell */
    min-height: 320px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

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

.brand-card img, .product-card img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 8px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.brand-card h3, .product-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
    flex-shrink: 0;
    text-align: center;
}

.brand-card p, .product-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
    text-align: center;
}

.brand-card .read-more, .product-card .read-more {
    font-size: 13px;
    color: #667eea;
    text-align: center;
    font-weight: 500;
    flex-shrink: 0;
}

/* Article Card */
.article-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 12px;
    width: 100%; /* Full width of grid cell */
    min-height: 320px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.article-card img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 8px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.article-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
    flex-shrink: 0;
    text-align: center;
}

.article-card .excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
    text-align: center;
}

.article-card .read-more {
    font-size: 13px;
    color: #667eea;
    text-align: center;
    font-weight: 500;
    flex-shrink: 0;
}

/* Shared Grid Layout for Brands and Articles */
/* Desktop: 8 items in one row with proportional scaling */
.brands-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: clamp(10px, 1.5vw, 20px);
    padding: clamp(10px, 2vw, 30px);
    width: 100%;
    max-width: 1800px;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Articles grid specific - hide items beyond 8 on desktop */
.articles-grid {
    overflow: hidden;
}

.articles-grid .article-card:nth-child(n+9) {
    display: none;
}

/* More Button Container */
.more-button-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

/* More Button */
.more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.more-btn:active {
    transform: translateY(0);
}

/* Footer */
#footer {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

#footer-logo {
    height: 50px;
}

#footer-logo-text {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-contacts-info {
    text-align: right;
}

.footer-contacts-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contacts-info a:hover {
    color: #667eea;
}

/* Admin Link */
.admin-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.admin-link:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

/* Responsive Design */
/* Tablet and smaller desktop screens - proportional scaling */
@media (max-width: 1200px) {
    /* Reduce about section margins progressively */
    #about {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Tablet: 2 rows of 4 items */
    .brands-grid,
    .articles-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: clamp(8px, 1.2vw, 15px);
        padding: clamp(8px, 1.5vw, 20px);
    }
    
    /* Articles grid - hide items beyond 8 on tablet */
    .articles-grid .article-card:nth-child(n+9) {
        display: none;
    }
    
    /* Cards scale proportionally */
    .brand-card,
    .product-card,
    .article-card {
        width: 100%;
        min-height: 300px;
        padding: 10px;
        border-radius: 18px;
    }
    
    .brand-card img,
    .product-card img,
    .article-card img {
        max-width: 100%;
        height: 160px;
        margin-bottom: 6px;
    }
    
    .brand-card h3,
    .product-card h3,
    .article-card h3 {
        font-size: 15px;
        margin-bottom: 5px;
    }
    
    .brand-card p,
    .product-card p,
    .article-card .excerpt {
        font-size: 12px;
        margin-bottom: 5px;
    }
}

@media (max-width: 992px) {
    /* Further reduce about section margins */
    #about {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Tablet: 2 rows of 4 items - maintain same layout as 1200px */
    .brands-grid,
    .articles-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: clamp(6px, 1vw, 12px);
        padding: clamp(6px, 1.2vw, 15px);
    }
    
    /* Articles grid - hide items beyond 8 */
    .articles-grid .article-card:nth-child(n+9) {
        display: none;
    }
    
    /* Cards scale proportionally */
    .brand-card,
    .product-card,
    .article-card {
        width: 100%;
        min-height: 280px;
        padding: 10px;
        border-radius: 16px;
    }
    
    .brand-card img,
    .product-card img,
    .article-card img {
        max-width: 100%;
        height: 140px;
        margin-bottom: 6px;
    }
    
    .brand-card h3,
    .product-card h3,
    .article-card h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .brand-card p,
    .product-card p,
    .article-card .excerpt {
        font-size: 12px;
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    /* Force background-size: cover on mobile to avoid empty strips */
    .section-bg-overlay {
        background-size: cover !important;
    }
    
    /* Mobile logo proportional scaling */
    #header-logo,
    #header-logo-text {
        transition: all 0.3s ease;
    }
    
    #header-logo {
        max-height: 40px;
        width: auto !important;
        height: auto !important;
        object-fit: contain;
    }
    
    #header-logo-text {
        font-size: 20px;
    }
    
    /* Shrink logo even more on mobile when scrolling */
    #header.shrink #header-logo {
        max-height: 30px !important;
    }
    
    #header.shrink #header-logo-text {
        font-size: 16px !important;
    }
    
    /* Shrink header height on mobile */
    #header .flex {
        height: 56px;
    }
    
    #header.shrink .flex {
        height: 48px !important;
    }
    
    /* Shrink buttons on mobile */
    #header.shrink #call-button,
    #header.shrink #route-button {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    /* Mobile menu */
    #header nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        background: #fff;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 50;
    }
    
    #header nav.mobile-open {
        display: block;
    }
    
    #header nav ul {
        flex-direction: column;
        padding: 1rem 0;
        background: #fff;
    }
    
    #header nav ul li {
        width: 100%;
        text-align: left;
        background: #fff;
    }
    
    #header nav ul li a {
        display: block;
        padding: 0.75rem 1rem;
        background: #fff;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-contacts {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contacts-info {
        text-align: center;
    }
    
    /* Smaller footer logo */
    #footer-logo {
        height: 35px;
    }
    
    #footer-logo-text {
        font-size: 22px;
    }

    #main-content {
        margin-top: 64px;
    }

    .section {
        padding: 30px 0;
    }
    
    .container {
        padding: 0;
    }

    h2 {
        font-size: 32px;
    }
    
    /* About section full width on mobile - margins reach 0 */
    #about {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Scale about-content frame proportionally on mobile */
    #about-content {
        padding: clamp(12px, 4vw, 20px);
        font-size: clamp(12px, 3.5vw, 14px);
        border-radius: 0;
    }
    
    #about-content .bold {
        font-size: clamp(14px, 4.5vw, 18px) !important;
    }
    
    #about-content p {
        font-size: clamp(12px, 3.5vw, 14px) !important;
    }

    /* Mobile: 2 rows of 4 items */
    .brands-grid,
    .articles-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        padding: clamp(4px, 1vw, 10px) clamp(0.5rem, 2vw, 1.5rem);
        gap: clamp(4px, 1vw, 8px);
    }
    
    /* Articles grid - hide items beyond 8 on mobile */
    .articles-grid .article-card:nth-child(n+9) {
        display: none;
    }
    
    .brand-card,
    .product-card,
    .article-card {
        width: 100%;
        min-height: auto;
        padding: 5px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .brand-card img,
    .product-card img,
    .article-card img {
        width: 100%;
        max-width: 100%;
        height: 85px;
        margin: 0 auto 5px;
        border-radius: 8px;
        object-fit: contain;
    }
    
    .brand-card h3,
    .product-card h3,
    .article-card h3 {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    /* Hide descriptions on mobile - show only logo and name */
    .brand-card p,
    .product-card p,
    .article-card .excerpt {
        display: none;
    }
    
    .brand-card .read-more,
    .product-card .read-more,
    .article-card .read-more {
        display: none;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-article {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f44336;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-close:hover {
    background: #d32f2f;
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
}

.modal-body h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.modal-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.modal-price {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.modal-article-content h1,
.modal-article-content h2,
.modal-article-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.modal-article-content p {
    margin-bottom: 15px;
}

.modal-article-content ul,
.modal-article-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Contact Section Styles */
#contact {
    background: #f8f9fa;
}

#contact .container {
    padding: 0;
}

#contact h2 {
    display: block;
    text-align: center;
    color: #1a1a1a;
    text-shadow: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 30px;
    padding: 0 1rem;
    align-items: center;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    justify-self: center;
    text-align: left;
}

.contact-info h3 {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
    color: #1a1a1a;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.schedule p,
.contact-details p {
    margin-bottom: 10px;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.6;
}

.contact-address,
.contact-phones-label,
.contact-phone {
    font-size: clamp(14px, 1.5vw, 16px);
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* New Map Container Styles */
.map-container-new {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    justify-self: center;
    max-width: 100%;
}

.static-map-link {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.static-map-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.static-map-link:hover .static-map-image {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.static-map-link:hover .map-overlay {
    opacity: 1;
}

.map-icon {
    width: 48px;
    height: 48px;
}

.map-text {
    font-size: 16px;
    font-weight: 600;
}

.info-section {
    padding: 20px;
    border-top: 1px solid #eee;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: #667eea;
    flex-shrink: 0;
}

.address-link-bottom {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(13px, 1.5vw, 16px);
    transition: color 0.3s ease;
}

.address-link-bottom:hover {
    color: #667eea;
    text-decoration: underline;
}

.address-link-contact {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(14px, 1.5vw, 16px);
    transition: color 0.3s ease;
}

.address-link-contact:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Optimizations for 16:9 aspect ratio screens */
/* Large desktop screens (1920x1080, 2560x1440, etc.) */
@media (min-width: 1400px) {
    /* Ensure about content doesn't stretch too wide */
    #about-content {
        padding: 60px 80px;
    }
    
    /* Better spacing for brand/article cards on wide screens with equal padding and centering */
    .brands-grid,
    .articles-grid {
        gap: clamp(12px, 1.2vw, 20px);
        padding: clamp(15px, 2vw, 30px);
        max-width: 1800px;
        margin: 0 auto;
        justify-content: center;
    }
    
    /* Ensure contact section remains centered and readable */
    .contact-wrapper {
        padding: 0 2rem;
    }
}

/* Extra large screens (2560x1440 and above) */
@media (min-width: 2000px) {
    /* Further constrain about content for readability */
    #about-content {
        max-width: 1600px;
        padding: 70px 100px;
    }
    
    /* Ensure cards scale well on ultra-wide screens and remain centered */
    .brands-grid,
    .articles-grid {
        max-width: 2000px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .brand-card,
    .product-card,
    .article-card {
        width: 100%;
        min-height: 340px;
    }
    
    .brand-card img,
    .product-card img,
    .article-card img {
        max-width: 100%;
        height: 200px;
    }
    
    /* Better contact section layout for ultra-wide */
    .contact-wrapper {
        max-width: 1800px;
        gap: 60px;
    }
}

