/* Base Styles */
:root {
    --primary: #000000;
    --secondary: #FFFFFF;
    --accent: #D4AF37; /* Gold */
    --text: #333333;
    --light-gray: #F5F5F5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--secondary);
    overflow-x: hidden;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #25D366;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 20px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.whatsapp-btn i {
    margin-right: 10px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('logo.png') no-repeat center center/cover;
    color: var(--secondary);
    position: relative;
    animation: fadeIn 2s ease-in-out forwards;
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
    0% { 
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-content h1 {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(20px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-down span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--secondary);
    border-right: 2px solid var(--secondary);
    transform: rotate(45deg);
    margin: -10px;
    animation: scroll-down 2s infinite;
}

.scroll-down span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-down span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* Section Styling */
.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.gold-line {
    width: 80px;
    height: 3px;
    background-color: var(--accent);
    margin: 15px auto;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.order-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.order-btn:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    font-size: 1.5rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    height: 500px;
    background: url('autor.jpg') no-repeat center center/cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 30px;
}

.about-content h2 {
    text-align: left;
}

.about-content .gold-line {
    margin: 15px 0;
}

/* Booking Section */
.booking {
    padding: 100px 0;
}

.whatsapp-cta {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand h3 span {
    color: var(--accent);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.dark-mode-toggle i {
    position: absolute;
    font-size: 1.5rem;
    transition: var(--transition);
}

.dark-mode-toggle .fa-sun {
    opacity: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container,
    .booking-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Ordering steps list */
.steps-list {
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
    list-style-type: none;
    padding-left: 0;
}

.steps-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.steps-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Dark Mode Mobile Menu Icon Fix */
.dark-mode .menu-toggle span {
    background-color: var(--accent) !important; /* Gold color */
}

.dark-mode .menu-toggle.active span {
    background-color: var(--accent) !important; 
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .menu-toggle span {
        background-color: var(--primary); /* Black by default */
        transition: all 0.3s ease;
    }
    
    .dark-mode .menu-toggle span {
        background-color: var(--accent) !important; /* Gold in dark mode */
    }
}

/* Animated Hamburger Icon */
.menu-toggle span {
    transition: transform 0.3s, background-color 0.3s;
}

.dark-mode .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--accent) !important;
}

.dark-mode .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: var(--accent) !important;
}

/* Mobile Navbar with Glass Morphism Effect */
@media (max-width: 768px) {
    .nav-links {
        background: rgba(255, 255, 255, 0.932) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        left: -100%;
        width: 70%;
        height: 100vh;
        top: 0;
        padding-top: 80px;
        z-index: 999;
    }

    /* Dark Mode Version */
    .dark-mode .nav-links {
        background: rgba(30, 30, 30, 0.9) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Nav Links Styling */
    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 25px;
        margin: 10px 0 !important;
        display: block;
        border-radius: 8px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dark-mode .nav-links a {
        color: #f0f0f0 !important;
    }

    /* Hamburger Icon Positioning */
    .menu-toggle {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .nav-links {
        background: #ffffffd2 !important; /* Solid fallback */
    }
    .dark-mode .nav-links {
        background: #1e1e1e !important;
    }
}

.gallery-item {
    animation-delay: calc(var(--animation-order) * 100ms);
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.scrolled-into-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation */
.stagger-item {
    animation-delay: calc(var(--animation-order) * 100ms);
}

/* Parallax Base */
.hero {
    transition: background-position 0.3s ease-out;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        transition: none !important;
    }
}

.gallery-item { position: relative; }
.item-overlay { 
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    text-align: center;
}
.order-btn {
    background: rgb(197, 168, 5);
    border: none;
    padding: 5px 15px;
    margin-top: 5px;
    cursor: pointer;
}