/* Dağlıoğlu Gurme - Luxury Restaurant Website */

/* ========================================
   FONT FACE - Roundex
   ======================================== */
@font-face {
    font-family: 'Roundex';
    src: url('../assets/fonts/Roundex.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --color-primary: #9e9a8d;
    --color-accent: #80011f;
    --color-white: #ffffff;
    --color-dark: #2c2c2c;
    --color-light: #f5f5f0;
    
    --font-primary: 'Roundex', serif;
    --font-secondary: 'Georgia', 'Times New Roman', serif;
    
    --border-radius-sm: 30px;
    --border-radius-md: 50px;
    --border-radius-lg: 80px;
    --border-radius-xl: 120px;
    
    /* Organic blob shapes using clip-path */
    --blob-1: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    --blob-2: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    --blob-soft: ellipse(60% 50% at 50% 50%);
    
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 50px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 25px 70px rgba(0, 0, 0, 0.18);
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

h1 {
    font-size: 4.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 3.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 2.5rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.9;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-primary);
}

/* ========================================
   LAYOUT
   ======================================== */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-top: 160px; /* Wave header height (~100px) + SVG wave (60px) */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Creative organic background elements */
.section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(158, 154, 141, 0.08) 0%, transparent 70%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    z-index: -1;
    animation: float 25s ease-in-out infinite;
}

.section:nth-child(even)::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(128, 1, 31, 0.06) 0%, transparent 70%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    z-index: -1;
    animation: float 30s ease-in-out infinite reverse;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 8px;
    background: radial-gradient(ellipse at center, var(--color-accent) 0%, transparent 70%);
    border-radius: 50px;
    clip-path: ellipse(100% 50% at 50% 50%);
}

/* ========================================
   WAVE HEADER & NAVIGATION
   ======================================== */
.wave-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f5f5f0;
    overflow: visible;
}

.wave-svg-container {
    display: none; /* Desktop'ta gizli */
}

.wave-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Kavisin ortasındaki logo - Desktop'ta gizli */
.wave-logo-center {
    display: none;
}

.wave-logo-link-center img {
    max-width: 60px;
    height: auto;
    display: block;
}


.wave-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 40px 22px; /* altı büyüttük */
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.wave-logo {
    display: flex;
    align-items: center;
}

.wave-logo-link {
    position: relative;
    top: 4px;
    display: block;
}

.wave-logo-link img {
    height: 50px;
    width: auto;
    max-height: 50px;
}


.wave-nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.wave-nav-menu li {
    position: relative;
}

.wave-nav-menu a {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    color: var(--color-dark);
    text-transform: lowercase;
    letter-spacing: 1px;
    padding: 10px 0;
    display: block;
    text-decoration: none;
}

.wave-svg {
    width: 100%;
    height: 60px;
    display: block;
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(158, 154, 141, 0.1) 0%, rgba(128, 1, 31, 0.05) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Hero arka plan resimleri */
.hero-home {
    background-image: url('../assets/images/hero-default.jpg');
}

.hero-about {
    background-image: url('../assets/images/hero-about.jpg');
}

.hero-contact {
    background-image: url('../assets/images/hero-contact.jpg');
}

/* Hero overlay - yazıların okunabilir olması için */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 245, 240, 0.75);
    z-index: 0;
}

/* Hero dekoratif element */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(158, 154, 141, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

/* Hero ikinci dekoratif element - kaldırıldı, ::after overlay için kullanılıyor */

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -30px) rotate(5deg);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    color: var(--color-dark);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
    margin-bottom: 60px;
}

/* Scroll Down Indicator - Mouse Wheel Style */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 40px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.scroll-arrow {
    width: 34px;
    height: 54px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Mouse body - oval shape */
.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 54px;
    border: 2.5px solid var(--color-dark);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Scroll wheel - animated */
.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-dark);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
    box-shadow: 0 10px 0 var(--color-dark), 0 20px 0 var(--color-dark);
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(24px);
    }
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(3px);
}

.scroll-indicator:hover .scroll-arrow::before {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 1);
}

.scroll-indicator:hover .scroll-arrow::after {
    background: var(--color-accent);
    box-shadow: 0 10px 0 var(--color-accent), 0 20px 0 var(--color-accent);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 18px 45px;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    text-transform: lowercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-xl);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
    clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-5px);
}

.btn-outline {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
    background: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   CARDS & FEATURES
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(158, 154, 141, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-strong);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--color-accent);
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.feature-card p {
    font-size: 1rem;
    color: var(--color-primary);
    line-height: 1.8;
    position: relative;
    z-index: 5;
}

.feature-card a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    display: inline-block;
}

.feature-card a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ========================================
   CATEGORY GRID STYLE
   ======================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    cursor: pointer;
    clip-path: polygon(6% 0, 94% 0, 100% 6%, 100% 94%, 94% 100%, 6% 100%, 0 94%, 0 6%);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.category-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

/* Kategori resim img elementi - görünmez, sadece preload için */
.category-image .category-img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Kategori resim yükleme optimizasyonu */
.category-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0.3;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-image .category-img.loaded {
    opacity: 1;
}

.category-image .category-img:not(.loaded) {
    opacity: 0.5;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.category-overlay h3 {
    color: var(--color-white);
    font-size: 1.75rem;
    text-align: center;
    margin: 0;
    font-family: var(--font-primary);
}

/* Geri Butonu */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    transform: none !important;
    position: fixed;
    top: 15px;
    left: 10px;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.btn-back:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: none !important;
}

.btn-back:active {
    transform: none !important;
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-back span {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Ürün Fiyat Stili */
.urun-fiyat {
    float: right;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.125rem;
}

.instagram-post-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-accent);
}

.tab-btn.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.admin-tab-content {
    display: none !important;
}

.admin-tab-content.active {
    display: block !important;
}

/* ========================================
   ADMIN LOGIN PANEL
   ======================================== */
.admin-login-panel {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(158, 154, 141, 0.05) 0%, rgba(128, 1, 31, 0.02) 100%);
}

.admin-login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.admin-login-box {
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-strong);
    clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%);
}

.admin-login-box h2 {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.login-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-dark);
    background: var(--color-white);
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(128, 1, 31, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 10px;
}

.login-error {
    display: block;
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .admin-login-box {
        padding: 40px 30px;
    }
    
    .admin-login-box h2 {
        font-size: 1.75rem;
    }
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-header h3 {
    margin: 0;
    font-size: 1.75rem;
}

.admin-table-wrapper {
    overflow-x: auto;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--color-light);
}

.admin-table th {
    padding: 15px;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
    border-bottom: 2px solid var(--color-primary);
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-dark);
}

.admin-table tbody tr:hover {
    background: var(--color-light);
}

.btn-edit, .btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-right: 5px;
}

.btn-edit {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-edit:hover {
    background: var(--color-accent);
}

.btn-delete {
    background: #dc3545;
    color: var(--color-white);
}

.btn-delete:hover {
    background: #c82333;
}

.admin-select {
    padding: 10px 15px;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    background: var(--color-white);
    color: var(--color-dark);
    cursor: pointer;
}

.admin-select:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Admin Modal */
.admin-modal {
    display: none !important;
    position: fixed !important;
    z-index: 9999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: auto !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.admin-modal[style*="display: block"] {
    display: block !important;
}

.admin-modal-content {
    background-color: var(--color-white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-strong);
}

.admin-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.admin-modal-close {
    color: var(--color-primary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.admin-modal-close:hover {
    color: var(--color-accent);
}

.admin-modal-body {
    padding: 30px;
}

.admin-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-table-wrapper {
        padding: 10px;
    }

    .admin-table {
        font-size: 0.875rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
}

/* ========================================
   INSTAGRAM FEED STYLE
   ======================================== */
.instagram-feed {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.instagram-post {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.instagram-post-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1002;
}

.instagram-profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1003;
}

.instagram-username {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
}

.instagram-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.instagram-post-image {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: opacity 0.2s ease;
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Eager loading için (ilk 3 resim) */
.instagram-post-image[fetchpriority="high"] {
    opacity: 1;
    animation: none;
}

/* Lazy loading için placeholder */
.instagram-post-image[loading="lazy"] {
    opacity: 0.3;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    transition: opacity 0.3s ease;
}

.instagram-post-image[loading="lazy"]:not([src=""]) {
    animation: fadeInImage 0.4s ease forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Resim yüklenirken gösterilecek placeholder */
.instagram-post-image:not([src]),
.instagram-post-image[src=""],
.instagram-post-image[src="undefined"] {
    opacity: 0.5;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.like-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 80px;
    pointer-events: none;
    z-index: 10;
    display: none;
}

@keyframes likeAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.instagram-post-actions {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-btn:active {
    transform: scale(0.9);
    opacity: 0.7;
}

.instagram-icon {
    width: 24px;
    height: 24px;
    stroke: #262626;
    fill: none;
    transition: all 0.2s ease;
}

.like-icon {
    stroke: #262626;
    fill: none;
}

.like-icon.liked {
    stroke: #ed4956;
    fill: #ed4956;
}

.comment-icon {
    stroke: #262626;
}

.share-icon {
    stroke: #262626;
}

.save-icon {
    stroke: #262626;
}

.action-btn:hover .instagram-icon {
    opacity: 0.6;
}

/* Masaüstünde paylaş butonunu gizle */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* Mobilde paylaş butonunu göster */
@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex;
    }
}

.instagram-post-stats {
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.likes-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.liked-by-avatars {
    display: flex;
    align-items: center;
}

.avatar-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

.like-text {
    font-size: 0.9rem;
    color: var(--color-dark);
}

.like-text strong {
    font-weight: 600;
}

.like-count {
    font-weight: 600;
}

.urun-adi {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 1rem;
}

.instagram-comments {
    padding: 8px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 8px;
}

.comment-item {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--color-dark);
    line-height: 1.5;
}

.comment-item strong {
    margin-right: 5px;
}

.instagram-post-content {
    padding: 12px 16px;
}

.instagram-post-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 15px;
}

.urun-adi {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 1rem;
    flex: 1;
}

.urun-fiyat {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 1rem;
    white-space: nowrap;
}

.instagram-post-description {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.5;
}

.instagram-post-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.instagram-post-description {
    font-size: 0.875rem;
    color: var(--color-primary);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   MENU SECTION
   ======================================== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.menu-item {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    clip-path: polygon(6% 0, 94% 0, 100% 6%, 100% 94%, 94% 100%, 6% 100%, 0 94%, 0 6%);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.menu-item-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.menu-item-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(158, 154, 141, 0.8), rgba(128, 1, 31, 0.6));
    opacity: 0;
    transition: var(--transition-smooth);
}

.menu-item:hover .menu-item-image::after {
    opacity: 1;
}

.menu-item-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.menu-item h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-dark);
}

.menu-item-price {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-accent);
    white-space: nowrap;
    margin-left: 20px;
}

.menu-item p {
    font-size: 1rem;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.7;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 60px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-strong);
    clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%);
    position: relative;
}

/* ========================================
   MAP WRAPPER
   ======================================== */
.map-wrapper {
    max-width: 1200px;
    margin: 60px auto 0;
    background: var(--color-white);
    padding: 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
    clip-path: polygon(6% 0, 94% 0, 100% 6%, 100% 94%, 94% 100%, 6% 100%, 0 94%, 0 6%);
    position: relative;
    overflow: visible;
    transition: var(--transition-smooth);
}

.map-header {
    padding: 30px 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(158, 154, 141, 0.05) 0%, rgba(128, 1, 31, 0.03) 100%);
    border-bottom: 2px solid rgba(158, 154, 141, 0.1);
    position: relative;
    z-index: 3;
}

.map-header-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.map-header-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 0;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 2px;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(158, 154, 141, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

.map-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(128, 1, 31, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.map-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.map-wrapper:hover::before {
    opacity: 1;
}

.map-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    z-index: 2;
    margin: 0 20px 20px;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(158, 154, 141, 0.1) 0%, rgba(128, 1, 31, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.map-wrapper:hover .map-container::before {
    opacity: 1;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-md);
    z-index: 2;
    transition: var(--transition-smooth);
    filter: grayscale(0%) brightness(1);
}

.map-wrapper:hover .map-container iframe {
    filter: grayscale(0%) brightness(1.02);
    transform: scale(1.01);
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(158, 154, 141, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 15s ease-in-out infinite;
}

.contact-wrapper::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(128, 1, 31, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 20s ease-in-out infinite reverse;
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    color: var(--color-dark);
    margin-bottom: 12px;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group .form-control,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid rgba(158, 154, 141, 0.3);
    border-radius: var(--border-radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    background: var(--color-light);
    color: var(--color-dark);
    transition: var(--transition-smooth);
    clip-path: polygon(3% 0, 97% 0, 100% 3%, 100% 97%, 97% 100%, 3% 100%, 0 97%, 0 3%);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group .form-control:focus,
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(128, 1, 31, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a1a 100%);
    color: var(--color-light);
    padding: 80px 0 40px;
    margin-top: 100px;
    clip-path: polygon(0 8%, 50% 0, 100% 8%, 100% 100%, 0 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, transparent 0%, rgba(158, 154, 141, 0.1) 50%, transparent 100%);
    clip-path: ellipse(100% 50% at 50% 0%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--color-white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 2;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: none;
    position: relative;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50px;
}

.footer-credits {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.footer-credits-text {
    font-family: var(--font-primary);
    font-size: 14px;
    color: #cfcfcf;
    white-space: nowrap;
    margin: 0;
}

.footer-logo-link {
    display: inline-block;
    transition: var(--transition-smooth);
    opacity: 0.9;
}

.footer-logo-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-logo {
    height: 85px;
    width: auto;
    max-height: 85px;
    display: block;
    opacity: 0.9;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

/* ========================================
   MOBILE APP-LIKE DESIGN
   ======================================== */
@media (max-width: 768px) {
    /* Mobile-first app experience */
    html {
        -webkit-tap-highlight-color: transparent;
        touch-action: pan-y;
    }

    body {
        padding-bottom: 90px; /* Space for bottom nav */
        overscroll-behavior-y: contain;
    }

    /* Wave header mobile adjustments */
    .wave-header-container {
        padding: 15px 20px;
        justify-content: flex-start !important;
    }

    .wave-logo-link {
        font-size: 1.125rem;
    }

    /* Mobil görünümde navbar'daki logoyu gizle */
    .wave-header-container .wave-logo {
        display: none;
    }

    /* Kavisin ortasındaki logo - Mobilde görünür */
    .wave-logo-center {
        display: block !important;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 100;
    }

    .wave-logo-link-center {
        display: block;
    }

    .wave-logo-link-center img {
        width: 50px !important;
        height: auto !important;
        max-width: 50px !important;
        display: block;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
        background: #f5f5f0;
        padding: 5px;
        border-radius: 8px;
    }

    /* Mobil görünümde üst menü tamamen gizleniyor - alt navigasyon kullanılıyor */
    .wave-nav {
        display: none !important;
    }
    
    .wave-nav-menu {
        display: none !important;
    }

    /* Mobil görünümde kavisli alan göster */
    .wave-svg-container {
        display: block !important;
        position: absolute;
        bottom: -80px;
        left: 0;
        right: 0;
        height: 80px;
        overflow: visible;
        z-index: 1;
        background: #f5f5f0;
    }

    .wave-svg {
        width: 100%;
        height: 100%;
        display: block;
        position: relative;
    }

    /* Main content adjustments */
    .main-content {
        padding-top: 120px; /* Kavisli alan için padding */
    }

    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    /* Hero section - full screen app-like */
    .hero {
        min-height: calc(100vh - 60px);
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
        border-radius: 0;
    }

    .hero-content {
        padding: 40px 20px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-bottom: 40px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 20px 30px;
        font-size: 1rem;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile scroll indicator - Mouse Wheel */
    .scroll-indicator {
        bottom: 100px !important; /* Above bottom nav */
    }

    .scroll-arrow {
        width: 30px;
        height: 48px;
    }

    .scroll-arrow::before {
        width: 30px;
        height: 48px;
        border-width: 2px;
        border-radius: 18px;
    }

    .scroll-arrow::after {
        width: 3.5px;
        height: 7px;
        top: 7px;
        border-radius: 2px;
        box-shadow: 0 9px 0 var(--color-primary), 0 18px 0 var(--color-primary);
    }

    /* Sections - full width cards */
    .section {
        padding: 40px 0;
        margin: 0;
        border-radius: 0;
    }

    .section::before,
    .section::after {
        display: none; /* Hide desktop decorative elements */
    }

    .section-title {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .section-title h2 {
        font-size: 2rem;
        padding-bottom: 15px;
    }

    /* Feature cards - app-like cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        margin-top: 30px;
    }

    .feature-card {
        padding: 30px 25px;
        border-radius: var(--border-radius-lg);
        margin-bottom: 0;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%);
    }

    .feature-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Category grid mobile */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .category-image {
        height: 200px;
    }

    .category-overlay h3 {
        font-size: 1.5rem;
    }

    /* Instagram feed mobile */
    .instagram-feed {
        padding: 10px;
        max-width: 100%;
    }

    .instagram-post {
        margin-bottom: 20px;
        border-radius: 0;
    }

    .instagram-post-header {
        padding: 10px 12px;
    }

    .instagram-profile-img {
        width: 28px;
        height: 28px;
    }

    .instagram-username {
        font-size: 0.8125rem;
    }

    .instagram-post-content {
        padding: 10px 12px;
    }

    .instagram-post-title {
        font-size: 0.9375rem;
    }

    .instagram-post-description {
        font-size: 0.8125rem;
    }

    /* Menu items - full width cards */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        margin-top: 30px;
    }

    .menu-item {
        border-radius: var(--border-radius-lg);
        overflow: visible;
        margin-bottom: 0;
        clip-path: polygon(4% 0, 96% 0, 100% 4%, 100% 96%, 96% 100%, 4% 100%, 0 96%, 0 4%);
    }

    .menu-item-image {
        height: 220px;
        clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    }

    .menu-item-content {
        padding: 25px;
    }

    .menu-item h3 {
        font-size: 1.375rem;
    }

    .menu-item-price {
        font-size: 1.375rem;
    }

    /* Buttons - touch friendly */
    .btn {
        padding: 18px 35px;
        min-height: 56px;
        font-size: 1rem;
        border-radius: var(--border-radius-xl);
        -webkit-tap-highlight-color: rgba(128, 1, 31, 0.1);
        touch-action: manipulation;
    }

    /* Contact form - app-like */
    .contact-wrapper {
        padding: 30px 20px;
        margin: 0 20px;
        border-radius: var(--border-radius-xl);
        clip-path: polygon(4% 0, 96% 0, 100% 4%, 100% 96%, 96% 100%, 4% 100%, 0 96%, 0 4%);
    }

    /* Map wrapper - mobile */
    .map-wrapper {
        margin: 40px 20px 0;
        border-radius: var(--border-radius-lg);
        clip-path: polygon(4% 0, 96% 0, 100% 4%, 100% 96%, 96% 100%, 4% 100%, 0 96%, 0 4%);
    }

    .map-header {
        padding: 20px 20px 15px;
    }

    .map-header-icon {
        font-size: 2rem;
    }

    .map-header-title {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .map-wrapper::after {
        width: 150px;
        height: 150px;
        bottom: -20px;
        right: -20px;
    }

    .map-container {
        padding-bottom: 75%; /* Daha yüksek aspect ratio mobilde */
        clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
        margin: 0 15px 15px;
    }

    .map-wrapper:hover {
        transform: none; /* Mobilde hover efekti yok */
    }

    .contact-wrapper::before,
    .contact-wrapper::after {
        display: none;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .form-group input,
    .form-group textarea,
    .form-group .form-control {
        padding: 16px 20px;
        font-size: 1rem;
        min-height: 52px;
        border-radius: var(--border-radius-md);
    }

    /* Footer - minimal on mobile */
    .footer {
        padding: 40px 20px 120px; /* Extra padding for bottom nav */
        margin-top: 40px;
        clip-path: polygon(0 5%, 50% 0, 100% 5%, 100% 100%, 0 100%);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h4 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .footer-bottom {
        padding-top: 25px;
    }

    .footer-credits {
        gap: 8px;
        flex-wrap: wrap;
    }

    .footer-credits-text {
        font-size: 12px;
    }

    .footer-logo {
        height: 32px;
        max-height: 32px;
    }

    .footer-credits {
        margin-top: 15px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .footer-credits-text {
        font-size: 12px;
    }

    .footer-logo {
        height: 85px;
        max-height: 85px;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* Bottom Navigation Bar - Mobile App Style */
/* Masaüstü modda gizle */
@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
    
    .pull-indicator {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        clip-path: polygon(0 15%, 50% 0, 100% 15%, 100% 100%, 0 100%);
        padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
        border-top: none;
    }

    .bottom-nav-container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        max-width: 100%;
        padding: 0 10px;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 16px;
        min-width: 60px;
        text-decoration: none;
        color: var(--color-primary);
        transition: var(--transition-smooth);
        border-radius: var(--border-radius-md);
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    .bottom-nav-item::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background: radial-gradient(circle, rgba(128, 1, 31, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        transition: width 0.3s, height 0.3s;
    }

    .bottom-nav-item:active::before {
        width: 80px;
        height: 80px;
    }

    .bottom-nav-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        transition: var(--transition-smooth);
        display: block;
        position: relative;
    }

    /* Luxury CSS Icons */
    .icon-home {
        width: 22px;
        height: 20px;
    }

    .icon-home::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 18px;
        height: 14px;
        border: 2px solid var(--color-primary);
        border-radius: 4px 4px 0 0;
        border-bottom: none;
    }

    .icon-home::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 8px solid var(--color-primary);
        border-radius: 2px 2px 0 0;
    }

    .icon-menu {
        width: 22px;
        height: 22px;
    }

    /* Luxury plate/round icon for menu */
    .icon-menu::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        border: 2px solid var(--color-primary);
        border-radius: 50%;
    }

    .icon-menu::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12px;
        height: 12px;
        border: 2px solid var(--color-primary);
        border-radius: 50%;
        background: transparent;
    }

    .icon-about {
        width: 20px;
        height: 20px;
    }

    .icon-about::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 18px;
        height: 18px;
        border: 2px solid var(--color-primary);
        border-radius: 50%;
    }

    .icon-about::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 6px;
        height: 6px;
        background: var(--color-primary);
        border-radius: 50%;
    }

    .icon-contact {
        width: 20px;
        height: 20px;
    }

    .icon-contact::before {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 14px;
        height: 12px;
        border: 2px solid var(--color-primary);
        border-radius: 3px;
    }

    .icon-contact::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 6px solid var(--color-primary);
    }

    .icon-gallery {
        width: 22px;
        height: 22px;
        position: relative;
    }

    /* Gallery icon - grid of 4 squares using pseudo-elements */
    .icon-gallery::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        border: 2px solid var(--color-primary);
        border-radius: 1px;
    }

    .icon-gallery::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 8px;
        height: 8px;
        border: 2px solid var(--color-primary);
        border-radius: 1px;
    }

    /* Add bottom two squares using box-shadow */
    .icon-gallery {
        box-shadow: 
            0 13px 0 -5px var(--color-primary),
            13px 13px 0 -5px var(--color-primary);
    }

    .icon-gallery::before {
        box-shadow: 
            0 13px 0 -5px var(--color-primary);
    }

    .icon-gallery::after {
        box-shadow: 
            13px 13px 0 -5px var(--color-primary);
    }

    /* Active state - use accent color */
    .bottom-nav-item.active .icon-home::before,
    .bottom-nav-item.active .icon-home::after,
    .bottom-nav-item.active .icon-menu::before,
    .bottom-nav-item.active .icon-menu::after,
    .bottom-nav-item.active .icon-gallery::before,
    .bottom-nav-item.active .icon-gallery::after,
    .bottom-nav-item.active .icon-about::before,
    .bottom-nav-item.active .icon-about::after,
    .bottom-nav-item.active .icon-contact::before,
    .bottom-nav-item.active .icon-contact::after {
        border-color: var(--color-accent);
        background: var(--color-accent);
    }

    .bottom-nav-item.active .icon-gallery::before,
    .bottom-nav-item.active .icon-gallery::after {
        border-color: var(--color-accent);
    }

    .bottom-nav-item.active .icon-gallery::before {
        box-shadow: 
            0 13px 0 -5px var(--color-accent);
    }

    .bottom-nav-item.active .icon-gallery::after {
        box-shadow: 
            13px 13px 0 -5px var(--color-accent);
    }

    .bottom-nav-label {
        font-family: var(--font-primary);
        font-size: 0.7rem;
        text-transform: lowercase;
        letter-spacing: 0.5px;
        color: var(--color-primary);
        transition: var(--transition-smooth);
    }

    .bottom-nav-item.active {
        color: var(--color-accent);
    }

    .bottom-nav-item.active .bottom-nav-icon {
        transform: scale(1.15);
    }

    .bottom-nav-item.active .bottom-nav-label {
        color: var(--color-accent);
    }
}

/* ========================================
   GALLERY STYLES
   ======================================== */
.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.gallery-tab-btn {
    padding: 12px 30px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%);
}

.gallery-tab-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.gallery-tab-btn.active {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-medium);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition-smooth);
    clip-path: polygon(6% 0, 94% 0, 100% 6%, 100% 94%, 94% 100%, 6% 100%, 0 94%, 0 6%);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.gallery-item-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square aspect ratio */
    overflow: hidden;
    background: var(--color-light);
}

.gallery-item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.gallery-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-info {
    color: var(--color-white);
}

.gallery-item-info h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin: 0 0 8px 0;
    color: var(--color-white);
}

.gallery-item-info p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.gallery-modal-content img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.gallery-modal-info {
    margin-top: 30px;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
}

.gallery-modal-info h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.gallery-modal-info p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--color-white);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-smooth);
    line-height: 1;
}

.gallery-modal-close:hover {
    color: var(--color-accent);
    transform: scale(1.2);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border: none;
    padding: 20px 25px;
    font-size: 30px;
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev {
    left: 30px;
}

.gallery-modal-next {
    right: 30px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .gallery-item-image {
        padding-bottom: 100%; /* Square aspect ratio */
    }

    .gallery-item-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    .gallery-tabs {
        gap: 10px;
    }

    .gallery-tab-btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .gallery-modal-content {
        width: 95%;
        padding: 10px;
    }

    .gallery-modal-content img {
        max-width: 95vw;
        max-height: 70vh;
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .gallery-modal-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }

    .gallery-modal-nav {
        padding: 15px 20px;
        font-size: 24px;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }

    .gallery-modal-info h3 {
        font-size: 1.5rem;
    }

    .gallery-modal-info p {
        font-size: 1rem;
    }

    /* App-like page transitions */
    .page-transition {
        animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Pull to refresh indicator (visual only) */
    .pull-indicator {
        position: fixed;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        background: rgba(128, 1, 31, 0.1);
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 999;
        clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    }

    .pull-indicator.active {
        display: flex;
    }
}

/* ========================================
   RESPONSIVE DESIGN - Tablet
   ======================================== */
@media (max-width: 1024px) and (min-width: 769px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .container {
        padding: 0 30px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .bottom-nav-item {
        padding: 8px 12px;
        min-width: 50px;
    }

    .bottom-nav-icon {
        font-size: 1.5rem;
    }

    .bottom-nav-label {
        font-size: 0.65rem;
    }
}
/* ==== WAVE HEADER FORCE FIX ==== */

.wave-header,
.wave-header * {
    box-sizing: border-box;
}

.wave-header {
    display: block;
}

/* Desktop için force fix'ler - sadece 769px ve üzeri için geçerli */
@media (min-width: 769px) {
    .wave-header-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .wave-nav {
        display: block !important;
    }

    .wave-nav-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    .wave-nav-menu li {
        display: inline-flex !important;
    }

    .wave-nav-menu a {
        white-space: nowrap;
    }
}

