﻿/* ========================================
   GLOBAL
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600&family=Playfair+Display:wght@400;500&display=swap');

:root {
    --pink-light: #fdf4f5;
    --pink-soft: #f7e4e7;
    --pink: #d9a6ad;
    --pink-dark: #b77d86;
    --cream: #fffaf8;
    --white: #ffffff;
    --text: #4a3c3e;
    --text-light: #8d7b7e;
    --gold: #b99a6b;
    --border: #f0dfe2;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    margin: 0;
    padding: 0;
    direction: rtl;
    font-family: "Vazirmatn", sans-serif;
    background: var(--cream);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font-family: inherit;
}

.home {
    width: 100%;
    overflow: hidden;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;
    width: 100%;
    /*
       مهم:
       100dvh برای موبایل بهتر از 100vh است.
       باعث می‌شود Hero دقیقاً اندازه viewport
       واقعی دستگاه باشد.
    */
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
    background: radial-gradient( circle at 20% 20%, rgba(247, 228, 231, 0.8), transparent 35% ), radial-gradient( circle at 80% 80%, rgba(217, 166, 173, 0.15), transparent 35% ), var(--cream);
}


    /* ========================================
   HERO DECORATIONS
======================================== */

    .hero::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: var(--pink-soft);
        opacity: 0.35;
        top: -100px;
        left: -100px;
        pointer-events: none;
    }

    .hero::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 1px solid rgba(185, 154, 107, 0.2);
        bottom: -70px;
        right: -50px;
        pointer-events: none;
    }


/* ========================================
   HERO CONTENT
======================================== */

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
    margin: auto;
}


/* ========================================
   HERO LOGO
======================================== */

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.hero-logo {
    display: block;
    width: 250px;
    max-width: 70vw;
    height: auto;
}


/* ========================================
   HERO SUBTITLE
======================================== */

.hero-subtitle {
    display: block;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--pink-dark);
    direction: ltr;
}


/* ========================================
   HERO TITLE
======================================== */

.hero h1 {
    margin: 30px 0 14px;
    font-size: 48px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--text);
}


/* ========================================
   HERO DESCRIPTION
======================================== */

.hero p {
    max-width: 450px;
    margin: 0 auto 35px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
}


/* ========================================
   PRIMARY BUTTON
======================================== */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 14px 32px;
    background: var(--text);
    color: var(--white);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 400;
    box-shadow: 0 8px 25px rgba(74, 60, 62, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

    .primary-button:hover {
        transform: translateY(-3px);
        background: var(--pink-dark);
        box-shadow: 0 12px 30px rgba(183, 125, 134, 0.25);
    }


/* ========================================
   SERVICES
======================================== */

.services {
    position: relative;
    width: 100%;
    padding: 110px 20px;
    background: var(--white);
}


/* ========================================
   SECTION TITLE
======================================== */

.section-title {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

    .section-title h2 {
        margin: 0;
        font-size: 30px;
        font-weight: 500;
        color: var(--text);
    }

    .section-title p {
        margin: 12px 0 0;
        color: var(--text-light);
        font-size: 14px;
        font-weight: 300;
    }


/* ========================================
   SERVICE CARDS
======================================== */

.service-cards {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}


/* ========================================
   SERVICE CARD
======================================== */

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .service-card:hover {
        transform: translateY(-4px);
        border-color: var(--pink);
        box-shadow: 0 20px 40px rgba(183, 125, 134, 0.12);
    }


    /* ========================================
   SERVICE TITLE
======================================== */

    .service-card h3 {
        margin: 0 0 15px;
        font-size: 18px;
        font-weight: 600;
        color: var(--text);
    }


/* ========================================
   SERVICE META
======================================== */

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .service-meta span {
        color: var(--text-light);
        font-size: 13px;
        font-weight: 300;
    }


/* ========================================
   ABOUT
======================================== */

.about {
    position: relative;
    padding: 110px 20px;
    text-align: center;
    background: var(--pink-light);
    overflow: hidden;
}

    .about::before {
        content: "♡";
        position: absolute;
        left: -20px;
        top: -60px;
        font-family: serif;
        font-size: 180px;
        color: var(--pink-soft);
        opacity: 0.5;
        pointer-events: none;
    }

.about-content {
    position: relative;
    z-index: 1;
    max-width: 550px;
    margin: 0 auto;
}

    .about-content h2 {
        margin: 0;
        font-size: 30px;
        font-weight: 500;
    }

    .about-content p {
        margin: 20px 0 0;
        color: var(--text-light);
        font-size: 14px;
        font-weight: 300;
        line-height: 2.2;
    }


/* ========================================
   CTA / CONTACT
======================================== */

.cta {
    padding: 110px 20px;
    text-align: center;
    background: var(--cream);
}

    .cta h2 {
        margin: 0;
        font-size: 30px;
        font-weight: 500;
    }

    .cta > p {
        margin: 15px 0 30px;
        color: var(--text-light);
        font-size: 14px;
        font-weight: 300;
    }


/* ========================================
   CONTACT INFO
======================================== */

.contact-info {
    max-width: 600px;
    margin: 30px auto 0;
}

    .contact-info p {
        margin: 0 0 18px;
        color: var(--text-light);
        font-size: 14px;
        line-height: 2.2;
    }

    .contact-info a {
        color: var(--text);
        transition: color 0.2s ease;
    }

        .contact-info a:hover {
            color: var(--pink-dark);
        }


/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 45px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--pink-light);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-image {
    display: block;
    width: 80px;
    height: auto;
}

.footer p {
    margin: 12px 0 0;
    color: var(--text-light);
    font-size: 11px;
}


/* ========================================
   RESERVATION PAGE
======================================== */

.reservation-page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--cream);
}

.reservation-card {
    width: 100%;
    max-width: 550px;
    padding: 35px;
    background: var(--white);
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

    .reservation-card h1 {
        margin: 0;
        text-align: center;
        font-size: 28px;
        font-weight: 500;
    }

.subtitle {
    margin: 10px 0 30px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}


/* ========================================
   FORM
======================================== */

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 400;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        height: 50px;
        padding: 0 14px;
        border: 1px solid #ead9de;
        border-radius: 14px;
        background: var(--white);
        color: var(--text);
        font-family: inherit;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .form-group input:focus,
        .form-group select:focus {
            border-color: var(--pink);
            box-shadow: 0 0 0 3px rgba(217, 166, 173, 0.12);
        }


/* ========================================
   RESERVATION BUTTON
======================================== */

.reserve-btn {
    width: 100%;
    height: 54px;
    margin-top: 10px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    background: var(--pink-dark);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .reserve-btn:hover {
        background: var(--text);
        transform: translateY(-2px);
    }


/* ========================================
   SUCCESS
======================================== */

.success-box {
    margin-top: 20px;
    padding: 14px;
    border-radius: 14px;
    background: #f3fff6;
    border: 1px solid #d8f1de;
    color: #1d6a32;
    font-size: 14px;
    line-height: 1.8;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    /* ------------------------------------
       HERO
    ------------------------------------ */

    .hero {
        /*
           قبلاً 88vh بود و باعث می‌شد
           ابتدای Services پایین صفحه دیده شود.

           حالا Hero یک viewport کامل است.
        */
        height: 100dvh;
        min-height: 100dvh;
        padding: 30px 20px;
    }


    .hero-content {
        max-width: 500px;
    }


    /* ------------------------------------
       LOGO
    ------------------------------------ */

    .hero-logo {
        width: 220px;
        max-width: 65vw;
    }


    /* ------------------------------------
       SUBTITLE
    ------------------------------------ */

    .hero-subtitle {
        margin-top: 6px;
        font-size: 8px;
        letter-spacing: 3px;
    }


    /* ------------------------------------
       HERO TITLE
    ------------------------------------ */

    .hero h1 {
        margin: 24px 0 12px;
        font-size: 36px;
        line-height: 1.5;
    }


    /* ------------------------------------
       HERO DESCRIPTION
    ------------------------------------ */

    .hero p {
        max-width: 350px;
        margin-bottom: 28px;
        font-size: 13px;
        line-height: 2;
    }


    /* ------------------------------------
       BUTTON
    ------------------------------------ */

    .primary-button {
        min-width: 150px;
        padding: 13px 26px;
        font-size: 12px;
    }


    /* ------------------------------------
       SERVICES
    ------------------------------------ */

    .services {
        padding: 80px 14px;
    }


    .section-title {
        margin-bottom: 35px;
    }


        .section-title h2 {
            font-size: 26px;
        }


        .section-title p {
            margin-top: 10px;
            font-size: 13px;
        }


    .service-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }


    .service-card {
        padding: 20px;
        border-radius: 20px;
    }


        .service-card h3 {
            font-size: 17px;
        }


    .service-meta span {
        font-size: 12px;
    }


    /* ------------------------------------
       ABOUT
    ------------------------------------ */

    .about {
        padding: 80px 20px;
    }


    .about-content h2 {
        font-size: 26px;
    }


    .about-content p {
        font-size: 13px;
        line-height: 2;
    }


    /* ------------------------------------
       CONTACT
    ------------------------------------ */

    .cta {
        padding: 80px 20px;
    }


        .cta h2 {
            font-size: 26px;
        }


        .cta > p {
            font-size: 13px;
        }


    .contact-info p {
        font-size: 13px;
        line-height: 2.1;
    }


    /* ------------------------------------
       FOOTER
    ------------------------------------ */

    .footer {
        padding: 35px 20px;
    }


    .footer-logo-image {
        width: 70px;
    }
}


/* ========================================
   VERY SMALL MOBILE
======================================== */

@media (max-width: 380px) {

    .hero {
        padding: 25px 18px;
    }


    .hero-logo {
        width: 190px;
    }


    .hero h1 {
        margin-top: 20px;
        font-size: 31px;
    }


    .hero p {
        font-size: 12px;
        line-height: 1.9;
        margin-bottom: 24px;
    }


    .hero-subtitle {
        font-size: 7px;
        letter-spacing: 2.5px;
    }


    .primary-button {
        min-width: 145px;
        padding: 12px 24px;
    }


    .services {
        padding: 70px 12px;
    }


    .service-card {
        padding: 18px;
    }
}


/* ========================================
   LANDSCAPE MOBILE
======================================== */

@media (max-height: 600px) and (orientation: landscape) {

    .hero {
        height: auto;
        min-height: 100dvh;
        padding-top: 30px;
        padding-bottom: 30px;
    }


    .hero-logo {
        width: 150px;
    }


    .hero h1 {
        margin: 15px 0 8px;
        font-size: 28px;
    }


    .hero p {
        margin-bottom: 18px;
        font-size: 12px;
        line-height: 1.7;
    }
}
.hero h1:focus,
.hero h1:focus-visible {
    outline: none;
}