﻿/* =========================================
   1. CONFIGURAȚII DE BAZĂ (FUNDAȚIA)
   ========================================= */
:root {
    --gold: #d4af37; /* Culoarea specifică brandului tău */
    --dark: #121212; /* Negru elegant */
    --white: #ffffff;
    --grey: #f9f9f9;
    --shadow: 0 10px 20px rgba(0,0,0,0.08); /* Umbră fină */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: #333;
    line-height: 1.6;
}

/* =========================================
   2. NAVIGAȚIE (MENIUL DE SUS)
   ========================================= */
nav {
    background: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    position: sticky; /* Meniul rămâne sus când dai scroll */
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logo {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

    nav ul li a {
        color: var(--white);
        text-decoration: none;
        font-size: 0.9rem;
        text-transform: uppercase;
        transition: 0.3s;
    }

        nav ul li a:hover {
            color: var(--gold);
        }

.cart-link {
    background: var(--gold);
    color: var(--dark) !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
}

/* =========================================
   3. HERO SECTION (IMAGINEA MARE)
   ========================================= */
.hero {
    height: 60vh;
    /* Asigură-te că ai poza 'fundal.jpg' în folderul imagini sau schimbă numele */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('imagini/fundal.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
}

    .hero h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3.5rem;
        margin-bottom: 10px;
    }

.shop-header {
    background-color: var(--grey);
    padding: 50px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

    .shop-header h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

/* =========================================
   4. GRID PRODUSE (MAGAZIN)
   ========================================= */
.container {
    padding: 20px 10% 80px 10%;
}

h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--dark);
}

.gallery {
    display: grid;
    /* Asta face produsele să se așeze automat pe rânduri */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden; /* Colțuri rotunjite și la poză */
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
    padding-bottom: 20px;
}

    .item:hover {
        transform: translateY(-10px); /* Efect de ridicare */
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

    .item img {
        width: 100%;
        height: 350px;
        object-fit: cover; /* Taie poza frumos */
    }

    .item h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        margin: 15px 0 5px 0;
    }

    .item p {
        color: var(--gold);
        font-weight: bold;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

.btn-add {
    background: var(--dark);
    color: var(--gold);
    border: 2px solid var(--dark);
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
}

    .btn-add:hover {
        background: var(--gold);
        color: var(--dark);
        border-color: var(--gold);
    }

/* =========================================
   5. STILURI PENTRU COȘ (PAGE CART)
   ========================================= */
.cart-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

    .cart-row span {
        font-size: 1.1rem;
    }

.btn-remove {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

    .btn-remove:hover {
        background: #e60000;
    }

.cart-summary {
    text-align: right;
    font-size: 1.5rem;
    margin: 30px 0;
    font-weight: bold;
    color: var(--dark);
    border-top: 2px solid #eee;
    padding-top: 20px;
}

#cart-total {
    color: var(--gold);
}

/* =========================================
   6. FORMULAR CHECKOUT
   ========================================= */
.checkout-box {
    background: var(--grey);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

    .checkout-box h3 {
        margin-bottom: 20px;
        font-family: 'Playfair Display', serif;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--gold);
        }

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    border-radius: 5px;
}

    .btn-checkout:hover {
        background: var(--dark);
        color: var(--gold);
    }

/* Responsivitate pentru mobil */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    nav {
        padding: 15px 5%;
    }

    .container {
        padding: 20px 5%;
    }
}
/* =========================================
   STILURI PENTRU PAGINA DE CONTACT
   ========================================= */

/* Header-ul specific paginilor mici (Contact, Despre) */
.page-header {
    background-color: var(--dark);
    color: var(--gold);
    padding: 60px 20px;
    text-align: center;
}

    .page-header h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .page-header p {
        color: var(--white);
        font-size: 1.1rem;
    }

/* Containerul Flexbox (Stânga-Dreapta) */
.contact-container {
    display: flex;
    flex-wrap: wrap; /* Pe mobil trece unul sub altul */
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    gap: 50px;
}

/* Stilizare Coloana Stângă (Info) */
.contact-info {
    flex: 1; /* Ocupă jumătate */
    min-width: 300px;
}

    .contact-info h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: var(--dark);
        text-align: left; /* Aliniat la stânga, nu centrat ca în rest */
    }

.info-item {
    margin-top: 30px;
    padding-left: 15px;
    border-left: 3px solid var(--gold); /* O linie aurie fină în stânga */
}

    .info-item h3 {
        font-size: 1.2rem;
        color: var(--dark);
        margin-bottom: 5px;
    }

/* Stilizare Coloana Dreaptă (Formular) */
.contact-form-box {
    flex: 1; /* Ocupă cealaltă jumătate */
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
    border-radius: 10px;
    border: 1px solid #eee;
}

.btn-send {
    width: 100%;
    padding: 15px;
    background: var(--dark);
    color: var(--gold);
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

    .btn-send:hover {
        background: var(--gold);
        color: var(--dark);
    }

/* Link-ul activ din meniu (să se vadă că ești pe pagina Contact) */
.active-page {
    color: var(--gold) !important;
    border-bottom: 2px solid var(--gold);
}

/* Adaptare Mobil */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Pe telefon le punem una sub alta */
    }

    .contact-info h2 {
        text-align: center;
    }
}
/* =========================================
   3. HERO SECTION (IMAGINEA DE FUNDAL)
   ========================================= */
.hero {
    height: 60vh; /* Înălțimea secțiunii */
    /* 1. linear-gradient(...) -> Filtrul negru transparent (0.6 = 60% întunecat)
          Asta face poza să pară "ștearsă" și scrisul să fie foarte clar.
       2. url(...) -> Calea către poza ta locală
    */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('imagini/logo_mare.png');
    background-size: cover; /* Imaginea acoperă tot spațiul */
    background-position: center; /* Se centrează automat */
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

    .hero h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3.5rem;
        margin-bottom: 10px;
        /* O umbră fină la text pentru contrast maxim */
        text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    }

    .hero p {
        font-size: 1.2rem;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    }
/* =========================================
   PAGINA DE DETALII PRODUS
   ========================================= */
.product-detail-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    display: flex;
    gap: 50px;
    flex-wrap: wrap; /* Pe mobil se pun una sub alta */
    background: #fff;
}

/* Stânga: Galeria */
.product-gallery {
    flex: 1;
    min-width: 300px;
}

#main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: 0.3s;
}

    .thumbnail:hover {
        opacity: 1;
        border-color: var(--gold);
    }

/* Dreapta: Informații */
.product-info {
    flex: 1;
    min-width: 300px;
    padding-top: 20px;
}

#product-name {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

#product-price {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

#product-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-large {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.extra-info p {
    margin: 5px 0;
    color: #777;
    font-size: 0.9rem;
}

/* Adaptare Mobil */
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        gap: 20px;
    }

    #main-image {
        height: 350px;
    }
}
/* =========================================
   PAGINA DE DETALII PRODUS (produs.html)
   ========================================= */
.product-detail-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    background: #fff;
}

/* Stânga: Galeria */
.product-gallery {
    flex: 1;
    min-width: 300px;
}

#main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: 0.3s;
}

    .thumbnail:hover {
        opacity: 1;
        border-color: var(--gold);
    }

/* Dreapta: Informații */
.product-info {
    flex: 1;
    min-width: 300px;
    padding-top: 20px;
}

#product-name {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    color: var(--dark);
}

#product-price {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

#product-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-large {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.extra-info {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid var(--gold);
}

    .extra-info p {
        margin: 5px 0;
        color: #666;
        font-size: 0.95rem;
    }

/* =========================================
   ADAPTARE PENTRU MOBIL (RESPONSIVE)
   ========================================= */
@media (max-width: 768px) {
    /* 1. Meniul principal devine coloană */
    nav {
        flex-direction: column; /* Pune logo-ul sus și meniul sub el */
        padding: 15px 5%;
        gap: 15px; /* Spațiu între logo și butoane */
    }

    .logo {
        margin-bottom: 5px;
    }

    /* 2. Lista de link-uri se așază vertical sau pe 2 rânduri */
    nav ul {
        flex-wrap: wrap; /* Permite butoanelor să cadă pe rândul următor */
        justify-content: center; /* Le centrează */
        gap: 15px;
        width: 100%;
        padding: 0;
    }

        nav ul li {
            text-align: center;
        }

    /* 3. Butonul de coș să arate bine centrat */
    .cart-link {
        display: inline-block;
        margin-top: 5px; /* Un pic de spațiu extra */
    }

    /* Ajustări pentru titluri pe mobil */
    .hero h1 {
        font-size: 2.2rem; /* Micșorăm scrisul mare */
    }

    .product-detail-container {
        flex-direction: column; /* Pagina de produs una sub alta */
    }
}
/* Containerul Slide-show */
.slideshow-container {
    max-width: 600px; /* Am pus o lățime mai mică pentru produse */
    position: relative;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Ascunde imaginile by default */
.mySlides {
    display: none;
}

/* Butoanele Stânga/Dreapta */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0,0,0,0.2);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Zona de text și buton de jos */
.text-slide {
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

    .text-slide h3 {
        margin: 0 0 10px 0;
        color: #333;
    }

/* Butonul din slide */
.btn-slide {
    background-color: #d4af37; /* Auriu */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

    .btn-slide:hover {
        background-color: #b59020;
    }

/* Punctele (Dots) */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .active, .dot:hover {
        background-color: #717171;
    }

/* Animație */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}
/* Container pentru prețuri */
.preturi {
    margin: 10px 0;
    font-family: 'Poppins', sans-serif;
}

/* Stilul pentru prețul vechi (tăiat și gri) */
.pret-vechi {
    text-decoration: line-through; /* Linia care taie textul */
    color: #888; /* Gri */
    font-size: 16px;
    margin-right: 10px; /* Spațiu între prețuri */
}

/* Stilul pentru prețul nou (roșu și mare) */
.pret-nou {
    color: #e60000; /* Roșu aprins */
    font-weight: bold;
    font-size: 22px; /* Mai mare */
}

/* Ajustare mică la text-slide pentru a arăta bine */
.text-slide h3 {
    margin-bottom: 5px; /* Mai puțin spațiu sub titlu */
}
/* Stil pentru butonul de WhatsApp */
.btn-whatsapp {
    display: inline-block;
    background-color: #25D366; /* Verde WhatsApp */
    color: white;
    padding: 10px 20px;
    text-decoration: none; /* Scoate sublinierea linkului */
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

    .btn-whatsapp:hover {
        background-color: #128C7E; /* Verde mai închis la mouse over */
    }

.descriere-scurta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
.social-contact {
    margin-top: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-link {
    color: #d4af37; /* Auriul din logo-ul tău */
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .social-link:hover {
        color: #ffffff; /* Se schimbă în alb la trecerea cu mouse-ul */
    }