/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #171715;
    background: #f8f6f1;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

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

button,
input,
textarea {
    font: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {
    --black: #171715;
    --dark: #20201d;
    --cream: #f8f6f1;
    --white: #ffffff;
    --gold: #c7a35b;
    --gold-light: #ddc386;
    --gray: #77736a;
    --border: #dedbd2;

    --container: 1180px;
}


/* =========================
   GENERAL
========================= */

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.eyebrow {
    display: inline-block;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.eyebrow.dark {
    color: #9c7938;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    line-height: 1.1;
}

h2 {
    font-size: clamp(42px, 5vw, 68px);
}

h2 span,
h1 span {
    color: var(--gold);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.button-gold {
    background: var(--gold);
    color: var(--black);
}

.button-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.button-outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.button-outline:hover {
    background: white;
    color: var(--black);
}

.button-dark {
    background: var(--black);
    color: white;
    width: 100%;
    cursor: pointer;
}

.button-dark:hover {
    background: var(--gold);
    color: var(--black);
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s;
}

.header.scrolled {
    background: rgba(23, 23, 21, 0.95);
    backdrop-filter: blur(15px);
}

.nav {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: white;
}

.logo span {
    font-size: 11px;
    letter-spacing: 4px;
}

.logo strong {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    letter-spacing: 1px;
}

.desktop-nav {
    display: flex;
    gap: 36px;
    margin-left: auto;
    margin-right: 40px;
}

.desktop-nav a {
    color: white;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

.desktop-nav a:hover {
    color: var(--gold-light);
}

.nav-button {
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 11px 20px;
    font-size: 13px;
}

.menu-button {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 27px;
    height: 2px;
    background: white;
    margin: 5px 0;
}


/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--black);
    z-index: 999;
    padding: 25px;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    color: white;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    position: relative;
    background:
        url("images/hero.jpg")
        center / cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(15,15,13,0.88),
            rgba(15,15,13,0.45),
            rgba(15,15,13,0.2)
        );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 700px;
    color: white;
    padding-top: 80px;
}

.hero h1 {
    font-size: clamp(58px, 8vw, 105px);
    margin-bottom: 30px;
}

.hero p {
    max-width: 550px;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 38px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}


/* =========================
   ABOUT
========================= */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-image {
    height: 650px;
    overflow: hidden;
}

.about-image img {
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content > p {
    color: var(--gray);
    max-width: 560px;
    margin-bottom: 18px;
}

.about-points {
    margin-top: 40px;
}

.about-points div {
    display: flex;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}

.about-points span {
    color: var(--gold);
    font-weight: 700;
}

.about-points p {
    font-weight: 600;
}


/* =========================
   PRODUCTS
========================= */

.products {
    background: white;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px;
    gap: 40px;
}

.section-heading > p {
    max-width: 430px;
    color: var(--gray);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--cream);
}

.product-image {
    height: 440px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

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

.product-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    color: var(--black);
    padding: 8px 13px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

.product-content {
    padding: 28px;
}

.product-category {
    color: #9c7938;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.product-content h3 {
    font-size: 28px;
    margin: 10px 0;
}

.product-content p {
    color: var(--gray);
    margin-bottom: 22px;
}

.product-link {
    color: var(--black);
    font-weight: 700;
    font-size: 13px;
}


/* =========================
   WHY
========================= */

.why {
    background: var(--dark);
    color: white;
}

.centered {
    display: block;
    text-align: center;
}

.centered > p {
    margin: 25px auto 0;
    color: rgba(255,255,255,0.6);
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
}

.feature {
    padding: 35px;
    border-left: 1px solid rgba(255,255,255,0.12);
}

.feature:last-child {
    border-right: 1px solid rgba(255,255,255,0.12);
}

.feature-number {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 50px;
}

.feature h3 {
    font-size: 27px;
    margin-bottom: 15px;
}

.feature p {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 120px 20px;
    text-align: center;
    background:
        linear-gradient(
            rgba(20,20,18,0.8),
            rgba(20,20,18,0.8)
        ),
        url("images/pokloni.jpg")
        center / cover no-repeat;
    color: white;
}

.cta-content {
    max-width: 750px;
}

.cta h2 {
    margin-bottom: 25px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 35px;
    color: rgba(255,255,255,0.7);
}


/* =========================
   CONTACT
========================= */

.contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-info h2 {
    margin-bottom: 25px;
}

.contact-info > p {
    color: var(--gray);
    max-width: 500px;
    margin-bottom: 45px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--gold);
}

.contact-item small {
    display: block;
    color: var(--gray);
    font-size: 9px;
    letter-spacing: 2px;
}

.contact-item a,
.contact-item p {
    font-weight: 600;
}

.socials {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    font-size: 13px;
    font-weight: 700;
}

.socials a:hover {
    color: var(--gold);
}

.contact-card {
    background: white;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.07);
}

.contact-card h3 {
    font-size: 35px;
}

.contact-card > p {
    color: var(--gray);
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    border: 1px solid var(--border);
    background: var(--cream);
    padding: 16px;
    outline: none;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--gold);
}

#formMessage {
    margin-top: 15px;
    color: #478b57;
    font-size: 13px;
}


/* =========================
   MAP
========================= */

.map-section {
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1);
}


/* =========================
   FOOTER
========================= */

.footer {
    background: var(--black);
    color: white;
    padding: 35px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    color: white;
}

.footer p {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
}

.back-top {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    z-index: 900;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.whatsapp:hover {
    transform: scale(1.1);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .desktop-nav,
    .nav-button {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        height: 500px;
    }

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

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

    .feature {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 25px;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, var(--container));
    }

    .nav {
        height: 75px;
    }

    .mobile-menu {
        top: 75px;
    }

    .hero {
        min-height: 750px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

    .product-image {
        height: 380px;
    }

    .feature {
        border-left: 0;
        border-right: 0 !important;
    }

    .feature-number {
        margin-bottom: 25px;
    }

    .contact-card {
        padding: 30px 22px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .map-section {
        height: 300px;
    }

}
