/* ============================================
   HAMARAT KAFE - MODERN LIGHT THEME
   Design System: Minimal & Clean
   Color Palette: Accent-based with neutral backgrounds
   ============================================ */

/* Google Fonts import - must be at the top */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500;600;700&display=swap');

/* ============================================
   CSS RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   MODERN COLOR PALETTE
   ============================================ */
:root {
    /* Backgrounds - Light Tones */
    --bg: #F4F4F8;                    /* Main background - Very light cool gray */
    --bg-white: #FFFFFF;              /* White for cards */
    --bg-light: #FAFAFA;              /* Light gray variation */
    
    /* Accent Colors - Vibrant but Balanced */
    --accent1: #FF724C;               /* Primary accent - Vibrant coral/orange */
    --accent2: #FDBF50;               /* Secondary accent - Mustard yellow */
    --accent3: #4ECDC4;               /* Optional - Teal/Turquoise for CTAs */
    
    /* Text Colors - Dark Tones */
    --text: #2A2C41;                  /* Main text - Dark navy/indigo */
    --text-light: #6B6B7F;            /* Description texts */
    --text-muted: #9B9B9B;            /* Very light texts */
    
    /* Shadows - Minimal */
    --shadow-sm: 0 2px 8px rgba(42, 44, 65, 0.08);
    --shadow-md: 0 4px 16px rgba(42, 44, 65, 0.12);
    --shadow-lg: 0 8px 24px rgba(42, 44, 65, 0.16);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   TYPOGRAPHY BASE
   ============================================ */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER & NAVIGATION - MODERN DESIGN
   ============================================ */
.header {
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo Styling */
.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    letter-spacing: -0.5px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link.active {
    color: var(--accent1);
    border-bottom: 2px solid var(--accent1);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent1);
    transition: width 0.3s ease;
}

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

.nav-link.active::after {
    width: 100%;
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons - Modern Style */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent1);
    color: #FFFFFF;
}

.btn-primary:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--accent2);
    color: var(--text);
}

.btn-secondary:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION - LIGHT GRADIENT
   ============================================ */
.hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF6EC 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text);
    margin-top: 85px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 114, 76, 0.08) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    text-shadow: 0 8px 20px rgba(42, 44, 65, 0.12);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 0 4px 12px rgba(42, 44, 65, 0.08);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECTIONS - GENERAL
   ============================================ */
section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent1);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.about-highlight {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--accent1);
    margin-top: 2rem;
    border-radius: 8px;
}

.about-image svg {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
    background: var(--bg);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.menu-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent1);
}

.category-icon {
    font-size: 2rem;
}

.category-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 700;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.menu-item:hover {
    background: var(--bg);
}

.item-info h4 {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.item-price {
    color: var(--accent1);
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
}

.item-prices {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-end;
}

.price-tag {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-tag strong {
    color: var(--accent1);
    font-size: 1rem;
}

/* ============================================
   FAQ SECTION - ACCORDION STYLE
   ============================================ */
.faq-section {
    background: var(--bg-white);
    padding: 5rem 2rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent1);
    transition: var(--transition);
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

@media (hover: hover) and (pointer: fine) {
    .menu-item:hover {
        transform: translateY(-3px);
    }

    .faq-item:hover {
        transform: translateY(-3px);
    }
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    background: var(--bg-light);
    border-left-color: var(--accent2);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 114, 76, 0.05);
}

.faq-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: scale(1.2);
}

.faq-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

.faq-toggle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent1);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    transition: var(--transition);
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
    background: var(--accent2);
    color: var(--text);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 1rem 2rem 1.5rem 5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.faq-answer a {
    color: var(--accent1);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.faq-answer a:hover {
    color: var(--accent2);
    text-decoration: underline;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--bg);
    color: var(--text);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    justify-items: center;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    min-width: 0;
}

.contact-card {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: min(100%, 320px);
}

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

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent1);
    font-size: 1.2rem;
    font-weight: 600;
}

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

.contact-card a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent1);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    min-width: 0;
}

.contact-form-wrapper h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--bg);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 3px rgba(255, 114, 76, 0.1);
    background: var(--bg-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}
.map-section {
    display: grid;
    justify-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.map-section .section-header {
    text-align: center;
    max-width: 600px;
}

.map-container {
    position: relative;
    width: min(100%, 900px);
    aspect-ratio: 16 / 9;
    min-height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.map-container iframe,
.map-container .map-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-container .map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.map-container .map-placeholder svg {
    width: 100%;
    height: 100%;
}

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

@supports not (aspect-ratio: 16 / 9) {
    .map-container {
        height: 0;
        padding-bottom: 56.25%;
    }
}
/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text);
    color: var(--bg-white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent1);
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent2);
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent1);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (968px and below) */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1.2rem 0;
        border-bottom: 1px solid var(--bg);
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hero {
        margin-top: 85px;
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
        text-shadow: none; /* Remove heavy shadows on mobile for better performance */
    }

    .hero-subtitle {
        font-size: 1rem;
        text-shadow: none; /* Remove heavy shadows on mobile for better performance */
    }
    
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.8rem 1.5rem;
    }

    .map-section {
        margin-top: 2.5rem;
        gap: 1rem;
    }

    .map-container {
        min-height: 220px;
        border-radius: 14px;
    }

    .map-directions-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .contact-form-wrapper {
        max-width: none;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        align-items: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px; /* Larger touch target for small screens */
    }

    .map-container {
        border-radius: 12px;
    }
    
    .mobile-menu-btn {
        min-width: 48px;
        min-height: 48px;
    }

    .item-prices {
        align-items: flex-start;
    }

    .price-tag {
        font-size: 0.8rem;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 2rem 1rem; /* Reduced padding for small screens */
    }
    
    .nav-link {
        padding: 1.5rem 0; /* Larger touch area for navigation */
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .mobile-menu-btn,
    .hero-buttons,
    .contact-form-wrapper,
    .footer {
        display: none;
    }
    
    body {
        background: white;
    }
}
