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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #5a4a4a;
    background: linear-gradient(135deg, #fdf7f0 0%, #f8f0f0 50%, #f0e8e8 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="watercolor" width="80" height="80" patternUnits="userSpaceOnUse"><path d="M40,20 Q60,10 80,20 Q100,30 80,40 Q60,50 40,40 Q20,30 40,20 Z" fill="%23f4d1c7" opacity="0.08"/><circle cx="100" cy="100" r="25" fill="%23e8c5c5" opacity="0.06"/><path d="M120,60 Q140,50 160,60 Q180,70 160,80 Q140,90 120,80 Q100,70 120,60 Z" fill="%23d4a5a5" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="%23fdf7f0"/><rect width="100%" height="100%" fill="url(%23watercolor)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

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

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-btn {
    background: none;
    border: none;
    padding: 10px 18px;
    margin: 0 3px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #8b7d8b;
}

.lang-btn.active {
    background: linear-gradient(135deg, #e8b4b4, #d4a5a5);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 180, 180, 0.4);
}

.lang-btn:hover:not(.active) {
    background: rgba(232, 180, 180, 0.15);
    color: #b88a8a;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    z-index: 999;
    padding: 18px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #8a6b73;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 20px;
    border-radius: 25px;
}

.nav-links a:hover {
    color: #e8b4b4;
    background: rgba(232, 180, 180, 0.12);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8b4b4, #d4a5a5);
    transition: width 0.3s ease;
}

.nav-links a::before {
    content: '◊';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: #e8b4b4;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover::before {
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5a4a4a;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(232, 180, 180, 0.3), rgba(212, 165, 165, 0.2)),
                linear-gradient(45deg, rgba(253, 247, 240, 0.95), rgba(248, 240, 240, 0.9));
}

.villa-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85) contrast(1.05) saturate(1.1);
    transition: transform 0.3s ease;
}

.villa-image:hover {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 180, 180, 0.3), rgba(212, 165, 165, 0.2)),
                linear-gradient(45deg, rgba(253, 247, 240, 0.4), rgba(248, 240, 240, 0.3));
    z-index: 2;
}

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

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    line-height: 1.1;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(248, 240, 240, 0.3), rgba(253, 247, 240, 0.5));
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 70px;
    color: #8a6b73;
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #e8b4b4, #d4a5a5);
    border-radius: 2px;
}

.section h2::before {
    content: '❦';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #e8b4b4;
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Wedding Information */
.wedding-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(253, 247, 240, 0.8));
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(232, 180, 180, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(232, 180, 180, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e8b4b4, transparent);
    opacity: 0.6;
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(232, 180, 180, 0.25);
    border-color: rgba(232, 180, 180, 0.4);
}

.info-card i {
    font-size: 3.5rem;
    color: #e8b4b4;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #8a6b73;
    font-weight: 600;
}

.info-card p {
    font-size: 1.15rem;
    color: #6b5b73;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 15px;
}

.map-link {
    display: inline-block;
    color: #e8b4b4;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid #e8b4b4;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.map-link:hover {
    background: #e8b4b4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 180, 180, 0.3);
}

.restaurant-link {
    color: #e8b4b4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.restaurant-link:hover {
    color: #d4a5a5;
    border-bottom-color: #e8b4b4;
    transform: translateX(2px);
}

.restaurant-item {
    margin-bottom: 15px;
}

.restaurant-name {
    font-weight: 600;
    margin-bottom: 8px;
}

.restaurant-description {
    font-size: 0.9rem;
    color: #6b5b73;
    line-height: 1.5;
    font-style: italic;
    margin-top: 5px;
}

.section-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(232, 180, 180, 0.1), rgba(212, 165, 165, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(232, 180, 180, 0.2);
}

.section-intro p {
    font-size: 1.3rem;
    color: #8a6b73;
    font-style: italic;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Guide Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guide-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(248, 240, 240, 0.7));
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(232, 180, 180, 0.12);
    transition: all 0.4s ease;
    border-left: 5px solid #e8b4b4;
    backdrop-filter: blur(8px);
}

.guide-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(232, 180, 180, 0.2);
    border-left-color: #d4a5a5;
}

.guide-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: #8a6b73;
    font-weight: 600;
}

.guide-card p {
    color: #6b5b73;
    line-height: 1.7;
    font-weight: 400;
}

/* Dining Grid */
.dining-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.dining-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(253, 247, 240, 0.8));
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(232, 180, 180, 0.12);
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 180, 180, 0.15);
}

.dining-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(232, 180, 180, 0.2);
    border-color: rgba(232, 180, 180, 0.3);
}

.dining-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #8a6b73;
    border-bottom: 3px solid #e8b4b4;
    padding-bottom: 12px;
    font-weight: 600;
}

.dining-card ul {
    list-style: none;
}

.dining-card li {
    padding: 10px 0;
    color: #6b5b73;
    position: relative;
    padding-left: 25px;
    font-weight: 400;
    line-height: 1.6;
}

.dining-card li::before {
    content: '♥';
    color: #e8b4b4;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

/* Beaches Grid */
.beaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.beach-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 240, 240, 0.8));
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(232, 180, 180, 0.12);
    transition: all 0.4s ease;
    text-align: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 180, 180, 0.15);
}

.beach-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(232, 180, 180, 0.2);
    border-color: rgba(232, 180, 180, 0.3);
}

.beach-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: #8a6b73;
    font-weight: 600;
}

.beach-card p {
    color: #6b5b73;
    line-height: 1.7;
    font-weight: 400;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #8a6b73, #b88a8a);
    color: white;
    text-align: center;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M30,20 Q40,15 50,20 Q60,25 50,30 Q40,35 30,30 Q20,25 30,20 Z" fill="white" opacity="0.08"/><circle cx="50" cy="50" r="3" fill="white" opacity="0.06"/></pattern></defs><rect width="100%" height="100%" fill="url(%23footer-pattern)"/></svg>');
    pointer-events: none;
}

.footer::after {
    content: '◊ ◊ ◊';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    letter-spacing: 20px;
}

.footer p {
    font-size: 1.2rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
    font-style: italic;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8a6b73;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(232, 180, 180, 0.1);
    color: #d4a5a5;
}

.mobile-menu-btn.active {
    color: #e8b4b4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .villa-image {
        object-position: center center;
    }

    /* Mobile Navigation */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 998;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.mobile-open {
        left: 0;
    }

    .nav-links a {
        font-size: 18px;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(232, 180, 180, 0.1);
    }

    .nav-links a:hover {
        background: rgba(232, 180, 180, 0.1);
    }

    .section h2 {
        font-size: 2rem;
    }

    .wedding-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .guide-grid,
    .beaches-grid {
        grid-template-columns: 1fr;
    }

    .dining-grid {
        grid-template-columns: 1fr;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .info-card,
    .guide-card,
    .dining-card,
    .beach-card {
        padding: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .language-switcher {
        top: 5px;
        right: 5px;
        padding: 4px;
    }

    .lang-btn {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* iPhone specific fixes */
@media (max-width: 414px) {
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .section h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .guide-card h3,
    .dining-card h3 {
        font-size: 1.3rem;
    }

    .restaurant-name {
        font-size: 1.1rem;
    }

    .restaurant-description {
        font-size: 0.9rem;
    }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .hero-image,
    .villa-image {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section > .container > * {
    animation: fadeInUp 0.6s ease-out;
}
