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

:root {
    --bg-dark: #0f0f0f;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted-light: #666666;
    --border-light: #e0e0e0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header */
header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-dark);
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted-light);
    font-weight: 500;
}

nav a:hover,
nav a.active {
    color: var(--text-dark);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switch {
    font-size: 0.85rem;
    display: flex;
    gap: 0.5rem;
    color: var(--text-muted-light);
}

.lang-switch a.active {
    color: var(--text-dark);
    font-weight: 700;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: 0.3s;
}

/* Page Content */
.page-content {
    flex: 1;
    padding: 4rem 5%;
}

/* Sections */
section {
    padding: 4rem 5%;
}

.bg-light {
    background-color: #f4f4f4;
}

.bg-white {
    background-color: #ffffff;
}

/* Common Components */
.btn {
    padding: 1rem 3rem;
    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.4s;
    display: inline-block;
}

.btn-dark {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.btn-dark:hover {
    background: var(--text-dark);
    color: #fff;
}

.btn-light {
    border-color: #fff;
    color: #fff;
}

.btn-light:hover {
    background: #fff;
    color: #000;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted-light);
    margin-bottom: 4rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 1000px;
    padding: 2rem;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-title {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    color: #333;
}

.modal-close-btn:hover {
    color: #000;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #fff;
    margin-bottom: 1rem;
    border: 1px solid #f0f0f0;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: 0.6s;
}

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

.card-info {
    text-align: center;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-info p {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Shared Slider Styles */
.modal-slider {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: 0.2s;
}

.slider-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}


/* Hero (Index) */
.hero {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #0f0f0f url('downloaded_catalogs/kitchen_sinks/Galante/image_29.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Showcases (Index) */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-img-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
}

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

.showcase-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

/* Features (Index) */
.features-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}

.feature-box h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}


/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

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

.contact-form-box {
    background: #f9f9f9;
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #fff;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--text-dark);
    outline: none;
}


/* Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 2rem;
        border-bottom: 1px solid #eee;
    }

    nav ul.active {
        display: flex;
    }

    .header-right {
        gap: 1rem;
    }

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

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .modal-content {
        padding: 1rem;
        height: 100%;
        max-width: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .modal-slider {
        height: 50vh;
    }
}