/* ===== Root Variables ===== */
:root {
    --primary: #2d6a4f;
    --primary-light: #40916c;
    --primary-dark: #1b4332;
    --accent: #f4a261;
    --text-dark: #1b1b1b;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); }
.logo span { color: var(--primary-light); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; color: var(--text-dark); transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary); }

.cta-button {
    background: var(--primary);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

.hero { padding: 10rem 2rem 6rem; background: linear-gradient(135deg, #f0f7f4, #e8f3ee); }
.hero-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero-content h1 { font-size: 3rem; line-height: 1.2; color: var(--primary-dark); margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover { background: var(--primary); color: var(--white); }

.hero-graphic {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    box-shadow: 0 30px 60px rgba(27, 67, 50, 0.25);
}

.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; padding: 0 2rem; }
.section-tag { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.section-header h2 { font-size: 2.2rem; margin: 0.5rem 0; color: var(--primary-dark); }
.section-header p { color: var(--text-light); }

.services { padding: 6rem 2rem; background: var(--white); }
.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.service-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: var(--bg-light);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    background: var(--white);
}

.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--primary-dark); margin-bottom: 0.8rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

.about { padding: 6rem 2rem; background: var(--bg-light); }
.about-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.about-graphic { width: 100%; aspect-ratio: 1; border-radius: 30px; background: linear-gradient(135deg, var(--accent), var(--primary-light)); }
.about-content h2 { font-size: 2.2rem; color: var(--primary-dark); margin: 0.5rem 0 1rem; }
.about-content p { color: var(--text-light); margin-bottom: 2rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat h3 { font-size: 2rem; color: var(--primary); }
.stat p { color: var(--text-light); font-size: 0.9rem; }

.testimonials { padding: 6rem 2rem; background: var(--white); }
.testimonials-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { padding: 2rem; border-radius: 20px; background: var(--bg-light); }
.testimonial-card p { font-style: italic; color: var(--text-dark); margin-bottom: 1.5rem; }
.testimonial-card h4 { color: var(--primary-dark); }
.testimonial-card span { color: var(--text-light); font-size: 0.85rem; }

.cta-section { padding: 5rem 2rem; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); text-align: center; }
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-content h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.cta-content .btn-primary { background: var(--white); color: var(--primary-dark); }
.cta-content .btn-primary:hover { background: var(--bg-light); color: var(--primary-dark); }

.contact { padding: 6rem 2rem; background: var(--bg-light); }
.contact-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h2 { font-size: 2.2rem; color: var(--primary-dark); margin: 0.5rem 0 1rem; }
.contact-info p { color: var(--text-light); margin-bottom: 2rem; }
.contact-item { padding: 0.8rem 0; color: var(--text-dark); font-weight: 500; }

.contact-form { background: var(--white); padding: 2rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.8rem; border: 2px solid #e0e0e0; border-radius: 10px; font-family: inherit; }
.contact-form textarea { min-height: 100px; resize: vertical; }

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover { background: var(--primary-dark); }

footer { background: var(--primary-dark); color: var(--white); padding: 4rem 2rem 2rem; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-col h3, .footer-col h4 { margin-bottom: 1rem; }
.footer-col p, .footer-col a { display: block; color: rgba(255,255,255,0.7); margin-bottom: 0.6rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active { display: flex; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.modal-header p { opacity: 0.9; font-size: 0.95rem; }

.close-modal {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: rgba(255,255,255,0.2);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.modal-body { padding: 2rem; }

.booking-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.booking-form .form-group { margin-bottom: 1.5rem; }
.booking-form label { display: block; margin-bottom: 0.5rem; color: var(--text-dark); font-weight: 600; font-size: 0.9rem; }

.booking-form input, .booking-form select, .booking-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.booking-form textarea { resize: vertical; min-height: 100px; }
.booking-form .radio-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.booking-form .radio-option { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.booking-form .radio-option input[type="radio"] { width: auto; cursor: pointer; }

.form-note {
    background: #fff3cd;
    border-left: 4px solid var(--accent);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #856404;
}

.submit-booking {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-booking:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

.submit-booking:active { transform: translateY(0); }

.success-message {
    display: none;
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    color: #155724;
}

.success-message.show { display: block; animation: slideIn 0.3s ease; }
.success-message h3 { color: #28a745; margin-bottom: 0.5rem; }

.error-message { color: #dc3545; font-size: 0.85rem; margin-top: 0.3rem; display: none; }
.error-message.show { display: block; }

/* ===== Blog ===== */
.blog-hero { padding: 2rem 2rem 6rem; max-width: 1200px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.blog-card {
    display: block;
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    background: var(--white);
}

.blog-card-category {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.blog-card h3 { color: var(--primary-dark); margin-bottom: 0.8rem; font-size: 1.3rem; }
.blog-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.2rem; }
.blog-card-date { color: var(--text-light); font-size: 0.85rem; font-weight: 500; }

.blog-post-view { padding: 10rem 2rem 6rem; max-width: 800px; margin: 0 auto; }
.back-to-blog { display: inline-block; margin-bottom: 2rem; color: var(--primary); font-weight: 600; transition: color 0.3s ease; }
.back-to-blog:hover { color: var(--primary-dark); }
.blog-post-container #postTitle { font-size: 2.2rem; color: var(--primary-dark); margin: 0.8rem 0; line-height: 1.3; }
.post-meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }
.post-content h3 { color: var(--primary-dark); margin: 1.8rem 0 0.8rem; }
.post-content p { color: var(--text-dark); margin-bottom: 1.2rem; line-height: 1.8; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-container, .about-container, .contact-container { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .stats { grid-template-columns: 1fr; }
    .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
    .blog-post-view { padding: 8rem 1.5rem 4rem; }
    .footer-container { grid-template-columns: 1fr; }
    .booking-form .form-row { grid-template-columns: 1fr; }
    .modal-content { width: 95%; max-height: 95vh; }
    .modal-header { padding: 1.5rem; }
    .modal-body { padding: 1.5rem; }
}