/* Acıktım Café Design System - Pure CSS Version */

/* CSS Variables - Warm café color palette */
:root {
    /* Core colors */
    --background: hsl(43, 33%, 98%);
    --foreground: hsl(25, 25%, 15%);
    
    /* Primary: Rich terracotta */
    --primary: hsl(14, 73%, 60%);
    --primary-foreground: hsl(43, 33%, 98%);
    
    /* Secondary: Warm cream */
    --secondary: hsl(43, 33%, 95%);
    --secondary-foreground: hsl(25, 25%, 15%);
    
    /* Coffee brown accents */
    --muted: hsl(43, 20%, 90%);
    --muted-foreground: hsl(25, 15%, 45%);
    
    --accent: hsl(25, 25%, 50%);
    --accent-foreground: hsl(43, 33%, 98%);
    
    --border: hsl(43, 20%, 88%);
    
    /* Custom café colors */
    --cafe-terracotta: hsl(14, 73%, 60%);
    --cafe-cream: hsl(43, 33%, 96%);
    --cafe-brown: hsl(25, 25%, 30%);
    --cafe-warm: hsl(35, 45%, 85%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(14, 73%, 60%) 0%, hsl(25, 50%, 55%) 100%);
    --gradient-warm: linear-gradient(180deg, hsl(43, 33%, 96%) 0%, hsl(35, 45%, 85%) 100%);
    
    /* Shadows */
    --shadow-soft: 0 4px 6px -1px hsl(25, 25%, 30%, 0.1);
    --shadow-medium: 0 10px 15px -3px hsl(25, 25%, 30%, 0.1);
    --shadow-large: 0 25px 50px -12px hsl(25, 25%, 30%, 0.25);
    
    /* Spacing */
    --container-padding: 1rem;
    --section-spacing: 5rem;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-feature-settings: "rlig" 1, "calt" 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: hsla(43, 33%, 98%, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin: 0;
}

.tagline {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    display: none;
}

@media (min-width: 640px) {
    .tagline {
        display: block;
    }
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    width: 20px;
    height: 2px;
    background: var(--foreground);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.3s ease;
}

.mobile-nav.open {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: left;
    padding: 0.5rem 0;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-large);
}

.btn-primary:hover {
    background: hsl(14, 73%, 55%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-gradient {
    background: var(--gradient-hero);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
}

.btn-gradient:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(4px);
    font-weight: 600;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.25rem;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-dot::before {
    content: '';
    width: 0.25rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.125rem;
    animation: pulse 2s infinite;
}

/* Section Styles */
.section-header {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: var(--gradient-hero);
    margin: 0 auto 2rem;
    border-radius: 0.125rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: var(--section-spacing) 0;
    background: var(--cafe-cream);
}

.about-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-card {
    background: var(--background);
    padding: 2rem;
    text-align: center;
    border-radius: 1rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-4px);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.about-footer-text {
    font-size: 1.125rem;
    color: var(--foreground);
    font-weight: 500;
    text-align: center;
}

/* Gallery Section */
.gallery {
    padding: var(--section-spacing) 0;
    background: var(--background);
}

.gallery-grid {
    display: grid;
    gap: 2rem;
    max-width: 96rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.5s ease;
}

.gallery-item:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-4px);
}

.gallery-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: white;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.gallery-footer {
    text-align: center;
    margin-top: 4rem;
}

.gallery-footer-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: var(--section-spacing) 0;
    background: var(--gradient-warm);
}

.contact-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: var(--background);
    padding: 2rem;
    text-align: center;
    border-radius: 1rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-4px);
}

.contact-cta {
    text-align: center;
}

.cta-box {
    max-width: 32rem;
    margin: 0 auto;
    background: var(--gradient-hero);
    padding: 2rem;
    border-radius: 1rem;
    color: white;
    box-shadow: var(--shadow-large);
}

.cta-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: var(--cafe-brown);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.divider-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    flex: 1;
    max-width: 6rem;
}

.divider-star {
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-30px);
    }
    70% {
        transform: translateX(-50%) translateY(-15px);
    }
    90% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 767px) {
    :root {
        --container-padding: 1rem;
        --section-spacing: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: auto;
        width: 100%;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .hero-buttons .btn {
        max-width: 280px;
    }
}