/* 
    Diyetisyen Yaren Aktürk - Luxury Editorial Design System
    Palette: Ivory, Nude, Soft Beige, Dusty Rose, Stone Taupe
*/

:root {
    --primary: #DCAE96; /* Dusty Rose */
    --primary-dark: #C69A82;
    --secondary: #8B8589; /* Stone Taupe */
    --accent: #D2B48C; /* Tan/Beige */
    --bg-ivory: #FAF9F6;
    --bg-nude: #F5F5DC;
    --bg-warm: #FDFBF7;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #4A4A4A;
    --text-light: #7A7A7A;
    --border: rgba(139, 133, 137, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(220, 174, 150, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* --- Typography --- */
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(30px); transition: var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(250, 249, 246, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.header-btn {
    font-size: 0.8rem;
    padding: 10px 25px;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--bg-ivory);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-btn {
        display: none; /* Hide on mobile to save space, or show in menu */
    }
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background-color: var(--bg-warm);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    border-radius: 300px 300px 0 0;
    box-shadow: var(--shadow);
}

.hero-badge {
    position: absolute;
    bottom: 50px;
    left: -30px;
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-badge i { color: #fbbf24; font-size: 1.2rem; }
.hero-badge span { font-weight: 700; font-size: 1.1rem; }
.hero-badge small { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; }

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .hero-image {
        height: 50vh;
        border-radius: 200px 200px 0 0;
    }
}

/* --- Trust Bar --- */
.trust-bar {
    padding: 30px 0;
    background: var(--bg-nude);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-text h4 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.trust-text p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- About --- */
.about-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* --- Footer --- */
footer {
    background: var(--bg-warm);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-light);
    max-width: 300px;
}

.footer-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Utilities --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

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

.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 15px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 999;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .mobile-cta-bar { display: grid; }
    .floating-whatsapp { bottom: 90px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* =========================
   MOBILE RESPONSIVE PATCH
   ========================= */

@media (max-width: 992px) {

    /* Header */
    header {
        padding: 14px 0;
    }

    .logo {
        font-size: 1.15rem;
        max-width: 180px;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: unset;
        padding: 140px 0 80px;
    }

    .hero .container {
        gap: 40px;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 9vw, 3.4rem);
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -25px;
        width: max-content;
    }

    /* About / Contact */
    .about-flex {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 35px 25px;
    }

    /* Trust */
    .trust-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Footer Bottom */
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


@media (max-width: 768px) {

    h2.serif,
    .about-content h2 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .hero-image {
        height: 420px;
        border-radius: 180px 180px 0 0;
    }

    .hero-badge {
        padding: 18px;
    }

    .container {
        padding: 0 20px;
    }

    body {
        padding-bottom: 90px; /* mobile cta bar content kapatmasn */
    }
}


@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image {
        height: 340px;
        border-radius: 140px 140px 0 0;
    }

    .btn {
        padding: 14px 20px;
        font-size: 0.8rem;
    }

    .mobile-cta-bar {
        padding: 10px;
        gap: 10px;
    }
}