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

:root {
    --primary-color: #8B1C2C;
    /* Bordo (Burgundy) */
    --secondary-color: #F3E9D2;
    /* Krem (Cream) */
    --accent-color: #1F2A44;
    /* Lacivert (Navy) */
    --dark-color: #4A2C16;
    --light-color: #F5E6D3;
    --text-color: #333;
    --white: #FFFFFF;
    --gray: #666;
    --light-gray: #F5F5F5;
}

/* Store Gallery Section */
.store-gallery-section {
    margin: 4rem 0 2rem 0;
    text-align: center;
}

.store-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.store-gallery-thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #fff;
}

.store-gallery-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    border-color: var(--primary-color);
}

.store-gallery-note {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Lightbox Modal */
.store-photo-modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-photo-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
}

.store-photo-modal-content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-photo-modal-content img {
    max-width: 70vw;
    max-height: 70vh;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.store-photo-modal-close {
    position: absolute;
    top: 10px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    padding: 0 8px;
    transition: color 0.2s;
}

.store-photo-modal-close:hover {
    color: #b32d3a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

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

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 100px;
    width: auto;
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.logo-text .tagline {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

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

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.hero-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.12);
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hero-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

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

.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

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

.feature {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* Brands Section */
.brands {
    background-color: var(--white);
}

.brand-category {
    margin-bottom: 3rem;
}

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

.category-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

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

.brand-card {
    background-color: var(--white);
    border: 2px solid var(--light-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 28, 44, 0.15);
    border-color: var(--primary-color);
}

.brand-logo {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-logo {
    transform: scale(1.05);
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.brand-desc {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Products Section */
.products {
    background-color: var(--white);
}

.alize-featured {
    background: var(--secondary-color);
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.alize-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.alize-logo {
    width: 120px;
    height: auto;
}

.alize-header h3 {
    color: var(--accent-color);
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.alize-header p {
    color: var(--dark-color);
    font-size: 1rem;
}

.alize-featured-grid,
.alize-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.alize-model-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: 0 10px 24px rgba(31, 42, 68, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alize-model-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.alize-model-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.alize-model-images figure {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.alize-model-images img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.alize-model-images figcaption {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    color: var(--dark-color);
}

.alize-model-link {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 600;
}

.alize-error {
    color: var(--gray);
    text-align: center;
}

.alize-hero {
    background: linear-gradient(120deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.alize-hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.alize-hero-logo {
    width: 140px;
    height: auto;
}

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

.product-card {
    background-color: var(--white);
    border: 2px solid var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
    border-color: var(--secondary-color);
}

.product-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-card ul {
    list-style: none;
    text-align: left;
}

.product-card ul li {
    color: var(--gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-card ul li:before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

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

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--gray);
    margin-left: 0;
    line-height: 1.6;
}

.contact-map iframe {
    border-radius: 15px;
    width: 100%;
    height: 400px;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--accent-color) 100%);
    height: 400px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
}

.map-placeholder p:first-child {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder p:last-child {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .hero-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .hero-card {
        max-width: none;
        padding: 0.75rem;
    }

    .hero-card img {
        height: 180px;
    }

    .alize-model-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-color);
    opacity: 0.9;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a,
.footer-section p a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 230, 211, 0.2);
    color: var(--light-color);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .logo {
        flex-direction: row;
        text-align: left;
        order: 1;
        gap: 0.5rem;
        flex-shrink: 1;
        min-width: 0;
    }

    .logo-image {
        height: 50px;
        flex-shrink: 0;
    }

    .logo-text {
        min-width: 0;
        flex-shrink: 1;
    }

    .logo-text h1 {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-text .tagline {
        display: none;
    }

    .hamburger {
        display: flex;
        order: 2;
        flex-shrink: 0;
        margin-left: 1rem;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin-top: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        order: 3;
    }

    .nav.active {
        max-height: 500px;
    }

    .nav a {
        padding: 1rem 20px;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content h3 {
        font-size: 1.4rem;
    }

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

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

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

    .brand-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content h3 {
        font-size: 1.2rem;
    }

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

    .product-card {
        padding: 1.5rem;
    }

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

    .brand-card {
        padding: 1.2rem;
    }

    .category-title {
        font-size: 1.2rem;
    }
}