/**
 * Cafe Aroma NYC - Custom Styles
 * Modern, elegant design for a premium coffee experience
 */

/* ========================================
   Root Variables & Typography
   ======================================== */
:root {
    --primary-color: #6f4e37;
    --secondary-color: #c19a6b;
    --accent-color: #d4a574;
    --dark-color: #2c1810;
    --light-color: #f8f5f0;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Container Width Control */
.container {
    max-width: 1440px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Section Padding Control */
section {
    padding: 3.5rem 0;
}

section.py-5 {
    padding: 3rem 0 !important;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(44, 24, 16, 0.9);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(44, 24, 16, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white) !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

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

.navbar-nav .nav-link.btn-order {
    background: var(--primary-color);
    border-radius: 25px;
    margin-left: 1rem;
}

.navbar-nav .nav-link.btn-order:hover {
    background: var(--accent-color);
    color: var(--white) !important;
}

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

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 78, 55, 0.85), rgba(44, 24, 16, 0.85));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: var(--accent-color);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    background: var(--light-color);
}

.feature-box {
    padding: 2rem;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-box p {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    margin-bottom: 3rem;
}

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

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

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 3rem 0;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 1.5rem;
}

.about-content .lead {
    font-size: 1.05rem;
}

.about-content p {
    font-size: 0.95rem;
}

.stat-box {
    padding: 0.75rem;
}

.stat-number {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========================================
   Menu Section
   ======================================== */
.menu-section {
    background: var(--white);
}

.menu-category {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.category-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.category-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 0;
}

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

.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.item-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.9), transparent);
    padding: 1rem 0.5rem;
    transform: translateY(0);
    transition: var(--transition);
}

.item-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

/* ========================================
   Reviews Section
   ======================================== */
.reviews-section {
    background: var(--light-color);
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.review-stars {
    color: #ffc107;
}

.review-stars i {
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin: 1rem 0;
    line-height: 1.6;
}

.review-author {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-color);
}

.google-reviews-widget {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
}

/* ========================================
   Locations Section
   ======================================== */
.locations-section {
    background: var(--white);
}

.location-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.location-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.location-content {
    padding: 2rem;
}

.location-name {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.location-details p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.location-details i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 0.5rem;
}

.location-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* ========================================
   App Banner Section
   ======================================== */
.app-banner-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: var(--white);
}

.app-title {
    font-size: 2rem;
    color: var(--white);
}

.app-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.feature-item {
    font-size: 1rem;
}

.feature-item i {
    margin-right: 0.5rem;
}

.app-mockup img {
    max-width: 300px;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
}

/* ========================================
   Order Section
   ======================================== */
.order-section {
    background: var(--light-color);
}

.order-location-selector .list-group-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: var(--transition);
}

.order-location-selector .list-group-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Footer
   ======================================== */
.footer-section {
    background: var(--dark-color);
    color: var(--white);
}

.footer-title {
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

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

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    width: 20px;
}

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

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

.newsletter-form input {
    border: none;
    border-radius: 25px 0 0 25px;
}

.newsletter-form button {
    border-radius: 0 25px 25px 0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-legal li {
    display: inline;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

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

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

/* Tablet and Small Screens */
@media (max-width: 991px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-section {
        padding: 2.5rem 0;
    }
    
    .about-content {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .app-title {
        font-size: 1.75rem;
    }
    
    .app-mockup img {
        max-width: 250px;
        margin-top: 2rem;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    body {
        font-size: 16.1px; /* 14px * 1.15 = 16.1px (15% increase) */
    }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Section Padding */
    section {
        padding: 2.5rem 0 !important;
    }
    
    section.py-5 {
        padding: 2rem 0 !important;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        margin: 0.25rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 500px;
        height: auto;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }
    
    /* Sections */
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* About Section */
    .about-section {
        padding: 2rem 0;
    }
    
    .about-content {
        padding: 1rem 0;
    }
    
    .about-content .lead {
        font-size: 0.95rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Menu Items */
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Reviews */
    .review-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .review-stars i {
        font-size: 1rem;
    }
    
    /* Locations */
    .location-card {
        margin-bottom: 1.5rem;
    }
    
    .location-name {
        font-size: 1.25rem;
    }
    
    /* App Banner */
    .app-banner-section {
        padding: 2.5rem 0 !important;
    }
    
    .app-title {
        font-size: 1.5rem;
    }
    
    .app-description {
        font-size: 0.9rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .app-mockup img {
        max-width: 200px;
        margin-top: 1.5rem;
    }
    
    /* Footer */
    .footer-section {
        padding: 2.5rem 0 1.5rem !important;
    }
    
    .footer-title {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }
    
    .footer-description,
    .footer-contact li,
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
    body {
        font-size: 14.95px; /* 13px * 1.15 = 14.95px (15% increase) */
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.35rem;
    }
    
    .app-mockup img {
        max-width: 180px;
    }
}
