:root {
    --primary-color: #E07A5F;
    --secondary-color: #3D405B;
    --accent-color: #F2CC8F;
    --bg-color: #F4F1DE;
    --text-color: #333333;
    --white: #ffffff;
    --light-gray: #f9f9f9;
    --dark-overlay: rgba(0, 0, 0, 0.5);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom Cursor */
.cursor-dot {
    width: auto;
    height: auto;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 18px;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cursor-dot i {
    transition: transform 0.3s ease;
}

.cursor-dot.cursor-hover-icon i {
    transform: rotate(180deg) scale(1.2);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

/* Cursor Hover State */
.cursor-hover {
    width: 60px;
    height: 60px;
    background-color: rgba(224, 122, 95, 0.2);
    border-color: transparent;
}

::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    cursor: none; /* Hide default cursor */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--white); }

.section {
    padding: 80px 0;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #d06042;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 400;
    color: var(--secondary-color);
    font-size: 1rem;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: #d06042;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about .row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about .col-text {
    flex: 1;
}

.about .col-img {
    flex: 1;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.img-wrapper img {
    transition: transform 0.5s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

/* Menu Highlights */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.menu-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.menu-img {
    height: 200px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-info {
    padding: 25px;
    text-align: center;
}

.menu-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.menu-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.price {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Overlay removed as per request */
.gallery-overlay {
    display: none;
}

/* Reviews */
.reviews-carousel {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    min-height: 250px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateX(50px);
}

.review-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.stars {
    color: #F2CC8F;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 25px;
    color: #555;
}

.reviewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.name {
    font-weight: 700;
    color: var(--secondary-color);
}

.carousel-controls {
    margin-top: 20px;
}

.control-btn {
    background: none;
    border: 2px solid var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--secondary-color);
    cursor: pointer;
    margin: 0 10px;
    transition: var(--transition);
}

.control-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Reservation Form */
.reservation-row {
    display: flex;
    gap: 50px;
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.reservation .col-info {
    flex: 1;
}

.reservation .col-form {
    flex: 1;
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--secondary-color);
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.2);
}

.form-feedback {
    margin-top: 15px;
    font-weight: 700;
    text-align: center;
}

.form-success { color: green; }
.form-error { color: red; }

/* Map Section */
.map-section {
    width: 100%;
    line-height: 0;
    position: relative;
}

.map-section iframe {
    display: block;
}



/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 20px;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Animations */
.fade-in-up, .fade-in-left, .fade-in-right, .scale-in, .zoom-in, .flip-in-x {
    opacity: 0;
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); /* Smoother cubic-bezier */
}

.fade-in-up { transform: translateY(80px); }
.fade-in-left { transform: translateX(-80px); }
.fade-in-right { transform: translateX(80px); }
.scale-in { transform: scale(0.8); }
.zoom-in { transform: scale(0.4); }
.flip-in-x { transform: perspective(600px) rotateX(90deg); }

.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotateX(0);
}

/* Text Reveal Animation */
.text-reveal-container {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

.text-reveal {
    display: inline-block;
    transform: translateY(100%);
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes revealText {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

/* Button Shine Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    /* Auto-shine animation instead of just hover transition */
    animation: shine-loop 4s infinite;
}

@keyframes shine-loop {
    0% { left: -100%; }
    10% { left: 100%; }
    100% { left: 100%; }
}

.btn .ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    animation: rippleAnim 0.6s linear;
}

@keyframes rippleAnim {
    0% { width: 0; height: 0; opacity: 0.5; }
    100% { width: 400px; height: 400px; opacity: 0; }
}


/* Card Tilt 3D */
.menu-card, .gallery-item {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Floating Elements */
.floating-bg {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* More Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.nav-active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .about .row, .reservation-row {
        flex-direction: column;
    }
    
    .reservation-row {
        padding: 30px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .map-section iframe {
        height: 300px;
    }
}
