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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header and Navigation */
header {
    background-color: #2c5f2d;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    display: block;
    transition: background-color 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: #1e4620;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?w=1200&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Page Header */
.page-header {
    background-color: #3d7c3f;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
main {
    padding: 3rem 0;
}

.intro,
.intro-text {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.intro h2,
.intro-text h2 {
    color: #2c5f2d;
    margin-bottom: 1rem;
}

/* Cards Section */
.highlights {
    margin: 3rem 0;
}

.highlights h2 {
    text-align: center;
    color: #2c5f2d;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.attractions-bg {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url('https://images.pexels.com/photos/2166559/pexels-photo-2166559.jpeg?auto=compress&cs=tinysrgb&w=400&h=200');
}

.beaches-bg {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url('https://images.pexels.com/photos/1287460/pexels-photo-1287460.jpeg?auto=compress&cs=tinysrgb&w=400&h=200');
}

.activities-bg {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url('https://images.pexels.com/photos/390051/surfer-wave-sunset-the-indian-ocean-390051.jpeg?auto=compress&cs=tinysrgb&w=400&h=200');
}

.culture-bg {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url('https://images.pexels.com/photos/3278215/pexels-photo-3278215.jpeg?auto=compress&cs=tinysrgb&w=400&h=200');
}

.card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: #2c5f2d;
    font-size: 1.4rem;
}

.card p {
    padding: 0 1.5rem 1rem;
    color: #666;
}

.btn {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.6rem 1.5rem;
    background-color: #2c5f2d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1e4620;
}

/* Quick Info Grid */
.quick-info {
    margin: 3rem 0;
}

.quick-info h2 {
    text-align: center;
    color: #2c5f2d;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-item h4 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Attraction Detail Pages */
.attraction-detail {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.attraction-detail h3 {
    color: #2c5f2d;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.attraction-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 1rem 0;
}

.tanah-lot-bg {
    background: url('https://images.pexels.com/photos/2166559/pexels-photo-2166559.jpeg?auto=compress&cs=tinysrgb&w=800&h=300');
}

.uluwatu-bg {
    background: url('https://images.pexels.com/photos/2166553/pexels-photo-2166553.jpeg?auto=compress&cs=tinysrgb&w=800&h=300');
}

.rice-terrace-bg {
    background: url('https://images.pexels.com/photos/2166711/pexels-photo-2166711.jpeg?auto=compress&cs=tinysrgb&w=800&h=300');
}

.seminyak-bg {
    background: url('https://images.pexels.com/photos/1287460/pexels-photo-1287460.jpeg?auto=compress&cs=tinysrgb&w=800&h=300');
}

.waterfall-bg {
    background: url('https://images.pexels.com/photos/3225531/pexels-photo-3225531.jpeg?auto=compress&cs=tinysrgb&w=800&h=300');
}

.info-box {
    background-color: #f0f8f0;
    padding: 1.5rem;
    border-left: 4px solid #2c5f2d;
    margin-top: 1rem;
    border-radius: 4px;
}

.info-box p {
    margin: 0.5rem 0;
}

/* Accommodation Pages */
.accommodation-type,
.activity-category,
.food-section,
.culture-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accommodation-type h3,
.activity-category h3,
.food-section h3,
.culture-section h3 {
    color: #2c5f2d;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.accommodation-type h4,
.activity-category h4,
.food-section h4,
.culture-section h4 {
    color: #3d7c3f;
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.accommodation-image,
.activity-image,
.food-image,
.culture-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 1rem 0;
}

.luxury-bg {
    background: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=800&h=250&fit=crop');
}

.midrange-bg {
    background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=800&h=250&fit=crop');
}

.budget-bg {
    background: url('https://images.unsplash.com/photo-1555854877-bab0e564b8d5?w=800&h=250&fit=crop');
}

.surfing-bg {
    background: url('https://images.unsplash.com/photo-1502933691298-84fc14542831?w=800&h=250&fit=crop');
}

.hiking-bg {
    background: url('https://images.unsplash.com/photo-1551632811-561732d1e306?w=800&h=250&fit=crop');
}

.cultural-bg {
    background: url('https://images.pexels.com/photos/3278215/pexels-photo-3278215.jpeg?auto=compress&cs=tinysrgb&w=800&h=250');
}

.wellness-bg {
    background: url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=800&h=250&fit=crop');
}

.balinese-food-bg {
    background: url('https://images.unsplash.com/photo-1625398407796-82650a8c135f?w=800&h=250&fit=crop');
}

.offerings-bg {
    background: url('https://images.pexels.com/photos/6492397/pexels-photo-6492397.jpeg?auto=compress&cs=tinysrgb&w=800&h=250');
}

.features-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.features-box h4 {
    color: #2c5f2d;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.features-box ul {
    margin-left: 1.5rem;
}

.features-box li {
    margin: 0.5rem 0;
}

/* Area Cards */
.accommodation-areas,
.dining-section,
.booking-tips,
.activity-tips,
.culture-tips {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accommodation-areas h3,
.dining-section h3,
.booking-tips h3,
.activity-tips h3,
.culture-tips h3 {
    color: #2c5f2d;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.area-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #2c5f2d;
}

.area-card h4 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.tip-item h4 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7c3f 100%);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.btn-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: white;
    color: #2c5f2d;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Contact Page */
.contact-intro {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-form-section,
.contact-info-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form-section h3,
.contact-info-section h3 {
    color: #2c5f2d;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5f2d;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #2c5f2d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #1e4620;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h4 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: #666;
    margin: 0.25rem 0;
}

.contact-method .note {
    font-size: 0.9rem;
    color: #999;
}

.social-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.social-links h4 {
    color: #2c5f2d;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    color: #2c5f2d;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #2c5f2d;
    color: white;
}

/* FAQ Section */
.faq-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-section h3 {
    color: #2c5f2d;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    color: #3d7c3f;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
}

/* Footer */
footer {
    background-color: #1e4620;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #a8d5a8;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav a {
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero {
        height: 300px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .page-header h2 {
        font-size: 1.8rem;
    }
    
    .info-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
}
