@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary: #8B0000;
    --secondary: #FF8C00;
    --accent: #D4AF37;
    --light: #FFF8F0;
    --dark: #1A1A1A;
    --grey: #666666;
    --light-grey: #F8F8F8;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    --gradient-secondary: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.2);
}

section {
    scroll-margin-top: 20px;
}

/* Global Styles */
body {
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light-grey);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    font-weight: 400;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 15px 0;
}

#header.header-scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

#header.header-scrolled .logo {
    color: var(--primary);
}

.logo i {
    margin-right: 10px;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

#header.header-scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a:hover {
    color: var(--secondary);
}

.cta-button {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

#header.header-scrolled .menu-toggle span {
    background: var(--dark);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Transform to X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}


#header.header-scrolled .menu-toggle {
    color: var(--dark);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1002;
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Fire sparks canvas */
.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
    z-index: 3;
    /* above sparks */
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Responsive for iPhone 5 (<= 360px) */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--grey);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


.feature-card {
    background: var(--white);
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    text-align: left;
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-20px);
}

.about-text.animated {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.about-image {
    opacity: 0;
    transform: translateX(20px);
}

.about-image.animated {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--grey);
}

/* Menu Section */
.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 20px;
    background: var(--light-grey);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.menu-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.menu-item-image {
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-content h4 {
    color: var(--primary);
}

.menu-item-content p {
    color: var(--grey);
    margin-bottom: 20px;
    flex-grow: 1;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.order-btn {
    padding: 8px 15px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Process Section */
.process {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
}

.process-step:nth-child(1) {
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.process-step:nth-child(2) {
    animation: slideInUp 0.8s ease-out 0.5s forwards;
}

.process-step:nth-child(3) {
    animation: slideInUp 0.8s ease-out 0.8s forwards;
}

.process-step:nth-child(4) {
    animation: slideInUp 0.8s ease-out 1.1s forwards;
}

.process-step:nth-child(5) {
    animation: slideInUp 0.8s ease-out 1.4s forwards;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.process-step.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.process-step:hover {
    transform: translateY(-10px) scale(1.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(var(--accent), var(--secondary), var(--primary), var(--accent));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: rotateBorder 3s linear infinite;
}

.process-step:hover .step-number::before {
    opacity: 1;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.process-step:hover .step-number::after {
    width: 120%;
    height: 120%;
}

.process-step h4 {
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.process-step:hover h4 {
    color: var(--accent);
}

.process-step p {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.process-step:hover p {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Floating particles animation */
.process::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.226), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(212, 175, 55, 0.281), transparent),
        radial-gradient(1px 1px at 90px 40px, rgb(255, 140, 0), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.281), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(212, 175, 55, 0.281), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
}

@keyframes floatingParticles {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-200px);
    }
}

/* Pulse effect for process steps */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(255, 140, 0, 0);
    }
}

.process-step.animated .step-number {
    animation: pulse 2s infinite 2s;
}

/* Progress indicator animation */
.process-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: progressDots 3s ease-in-out infinite;
}

.progress-dot:nth-child(1) {
    animation-delay: 0s;
}

.progress-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.progress-dot:nth-child(3) {
    animation-delay: 0.6s;
}

.progress-dot:nth-child(4) {
    animation-delay: 0.9s;
}

.progress-dot:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes progressDots {

    0%,
    80%,
    100% {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }

    40% {
        background: var(--accent);
        transform: scale(1.3);
    }
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* reduce min width */
    gap: 20px;
}

.review-card {
    background: var(--white);
    padding: 20px;
    /* reduce padding for small screens */
    border-radius: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
}

.review-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.review-rating {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 0.9rem;
    /* scale stars slightly */
}

.review-text {
    font-style: italic;
    margin-bottom: 16px;
    color: var(--grey);
    font-size: 0.9rem;
    /* better for small screens */
    line-height: 1.4;
}

.reviewer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* prevent overflow on narrow screens */
}

.reviewer-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.reviewer-info h4 {
    margin-bottom: 3px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--grey);
}

/* --- RESPONSIVE FIXES --- */

/* iPhone 5 and very small screens (320px - 360px) */
@media (max-width: 360px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        /* single column only */
        gap: 15px;
    }

    .review-card {
        padding: 15px;
    }

    .review-text {
        font-size: 0.85rem;
    }

    .reviewer-info h4 {
        font-size: 0.95rem;
    }

    .reviewer-info span {
        font-size: 0.75rem;
    }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 5vw, 3.125rem);
    align-items: start;
}

.contact-info-item {
    display: flex;
    margin-bottom: clamp(1.25rem, 3vw, 1.875rem);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-icon {
    width: clamp(3rem, 5vw, 3.75rem);
    height: clamp(3rem, 5vw, 3.75rem);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-right: clamp(1rem, 2.5vw, 1.25rem);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-info-icon:hover {
    transform: scale(1.1);
}

.contact-info-details h4 {
    margin-bottom: 0.625rem;
    color: var(--primary);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.contact-info-details p {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
    color: #666;
}

/* Contact form */
.contact-form {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 50px 20px 50px 20px;
}

.contact-form.animated {
    opacity: 1;
    transform: translateX(0);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.25rem);
}

.form-group {
    margin-bottom: clamp(1rem, 2.5vw, 1.25rem);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: clamp(0.75rem, 2vw, 0.875rem) clamp(0.875rem, 2.5vw, 1rem);
    border: 1px solid var(--primary);
    border-radius: 0.5rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.212);
    backdrop-filter: blur(10px);
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    min-height: clamp(7.5rem, 15vw, 9rem);
    resize: vertical;
    line-height: 1.6;
}

.submit-btn {
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
    padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    min-height: 48px;
    /* Accessibility touch target */
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn i {
    margin-right: 0.625rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover), 0 8px 25px rgba(139, 0, 0, 0.3);
}

.submit-btn:hover i {
    transform: translateX(2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Style for #subject placeholder option */
#subject option[value=""] {
    color: #1A1A1A;
    font-style: italic;
}

/* Style for dropdown options */
#subject option {
    color: #333;
    background: #fff;
    padding: 0.5rem 1rem;
}

/* Optional: Improve select dropdown arrow */
#subject {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23fff' height='20' width='20' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
    cursor: pointer;
    color: #fff;
}

/* Hover effect for options (in supported browsers) */
#subject option:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Style textarea placeholder */
#message::placeholder {
    color: #dbdbdb !important;
    font-style: italic !important;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 5vw, 3.125rem);
    align-items: start;
}

.location-item {
    display: flex;
    margin-bottom: clamp(1.25rem, 3vw, 1.875rem);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.location-icon {
    width: clamp(3rem, 5vw, 3.75rem);
    height: clamp(3rem, 5vw, 3.75rem);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-right: clamp(1rem, 2.5vw, 1.25rem);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.location-icon:hover {
    transform: scale(1.1);
}

.location-details h4 {
    margin-bottom: 0.625rem;
    color: var(--primary);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.location-details p {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
    color: #666;
}

.map-container {
    height: clamp(20rem, 40vw, 25rem);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow), 0 10px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: #ffffff;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.05), transparent);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-container:hover::before {
    opacity: 1;
}

.map-container.animated {
    opacity: 1;
    transform: translateX(0);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: transform 0.3s ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}


/* Newsletter Section */
.newsletter {
    background: var(--gradient-primary);
    text-align: center;
    padding: 80px 0;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-btn {
    background: var(--gradient-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover), 0 8px 25px rgba(139, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    font-size: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top::before {
    content: '↑';
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Live Chat Button */
.live-chat-button {
    position: fixed;
    bottom: 110px;
    /* above back-to-top */
    right: 25px;
    /* aligned to right */
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    font-size: 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.live-chat-button:hover {
    background: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: scale(1.1);
    animation: none;
}

.live-chat-button:active {
    transform: scale(1.05);
}

.live-chat-button::before {
    content: '📩';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0% {
        box-shadow: var(--shadow), 0 0 0 0 rgba(255, 140, 0, 0.7);
    }

    70% {
        box-shadow: var(--shadow), 0 0 0 15px rgba(255, 140, 0, 0);
    }

    100% {
        box-shadow: var(--shadow), 0 0 0 0 rgba(255, 140, 0, 0);
    }
}

/* Chat Modal */
.chat-modal {
    position: fixed;
    bottom: 120px;
    /* sits above the back-to-top */
    right: 30px;
    /* align with chat button */
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.chat-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    text-align: center;
    position: relative;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Playfair', serif;
}

.chat-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    padding: 20px;
    height: calc(100% - 140px);
    overflow-y: auto;
}

.chat-messages {
    margin-bottom: 20px;
}

.message {
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.4;
}

.message.bot {
    background: var(--light-grey);
    color: var(--dark);
    margin-right: auto;
}

.message.user {
    background: var(--gradient-primary);
    color: var(--white);
    margin-left: auto;
}

.chat-input-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--white);
    border-top: 1px solid var(--light-grey);
}

.chat-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-grey);
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: var(--secondary);
}

/* B2T and Chatbot Btn initial visibility*/
#backToTop,
#liveChatButton {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#backToTop.visible,
#liveChatButton.visible {
    opacity: 1;
    pointer-events: auto;
}

/*............................................*/
/* Responsive Styles */

/*CTA mobile btn*/
@media (max-width: 768px) {
    .nav-links .cta-button {
        display: inline-block;
        width: auto;
        text-align: left;
        padding: 10px 18px;
        margin: 10px 0;
        border-radius: 25px;
    }
}

/* Headings nav hero */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .about-content,
    .contact-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -80%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 70px 15px 20px;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-hover);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--dark);
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* Extra safety net for very small phones (like iPhone 5, 320px wide) */
@media (max-width: 360px) {
    .nav-links {
        padding: 60px 12px 15px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 10px 0;
    }
}

/*Gallery carousel*/
.carousel-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.carousel-slide:hover .slide-image {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.carousel-slide:hover .slide-overlay {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.slide-description {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-controls:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.indicator.active {
    background: var(--secondary);
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 20px;
        margin: 10px;
    }

    .slide-image {
        height: 350px;
    }

    .carousel-controls {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .slide-overlay {
        padding: 25px 20px 20px;
    }

    .slide-title {
        font-size: 1.2rem;
    }

    .slide-description {
        font-size: 0.9rem;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-container {
    animation: slideIn 0.8s ease-out;
}


/* Section */
@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .newsletter-btn {
        border-radius: 30px;
    }
}



/* Contact responsive styles */
@media (max-width: 768px) {

    .contact-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-item,
    .location-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-icon,
    .location-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: center;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .contact-info-item,
    .location-item {
        margin-bottom: 1.5rem;
    }

    .map-container {
        height: 16rem;
        border-radius: 0.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

/* Animation improvements */
@media (prefers-reduced-motion: reduce) {

    .contact-info-item,
    .location-item,
    .contact-form,
    .map-container {
        transition: none;
    }

    .contact-info-icon:hover,
    .location-icon:hover,
    .submit-btn:hover,
    .map-container:hover iframe {
        transform: none;
    }
}

/* Enhanced accessibility */
@media (hover: none) and (pointer: coarse) {

    .contact-info-icon:hover,
    .location-icon:hover,
    .submit-btn:hover,
    .map-container:hover iframe {
        transform: none;
    }
}

/* Animation improvements */
@media (prefers-reduced-motion: reduce) {

    .contact-info-item,
    .location-item,
    .contact-form,
    .map-container {
        transition: none;
    }

    .contact-info-icon:hover,
    .location-icon:hover,
    .submit-btn:hover,
    .map-container:hover iframe {
        transform: none;
    }
}

/* accessibility */
@media (hover: none) and (pointer: coarse) {

    .contact-info-icon:hover,
    .location-icon:hover,
    .submit-btn:hover,
    .map-container:hover iframe {
        transform: none;
    }
}



/* Mobile Responsiveness for B2T & Chatbot ++ */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }

    .live-chat-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .chat-modal {
        width: calc(100vw - 40px);
        height: 400px;
        bottom: 100px;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .chat-modal {
        width: calc(100vw - 20px);
        height: 350px;
        bottom: 90px;
        left: 10px;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
    }

    .live-chat-button {
        bottom: 80px;
        right: 12px;
    }
}



/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Tablet (2 columns) */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile (1 column) - iPhone 5 and up */
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 15px;
        text-align: center;
        /*cleaner on narrow screens */
    }

    .feature-icon {
        margin: 0 auto 15px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

}
