/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #f28482;
    --secondary: #2b2d42;
    --accent: #f4a261;
    --light: #f8f9fa;
    --dark: #343a40;
    --text: #333;
    --text-light: #6c757d;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom Visit Us Button */
.btn-visit:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background: var(--accent);
}

.btn-accent:hover {
    background: #e76f51;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Hero Section with Slideshow */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Slideshow Dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* About Section */
.about {
    background: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Menu & Order Section */
.order {
    background: var(--light);
    text-align: center;
    padding-bottom: 20px !important;
}

.order-container {
    max-width: 1200px;
    margin: 0 auto;
}

.order-container p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.menu-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.menu-preview-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.menu-preview-img {
    height: 180px;
    overflow: hidden;
}

.menu-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-preview-item:hover .menu-preview-img img {
    transform: scale(1.1);
}

.menu-preview-content {
    padding: 15px;
}

.menu-preview-content h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.menu-preview-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.menu-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Combined Order Section */
.order-combined {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    align-items: center;
}

.order-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.order-info i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.order-info h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.5rem;
}

.order-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.gloria-widget {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
}

.map {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Google Reviews Section */
.reviews {
    background: var(--light);
    color: var(--text);
}

.google-review {
    background: white;
    color: var(--text);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.google-review h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.google-review h3 i {
    color: #4285F4;
}

.google-review p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.google-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.google-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 70px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-links li:before {
    content: "•";
    color: white;
    margin-right: 10px;
    font-weight: bold;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info-footer li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info-footer i {
    color: white;
    margin-right: 12px;
    width: 20px;
    margin-top: 3px;
}

.contact-info-footer span {
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .order-combined {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.5s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .menu-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .menu-preview-content h3 {
        font-size: 1.1rem;
    }
    
    .google-review {
        padding: 20px;
    }
    
    .menu-preview {
        grid-template-columns: 1fr;
    }
    
    .order-info, .gloria-widget {
        padding: 30px 20px;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .container {
        width: 98%;
        padding: 0 10px;
    }
}

/* Touch device improvements */
@media (hover: none) {
    .menu-preview-item:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .social-links a:hover {
        transform: none;
    }
}

/* Sweet Stop Section */
.sweet-stop {
    background: var(--light);
    padding: 20px 0; /* Reduced padding */
}

.sweet-stop-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px; /* Reduced margin */
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.sweet-stop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Reduced gap */
    margin-bottom: 40px; /* Reduced margin */
}

.sweet-stop-column {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Reduced gap */
}

/* Menu Categories */
.menu-category {
    background: white;
    border-radius: 10px;
    padding: 25px; /* Slightly reduced padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.menu-category.full-width {
    grid-column: 1 / -1;
}

.category-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 20px; /* Reduced margin */
    padding-bottom: 12px; /* Reduced padding */
    border-bottom: 2px solid var(--primary-light);
    font-family: 'Playfair Display', serif;
}

.menu-subcategory h4 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Menu Items */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Reduced gap */
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0; /* Reduced padding */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 600;
}

.item-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Price Grid Layout */
.price-grid {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reduced gap */
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0; /* Reduced padding */
}

.price-item:not(:last-child) {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.item-name {
    color: var(--text);
    font-weight: 500;
}

.item-price {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

/* Two Column Grid */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px; /* Reduced gap */
}

.two-column-grid .column h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Bubble Tea Options */
.bubble-tea-options {
    margin-bottom: 20px; /* Reduced margin */
    padding: 15px; /* Reduced padding */
    background: rgba(230, 57, 70, 0.05); /* Light red background instead of orange */
    border-radius: 8px;
}

.bubble-tea-options h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px; /* Reduced gap */
}

.option {
    text-align: center;
}

.option h5 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.option p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Ice Cream Flavors */
.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px; /* Reduced gap */
    margin-bottom: 15px; /* Reduced margin */
}

.flavor-category {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px; /* Reduced padding */
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.flavor-category h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 12px; /* Reduced margin */
    padding-bottom: 8px;
    border-bottom: 1px solid var(--primary-light);
    font-weight: 600;
}

.flavor-category ul {
    list-style: none;
}

.flavor-category li {
    padding: 6px 0; /* Reduced padding */
    color: var(--text);
    position: relative;
    padding-left: 20px;
}

.flavor-category li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.flavors-note {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .sweet-stop-grid {
        grid-template-columns: 1fr;
        gap: 30px; /* Reduced gap */
    }
    
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 20px; /* Reduced gap */
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sweet-stop {
        padding: 30px 0; /* Reduced padding */
    }
    
    .menu-category {
        padding: 20px 15px; /* Reduced padding */
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .flavors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .sweet-stop-intro {
        font-size: 1rem;
        margin-bottom: 30px; /* Reduced margin */
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .menu-item {
        flex-direction: column;
        gap: 8px; /* Reduced gap */
    }
    
    .price {
        align-self: flex-end;
    }
}

.flavors-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.flavors-list li {
    padding: 8px 0;
    color: var(--text);
    position: relative;
    padding-left: 20px;
}

.flavors-list li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sweet-stop-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.sweet-stop-title {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sweet-stop-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sweet-stop-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .sweet-stop-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sweet-stop-image {
        order: -1;
    }
}

/* In your hero-slide::after style, increase the opacity */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Changed from 0.6 to 0.7 */
}

/* Add this to your CSS */
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif; /* Changed from Playfair Display to Poppins */
}

/* Item Images in Grid */
.item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 15px;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image-full {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.item-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.item-image-full:hover img {
    transform: scale(1.05);
}

/* Update menu item to accommodate images */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-item:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .item-image {
        width: 60px;
        height: 60px;
        margin-left: 10px;
    }
    
    .item-image-full {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .menu-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .item-image {
        align-self: center;
        margin-left: 0;
        margin-top: 10px;
    }
}