:root {
    --sea-blue: #0d3b66;
    --sand: #f4e8d0;
    --terracotta: #d4613a;
    --olive: #6d7c4f;
    --cream: #faf8f3;
    --dark: #2c1810;
    --white: #ffffff;
}

[data-theme="dark"] {
    --sea-blue: #1a5490;
    --sand: #d4c4a8;
    --terracotta: #e8754a;
    --olive: #8a9b6f;
    --cream: #1a1613;
    --dark: #e8e0d5;
    --white: #0f0e0d;
}

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

body {
    font-family: 'Lora', serif;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--cream);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--terracotta);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.sun-icon,
.moon-icon {
    position: absolute;
    transition: all 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--sea-blue) 0%, #1a5490 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0a2640 0%, #0d3355 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 97, 58, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(109, 124, 79, 0.15) 0%, transparent 50%);
    opacity: 0.6;
}

.wave-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--cream);
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
    transition: background 0.3s ease;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.logo-frame {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    position: relative;
    transition: background 0.3s ease;
}

.logo-frame::after {
    content: '🌿';
    font-size: 4rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--sand);
    margin-bottom: 1rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--sand);
    font-weight: 500;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--terracotta);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 97, 58, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 97, 58, 0.6);
    background: #e8754a;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--cream);
    position: relative;
    transition: background 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--sea-blue);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--terracotta);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.about-text {
    max-width: 800px;
    margin: 5rem auto 3rem auto;
    font-size: 1.25rem;
    line-height: 2;
    text-align: center;
    color: var(--dark);
    opacity: 0.9;
    transition: color 0.3s ease;
}

/* Gallery Section */
.gallery {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
    transition: background 0.3s ease;
}

[data-theme="dark"] .gallery {
    background: linear-gradient(180deg, var(--cream) 0%, #141210 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    animation: fadeIn 0.8s ease-out backwards;
}

[data-theme="dark"] .gallery-item {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .gallery-item:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Menu Highlight */
.menu-highlight {
    padding: 6rem 2rem;
    background: var(--sea-blue);
    color: white;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

[data-theme="dark"] .menu-highlight {
    background: #0a2640;
}

.menu-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.menu-title {
    color: var(--sand) !important;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.menu-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out backwards;
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }

.menu-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .menu-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.menu-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.menu-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--sand);
}

.menu-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Location Section */
.location {
    padding: 6rem 2rem;
    background: var(--cream);
    transition: background 0.3s ease;
}

.location-content {
    max-width: 1000px;
    margin: 5rem auto 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.location-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .location-info {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.location-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--sea-blue);
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--terracotta);
    flex-shrink: 0;
}

.info-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark);
    transition: color 0.3s ease;
}

.info-text strong {
    display: block;
    color: var(--sea-blue);
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.map-placeholder {
    position: relative;
    background: linear-gradient(135deg, var(--sea-blue), var(--olive));
    border-radius: 22px;
    height: 420px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(13, 59, 102, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

.map-placeholder:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .map-placeholder {
    background: linear-gradient(135deg, #0a2640, #3d4a2f);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--sand);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] footer {
    background: #0a0907;
    color: var(--sand);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--sand);
    font-size: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--terracotta);
    transform: translateY(-5px);
}

footer p {
    opacity: 0.7;
    font-size: 0.95rem;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .theme-toggle {
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about,
    .gallery,
    .menu-highlight,
    .location {
        padding: 4rem 1.5rem;
    }
}