/* Aura Cafe - Style Sheet */

/* Design Tokens & Theme Variables */
:root {
    --bg-cafe: #fefafc;
    --bg-dark: #2c1a24;
    --bg-card: #ffffff;
    
    --primary-color: #2c1a24;   /* Dark rose brown */
    --accent-color: #e8a0bf;    /* Bowcake pink */
    --accent-dark: #d4799e;
    --forest-green: #3d503d;    /* Cozy plant green */
    
    --text-color: #433836;
    --text-light: #7c6e6a;
    --text-white: #ffffff;
    
    --border-cafe: #f5dce6;
    
    --font-thai: 'Prompt', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-cafe: 0 4px 20px rgba(43, 26, 24, 0.05);
    --shadow-hover: 0 10px 30px rgba(43, 26, 24, 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cafe);
    color: var(--text-color);
    font-family: var(--font-thai);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
}

.serif-font {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.accent-text {
    color: var(--accent-color);
}

/* Button Component Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 99px;
    font-family: var(--font-thai);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
}

.btn-full-width {
    width: 100%;
}

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

.btn-accent:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(191, 161, 124, 0.3);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-phone {
    background-color: var(--primary-color);
    color: white;
}

.btn-phone:hover {
    background-color: #170d0c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-line {
    background-color: #06c755;
    color: white;
}

.btn-line:hover {
    background-color: #05b04b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

/* Header & Navigation */
.cafe-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-cafe);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

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

.nav-link {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 400;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Mobile Side Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--bg-cafe);
    z-index: 102;
    padding: 30px;
    box-shadow: var(--shadow-cafe);
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: var(--transition);
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.mobile-link:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 101;
    display: none;
}

.menu-overlay.open {
    display: block;
}

/* Hero Section */
.hero-section {
    height: 95vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

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

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.hero-tag {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Section Headings */
.section-title {
    margin-bottom: 48px;
}

.sub-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-dark);
    display: block;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.location-map .section-title h2::after,
.hours-contact .section-title h2::after {
    left: 0;
    transform: none;
}

/* Highlights Section */
.highlights-section {
    padding: 100px 0;
}

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

.highlight-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-cafe);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.icon-box {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: rgba(191, 161, 124, 0.1);
    color: var(--accent-dark);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.highlight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}

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

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background-color: #faf7f2;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.menu-tab {
    background: none;
    border: 1px solid var(--border-cafe);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 99px;
    cursor: pointer;
    font-family: var(--font-thai);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.menu-tab:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.menu-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-cafe);
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-cafe);
    border-color: var(--accent-color);
}

.item-img {
    position: relative;
    width: 160px;
    min-height: 160px;
    flex-shrink: 0;
    background-color: #e8ded4;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(43, 26, 24, 0.2);
}

.item-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(43, 26, 24, 0.85);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.item-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    gap: 15px;
}

.item-header h3 {
    font-size: 1.15rem;
}

.item-price {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-dark);
}

.item-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Promotions Section */
.promotion-section {
    padding: 100px 0;
}

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

.promo-card {
    background-color: var(--bg-card);
    border: 2px dashed var(--border-cafe);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.promo-card.accent-card {
    border-color: var(--accent-color);
    background: radial-gradient(ellipse at top right, rgba(191, 161, 124, 0.05) 0%, var(--bg-card) 70%);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.promo-card.accent-card .promo-badge {
    background-color: var(--forest-green);
}

.promo-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.promo-discount {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 20px;
}

.promo-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    font-weight: 300;
}

.promo-footer {
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-cafe);
    padding-top: 15px;
}

/* Map & Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #faf7f2;
    border-top: 1px solid var(--border-cafe);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.address {
    font-size: 1rem;
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.address i {
    color: var(--accent-dark);
    font-size: 1.2rem;
}

.map-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-cafe);
    border-radius: 12px;
    padding: 40px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-cafe);
}

.map-placeholder {
    text-align: center;
}

.map-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.map-placeholder h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Hours Table */
.hours-list {
    background-color: var(--bg-card);
    border: 1px solid var(--border-cafe);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-cafe);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-cafe);
    font-size: 1rem;
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-row .day {
    font-weight: 500;
}

.hours-row .time {
    color: var(--accent-dark);
    font-weight: 600;
}

.hours-row.closed .time {
    color: var(--forest-green);
}

.quick-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.quick-contact p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-buttons {
    display: flex;
    gap: 16px;
}

/* Footer styling */
.cafe-footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

.footer-socials a:hover {
    color: var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-cafe);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .nav-links, .nav-action {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .item-img {
        width: 100%;
        height: 180px;
        min-height: auto;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Language Switcher Styling */
.lang-switch {
    background: rgba(43, 26, 24, 0.05);
    border: 1px solid var(--border-cafe);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-thai);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    display: inline-flex;
    gap: 6px;
    transition: var(--transition);
    align-items: center;
}

.lang-switch:hover {
    background: rgba(43, 26, 24, 0.08);
    color: var(--primary-color);
}

.lang-switch span {
    opacity: 0.5;
}

.lang-switch span.active-lang {
    opacity: 1;
    color: var(--primary-color);
}

.nav-action {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-lang-switch {
    width: fit-content;
    margin-bottom: 15px;
}
