/* =========================================================
   Grădină de Sparanghel Covaci - Stiluri unificate
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7ed;
    background-image: url('grün.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: #1b3d1b;
    line-height: 1.6;
    min-height: 100vh;
}

/* ---------- Header (logo + nav) ---------- */
header {
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0a4e08;
}

.logo img {
    height: 70px;
    width: auto;
    border-radius: 8px;
}

.logo .site-name {
    font-size: 22px;
    font-weight: 700;
    color: #0a4e08;
    line-height: 1.2;
}

.logo .site-tag {
    font-size: 13px;
    color: #4a7a3a;
    font-style: italic;
}

/* Navigation */
nav {
    background-color: rgba(10, 78, 8, 0.95);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 14px 22px;
    transition: background-color 0.25s ease, color 0.25s ease;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #7c9950;
    color: #fff;
}

/* Mobile burger */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #0a4e08;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
}

.menu-toggle:hover {
    background-color: rgba(10, 78, 8, 0.1);
    color: #0a4e08;
    transform: none;
    box-shadow: none;
}

/* ---------- Hero (banner) ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #0a4e08;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero .hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    padding: 0 20px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 12px;
    color: #fff;
}

.hero h2 {
    font-size: 26px;
    font-weight: 400;
    color: #e8f5d5;
}

/* ---------- Main content ---------- */
main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px 25px;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

main h1, main h2, main h3 {
    color: #0a4e08;
    margin-bottom: 14px;
    margin-top: 18px;
}

main h1 {
    font-size: 32px;
    border-bottom: 3px solid #7c9950;
    padding-bottom: 8px;
}

main h2 {
    font-size: 24px;
}

main h3 {
    font-size: 20px;
}

main p {
    margin-bottom: 12px;
    color: #2a4a2a;
}

main ul, main ol {
    margin-left: 25px;
    margin-bottom: 14px;
    color: #2a4a2a;
}

main ul li, main ol li {
    margin-bottom: 6px;
}

main a {
    color: #0a4e08;
    text-decoration: underline;
}

main a:hover {
    color: #7c9950;
}

/* ---------- Ofertă specială ---------- */
.oferta {
    background: linear-gradient(135deg, #fff8dc 0%, #f0f8e8 100%);
    border: 3px dashed #c0392b;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
}

.oferta h2 {
    color: #c0392b;
    font-size: 30px;
    margin-bottom: 14px;
}

.oferta h3 {
    color: #0a4e08;
    margin: 8px 0;
}

.oferta .pret {
    font-size: 38px;
    font-weight: bold;
    color: #0a4e08;
    margin: 10px 0;
}

.oferta .cta-red {
    color: #c0392b;
    font-size: 26px;
    font-weight: bold;
    margin-top: 12px;
}

/* ---------- Despre noi (text + imagine) ---------- */
.despre-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

.despre-section img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 4px solid #7c9950;
}

/* ---------- Galerie poze ---------- */
.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.galerie img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    border: 6px solid #0a4e08;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.galerie img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- Rețete ---------- */
.reteta {
    background-color: rgba(255, 255, 255, 0.7);
    border-left: 6px solid #7c9950;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.reteta img {
    width: 100%;
    border: 3px solid #006400;
    border-radius: 8px;
    object-fit: cover;
}

.reteta h2 {
    color: #0a4e08;
    margin-bottom: 12px;
}

.reteta ul {
    background-color: #f0f7e8;
    padding: 15px 15px 15px 35px;
    border-radius: 6px;
    margin: 12px 0;
}

/* ---------- Beneficii ---------- */
.beneficiu {
    background-color: rgba(255, 255, 255, 0.7);
    border-left: 5px solid #7c9950;
    padding: 18px 22px;
    margin-bottom: 18px;
    border-radius: 6px;
}

.beneficiu h3 {
    color: #0a4e08;
    margin-top: 0;
}

.beneficii-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.beneficii-grid img {
    width: 100%;
    border-radius: 10px;
    border: 4px solid #7c9950;
    position: sticky;
    top: 100px;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
}

.contact-grid img {
    width: 100%;
    border-radius: 10px;
    border: 4px solid #7c9950;
    object-fit: cover;
}

.contact-info {
    background-color: #f0f7e8;
    padding: 25px;
    border: 4px double #0a4e08;
    border-radius: 12px;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.contact-info img.icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border: none;
    border-radius: 0;
}

.intro-contact {
    background: linear-gradient(135deg, #fff8dc 0%, #f0f8e8 100%);
    border: 8px double #0a4e08;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    font-style: italic;
    text-align: center;
    font-size: 17px;
    color: #0a4e08;
}

/* ---------- Formular ---------- */
form {
    max-width: 600px;
    margin: 25px auto;
    padding: 25px;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #0a4e08;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

button, .btn {
    background-color: #0a4e08;
    color: #ffffff;
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
}

/* Asigură text alb pe butoanele .btn, chiar dacă sunt în <main> (unde <a> primește verde închis) */
main a.btn,
main a.btn:hover {
    color: #ffffff;
    text-decoration: none;
}

button:hover, .btn:hover {
    background-color: #7c9950;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Icoane în interiorul butoanelor */
.btn img.btn-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border: none;
    border-radius: 0;
    flex-shrink: 0;
}

/* Culori brand pentru butoanele de social media (global, nu doar în .notice-banner) */
.btn-whatsapp {
    background-color: #25D366;
}
.btn-whatsapp:hover {
    background-color: #1da851;
}

.btn-facebook {
    background-color: #1877f2;
}
.btn-facebook:hover {
    background-color: #145dc1;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.btn-instagram:hover {
    background: linear-gradient(45deg, #e08a2e 0%, #d65f37 25%, #cc233c 50%, #bc1f5d 75%, #ac1480 100%);
}

.btn-phone {
    background-color: #0a4e08;
}
.btn-phone:hover {
    background-color: #145e10;
}

/* ---------- Magazin online ---------- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.produs {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease;
    border: 2px solid #7c9950;
}

.produs:hover {
    transform: translateY(-4px);
}

.produs img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.produs-info {
    padding: 18px;
}

.produs-info h3 {
    color: #0a4e08;
    margin-bottom: 8px;
}

.produs-info .pret {
    font-size: 22px;
    font-weight: bold;
    color: #c0392b;
    margin: 10px 0;
}

.produs-info .controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.produs-info input[type="number"] {
    width: 80px;
    margin-bottom: 0;
}

/* ---------- Banner notificare comenzi ---------- */
.notice-banner {
    background: linear-gradient(135deg, #fff4d6 0%, #ffe9a8 100%);
    border: 3px solid #d68910;
    border-radius: 12px;
    padding: 22px 25px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 3px 10px rgba(214, 137, 16, 0.2);
}

.notice-banner h2 {
    color: #b9770e;
    margin-top: 0;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.notice-banner p {
    color: #5d4314;
    font-size: 16px;
    margin: 10px auto;
    max-width: 700px;
}

.notice-banner .actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.notice-banner .btn-facebook {
    background-color: #1877f2;
}

.notice-banner .btn-facebook:hover {
    background-color: #145dc1;
}

.notice-banner .btn-whatsapp {
    background-color: #25D366;
}

.notice-banner .btn-whatsapp:hover {
    background-color: #1da851;
}

.notice-banner .btn-phone {
    background-color: #0a4e08;
}

/* ---------- Cos / Warenkorb ---------- */
.cos-empty {
    text-align: center;
    padding: 40px 20px;
    background-color: #fffbe7;
    border: 2px dashed #7c9950;
    border-radius: 10px;
    margin-top: 25px;
}

.cos-empty img {
    max-width: 100px;
    margin-bottom: 15px;
}

.cos-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cos-table th,
.cos-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e0e8d8;
}

.cos-table th {
    background-color: #0a4e08;
    color: white;
}

.cos-table tfoot td {
    font-weight: bold;
    background-color: #f0f7e8;
}

/* ---------- Footer ---------- */
footer {
    background-color: #0a4e08;
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
}

footer p {
    margin: 6px 0;
}

footer a {
    color: #c8e6a0;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-links img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .despre-section,
    .reteta,
    .beneficii-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .beneficii-grid img {
        position: static;
    }

    .hero h1 { font-size: 36px; }
    .hero h2 { font-size: 20px; }
    .hero { height: 260px; }
}

@media (max-width: 700px) {
    .header-inner {
        position: relative;
        padding: 10px 60px 10px 15px; /* spațiu în dreapta pentru hamburger */
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 14px;
        right: 10px;
        color: #0a4e08;
    }

    nav {
        display: none;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    main {
        margin: 15px;
        padding: 20px 18px;
    }

    .hero h1 { font-size: 28px; }
    .hero h2 { font-size: 16px; }
    .hero { height: 220px; }

    .oferta .pret { font-size: 28px; }

    .logo {
        gap: 8px;
        max-width: 100%;
    }
    .logo .site-name {
        font-size: 16px;
        line-height: 1.15;
    }
    .logo .site-tag {
        font-size: 10px;
        line-height: 1.2;
    }
    .logo img {
        height: 48px;
    }
}

/* Telefoane foarte înguste */
@media (max-width: 420px) {
    .header-inner {
        padding: 8px 54px 8px 10px;
    }

    .menu-toggle {
        font-size: 28px;
        top: 14px;
        right: 8px;
        padding: 4px 10px;
    }

    .logo {
        gap: 6px;
    }
    .logo .site-name {
        font-size: 14px;
    }
    .logo .site-tag {
        font-size: 9px;
    }
    .logo img {
        height: 40px;
    }
}
