/* 
   FUADO SAKIZ DONDURMA + CAFE 
   Ajan 1: Aurora (Tasarım Sistemi - Design Tokens)
   Ajan 2: Nova (CSS Architecture - Extended)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Renk Paleti (Aurora'nın Seçimleri) */
    --color-primary: #2aa8b4; /* Turkuaz/Teal */
    --color-primary-dark: #1d767e;
    --color-secondary: #F472B6; /* Pembe/Pink */
    --color-secondary-dark: #DB2777;
    --color-accent-1: #34D399; /* Yeşil/Green */
    --color-accent-2: #FB923C; /* Turuncu/Orange */
    --color-bg: #FAFAF9; /* Krem/Cream */
    --color-surface: #FFFFFF;
    --color-text: #1F2937; /* Koyu Kömür */
    --color-text-light: #6B7280;

    /* Tipografi */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Gölgeler ve Radius */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

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

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

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 250, 249, 0.7); /* Translucent start */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 135px; /* Large header at start */
    transition: height var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background-color: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-md);
    height: 85px; /* Compact header on scroll */
}

.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Split nav setup */
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-height: 115px;
    width: auto;
    transition: max-height var(--transition-normal), transform var(--transition-normal);
    transform-origin: center center;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

.header.scrolled .logo img {
    max-height: 65px; /* Scales down cleanly */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
    vertical-align: middle;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-secondary);
}

/* Hamburger Button (Mobile Only) */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
    padding: 0;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-drawer.active {
    opacity: 1;
    visibility: visible;
}

.drawer-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: var(--color-bg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active .drawer-content {
    transform: translateX(0);
}

.close-drawer {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--color-text-light);
    line-height: 1;
}

.close-drawer:hover {
    color: var(--color-text);
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.drawer-link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
}

.drawer-link:hover {
    color: var(--color-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(42, 168, 180, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background-color: var(--color-accent-2);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
}

/* Hero Section with Parallax Base */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Parallax Elements */
.parallax-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%;
    z-index: 1;
    background: url('../img/wave-bg.svg') no-repeat bottom center;
    background-size: cover;
    opacity: 0.8;
}

.floating-element {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

/* Section Common */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 3rem;
}

/* Cards (Menu / About) */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* Yorumlar Bölümü */
/* Yorumlar Bölümü - Kaydırıcı (Slider) Tasarımı */
.reviews-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1rem;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.review-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 3rem) / 3); /* Default 3 columns desktop */
    flex-shrink: 0;
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-secondary);
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .review-slide {
        width: calc((100% - 1.5rem) / 2); /* 2 columns tablet */
    }
}

@media (max-width: 768px) {
    .review-slide {
        width: 100%; /* 1 column mobile */
    }
}

.slider-btn {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--color-primary-dark);
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    user-select: none;
    flex-shrink: 0;
    line-height: 1;
    padding-bottom: 5px;
}

.slider-btn:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.stars-display {
    color: #FBBF24; /* Gold Star Color */
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: bold;
    color: var(--color-primary-dark);
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Yıldız Seçimi Form */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 2rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #D1D5DB;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FBBF24;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.close-btn {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
}

.close-btn:hover {
    color: var(--color-text);
}

/* Google Haritalar */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer a {
    color: var(--color-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        height: 80px; /* Shorter mobile header */
    }
    .header.scrolled {
        height: 70px;
    }
    .nav {
        grid-template-columns: auto 1fr auto; /* Menu button, Logo, Right Space */
        justify-content: space-between;
    }
    .nav-left, .nav-right {
        display: none; /* Hide desktop links & button */
    }
    .hamburger-btn {
        display: flex; /* Show hamburger button */
    }
    .logo img {
        max-height: 60px;
    }
    .header.scrolled .logo img {
        max-height: 48px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Preloader Animations */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}
