/* =========================================
   CSS VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #E07A5F;     /* Terracotta/Orange accent */
    --primary-dark: #C9664D;
    --secondary-color: #81B29A;   /* Soft green */
    --text-color: #1A1A1A;        /* Dark Charcoal */
    --text-light: #5A5A5A;
    --bg-color: #FDFBF7;          /* Warm Ivory */
    --white: #FFFFFF;
    --black: #000000;
    --yemeksepeti: #EA004B;
    
    --font-main: 'Outfit', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   TYPOGRAPHY & BUTTONS
   ========================================= */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.5);
}

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

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

.btn-yemeksepeti {
    background-color: var(--yemeksepeti);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(234, 0, 75, 0.4);
}

.btn-yemeksepeti:hover {
    background-color: #C2003D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 0, 75, 0.5);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo a {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .hamburger {
    color: var(--text-color);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    background-image: url('../images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* =========================================
   HIGHLIGHTS SECTION
   ========================================= */
.highlights {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    top: 0;
}

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

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.gallery-grid {
    gap: 15px;
}

.gallery-item .card-image {
    height: 300px;
    border-radius: var(--radius);
}

.gallery-item {
    box-shadow: none;
    background-color: transparent;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.pizza-bg { background-image: url('../images/pizza.jpg'); }
.coffee-bg { background-image: url('../images/coffee.jpg'); }
.sandwich-bg { background-image: url('../images/sandwich.jpg'); }
.breakfast-bg { background-image: url('../images/breakfast.jpg'); }

.card-content {
    padding: 30px;
    text-align: center;
}

.card-content i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   ORDER SECTION
   ========================================= */
.order-section {
    padding: 100px 0;
    background-color: var(--white);
}

.order-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-color);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    gap: 40px;
}

.order-text {
    flex: 1;
}

.order-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================================
   INSTAGRAM SECTION
   ========================================= */
.instagram-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.insta-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.insta-link:hover {
    color: var(--primary-dark);
}

.instagram-feed-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 300px;
}

.insta-placeholder {
    position: relative;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.insta-item {
    aspect-ratio: 1/1;
    background-color: #EFEFEF;
    border-radius: 8px;
    background-image: linear-gradient(45deg, #FDFBF7, #EFEFEF);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding-top: 80px;
}

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

.footer-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-info > p {
    color: #AAA;
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #CCC;
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-map {
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 20px 0;
    color: #888;
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .order-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--text-color);
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active {
        color: var(--text-color);
    }
    
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
