/* ================================
   Coffee & Pi - Modern Styles
   ================================ */

:root {
    --primary-color: #6f4e37;
    --primary-dark: #4a3324;
    --secondary-color: #d4a574;
    --accent-color: #e8b86d;
    --dark-bg: #2c2416;
    --light-bg: #f8f6f3;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* ================================
   Navigation
   ================================ */

.navbar {
    padding: 1rem 0;
    background-color: rgba(44, 36, 22, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    display: none; /* Show when logo is added */
}

.pi-symbol {
    color: var(--accent-color);
    font-style: italic;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--accent-color) !important;
}

.btn-order {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.btn-order:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg) !important;
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
    background-image: url('../images/37706-video-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 22, 0.7);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.hero-section .btn-primary {
    background-color: var(--secondary-color);
    border: none;
    color: var(--dark-bg);
    font-weight: 600;
    padding: 1rem 3rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.hero-section .btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ================================
   Section Styles
   ================================ */

section {
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

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

.text-center .section-title::after {
    left: 50%;
}

/* ================================
   About Section
   ================================ */

.about-section {
    background-color: var(--light-bg);
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.about-section .lead {
    font-weight: 500;
    color: var(--primary-color);
}

/* ================================
   Menu Sections
   ================================ */

.menu-section {
    background-color: var(--white);
}

.menu-section:nth-child(even) {
    background-color: var(--light-bg);
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.menu-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(111, 78, 55, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    transform: translateX(5px);
}

.menu-item.featured {
    background-color: rgba(212, 165, 116, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.menu-item-name {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.menu-item-price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.menu-item-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    font-style: italic;
}

.menu-item-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.menu-add-ons {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(111, 78, 55, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

/* ================================
   Order/Contact Section
   ================================ */

.order-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
    color: var(--white);
}

.order-section .section-title {
    color: var(--white);
}

.order-section .section-title::after {
    background-color: var(--accent-color);
}

.order-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* ================================
   Footer
   ================================ */

.footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
}

.footer p {
    margin-bottom: 0.5rem;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .btn-order {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .menu-item-name {
        font-size: 1.1rem;
    }
}

/* ================================
   Smooth Scroll
   ================================ */

html {
    scroll-behavior: smooth;
}

/* ================================
   Animations
   ================================ */

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

.menu-item,
.about-section,
.section-title {
    animation: fadeInUp 0.6s ease-out;
}
/* ================================
   Contact Page Styles
   ================================ */

.page-header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 72px;
}

.contact-header {
    background-image: url('../images/a389c-about-desc.png');
    background-size: cover;
    background-position: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Contact Info Cards */
.contact-info-section {
    background-color: var(--light-bg);
}

.contact-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-card-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    min-height: 50px;
}

.phone-link,
.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.phone-link:hover,
.email-link:hover {
    color: var(--secondary-color);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-link i {
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(5px);
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--white);
}

.contact-form-wrapper {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-control,
.form-select {
    border: 2px solid rgba(111, 78, 55, 0.2);
    border-radius: 10px;
    padding: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 78, 55, 0.15);
}

.form-floating > label {
    color: var(--text-light);
}

.contact-form-wrapper .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form-wrapper .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Map Section */
.map-wrapper {
    height: 100%;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.visit-info {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.visit-info ul li {
    color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background-color: var(--white);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
}

.accordion-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.accordion-body a:hover {
    color: var(--secondary-color);
}

/* Footer Updates */
.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 991px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .map-container {
        padding-bottom: 56.25%;
    }
}

@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
