/* ==========================
   Modern Reset & Variables 
   ========================== */
:root {
    --bg-color: #faf9f6; /* Off white / warm light beige */
    --text-main: #2d2a26;
    --text-sec: #6b665c;
    --accent: #d4a373; /* Warm warm accent */
    --accent-dark: #b5835a;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================
   Typography & Utils
   ========================== */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-sec);
}

/* ==========================
   Header (Glassmorphism)
   ========================== */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--accent);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 24px rgba(45, 42, 38, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.lang-btn {
    border: 0;
    background: transparent;
    color: var(--text-sec);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lang-btn:hover {
    color: var(--text-main);
    background: rgba(212, 163, 115, 0.14);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 10px 20px rgba(181, 131, 90, 0.3);
}

.btn-sm {
    background: var(--text-main);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-sm:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ==========================
   Hero Banner
   ========================== */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://images.pexels.com/photos/1034584/pexels-photo-1034584.jpeg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    color: #fff;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.banner-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 163, 115, 0.4);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

/* ==========================
   Products Section
   ========================== */
.products {
    padding: 6rem 2rem;
    background: #fff;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-color);
    border-radius: 24px;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255,255,255,0.9);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.product-info p {
    color: var(--text-sec);
    line-height: 1.5;
}

.product-meta {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(45, 42, 38, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-sec);
}

.price-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.15);
    color: var(--accent-dark);
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================
   Gallery Section
   ========================== */
.gallery {
    padding: 6rem 2rem;
    background: var(--bg-color);
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ==========================
   Contact Section Redesign
   ========================== */
.contact-section {
    padding: 8rem 2rem;
    background: url('https://images.pexels.com/photos/164595/pexels-photo-164595.jpeg') center/cover fixed;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85); /* Light overlay to make the section look like #fff mostly */
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-text {
    text-align: center;
    max-width: 600px;
    margin-bottom: 4rem;
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.contact-text p {
    font-size: 1.2rem;
    color: var(--text-sec);
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.scard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3.5rem 2rem;
    background: var(--bg-color);
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.scard::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
    z-index: 0;
}

.scard:hover::before {
    top: 0;
}

.scard.phone-card::before { background: #2d2a26; }
.scard.tg-card::before { background: #0088cc; }
.scard.ig-card::before { background: #e1306c; }
.scard.wa-card::before { background: #25D366; }

.icon-blob {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.scard span {
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Original colors */
.scard.phone-card .icon-blob { color: #2d2a26; }
.scard.tg-card .icon-blob { color: #0088cc; }
.scard.ig-card .icon-blob { color: #e1306c; }
.scard.wa-card .icon-blob { color: #25D366; }

/* Hover effects */
.scard:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: transparent;
}

.scard:hover span,
.scard:hover .icon-blob {
    color: #fff;
}

.scard:hover .icon-blob {
    background: rgba(255,255,255,0.2);
    box-shadow: none;
    border-radius: 50%;
}

/* ==========================
   Modal (Lightbox)
   ========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s ease;
}

.close-modal:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* ==========================
   Footer
   ========================== */
footer {
    background: #fff;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-content .logo {
    font-size: 1.2rem;
}

/* ==========================
   Responsive
   ========================== */
@media (max-width: 768px) {
    .header-container {
        padding: 0.9rem 1rem;
        gap: 1rem;
    }

    .header-actions {
        gap: 0.75rem;
    }

    .banner-content h1 { font-size: 3rem; }
    
    .social-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-text h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .lang-switcher {
        width: fit-content;
    }

    .btn-sm {
        padding-inline: 1.1rem;
    }

    .product-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .social-cards {
        grid-template-columns: 1fr;
    }
}
