/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Import Custom Fonts - assuming these are web fonts or local fonts */
@import url('https://fonts.googleapis.com/css2?family=Umbara:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tenderness:wght@300;400;500;600;700;800&display=swap');

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: #ffffff;
    overflow-x: hidden;
}

/* Header Navigation */
.navbar {
    background: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(43, 88, 118, 0.8) 0%, rgba(78, 67, 118, 0.8) 100%), url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    z-index: -1;
}

/* Subtitle styling */
.hero h1 .subtitle {
    display: block;
    font-size: 0.75em;
    font-weight: 500;
    margin-top: 0.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'Umbara', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .tagline {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin: 0 auto 2rem auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 400;
    text-align: center;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Main Content */
main {
    background: #f8fafc;
    padding: 4rem 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 4rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

section:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #2d3748;
    margin: 2rem 0 1rem 0;
    position: relative;
}

h3::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: left;
}

ul {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    line-height: 1.7;
}

li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: #667eea;
    font-size: 1.2rem;
}

strong {
    color: #2d3748;
    font-weight: 600;
}

/* Styling khusus untuk section intro */
.intro {
    background: linear-gradient(135deg, #f0fff0, #e6ffe6);
    border-left: 5px solid #FFD700;
    font-family: 'Tenderness', sans-serif;
}

.intro h2 {
    color: #1a202c;
    text-align: center;
    font-family: 'Tenderness', sans-serif;
}

.intro p {
    font-family: 'Tenderness', sans-serif;
}

/* Subtitle for section titles */
.subtitle-section {
    display: block;
    font-size: 0.7em;
    font-weight: 400;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Image styling */
.section-image {
    text-align: center;
    margin: 2rem 0;
}

.food-image-small {
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.food-image-small:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.food-image-medium {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 1rem;
    transition: all 0.3s ease;
}

.food-image-medium:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* Map container styling */
.map-container {
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Section About */
.about {
    background: linear-gradient(135deg, #fff8dc, #f5f5dc);
}

/* Section Tourism */
.tourism {
    background: linear-gradient(135deg, #e0ffff, #f0ffff);
}

/* Section Culinary */
.culinary {
    background: linear-gradient(135deg, #fffaf0, #fdf5e6);
}

.culinary h2 {
    color: #8B4513;
}

.culinary h3 {
    color: #CD853F;
}

/* Section Activities */
.activities {
    background: linear-gradient(135deg, #f5fffa, #f0fff0);
}

/* Section Events */
.events {
    background: linear-gradient(135deg, #fff0f5, #fdf0f5);
}

.events h2 {
    color: #8B008B;
}

.events h3 {
    color: #9370DB;
}

/* Section Facilities */
.facilities {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
}

.facilities h2 {
    color: #4682B4;
}

.facilities h3 {
    color: #5F9EA0;
}

/* Section Contact */
.contact {
    background: linear-gradient(135deg, #fffacd, #fff8dc);
    border: 2px solid #DAA520;
}

.contact h2 {
    color: #B8860B;
}

.contact h3 {
    color: #DAA520;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-section ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #667eea;
    font-size: 0.8rem;
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #cbd5e0;
    line-height: 1.5;
}

.footer-bottom p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-bottom .copyright {
    font-weight: 500;
}

.footer-bottom .credits {
    font-size: 0.85rem;
    color: #a0aec0;
    font-style: italic;
}

@media (min-width: 768px) {
    .footer-bottom p {
        flex-direction: row;
        gap: 1rem;
    }
    
    .footer-bottom .credits::before {
        content: '|';
        margin-right: 1rem;
        color: #718096;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    main {
        padding: 1rem;
    }
    
    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .food-image-small {
        max-width: 200px;
    }
    
    .food-image-medium {
        max-width: 250px;
        margin: 0.5rem;
    }
    
    .image-gallery {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    section {
        padding: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

/* Animasi dan Efek Hover */
section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #228B22;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2E8B57;
}
