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

:root {
    /* Color Variables */
    --white: #ffffff;
    --navy-blue: #1A3C70;
    --warm-sand: #EADBC8;
    --soft-green: #6DA67A;
    --terracotta: #D97757;
    --dark-gray: #2c2c2c;
    --light-gray: #f5f5f5;
    --medium-gray: #888;
    
    /* Font Variables */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-blue);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c56a47;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-sm);
}

.nav-logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--terracotta);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--navy-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 60, 112, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 var(--spacing-sm);
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

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

/* Main Sections */
.main-sections {
    padding: var(--spacing-xxl) 0;
    background-color: var(--light-gray);
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.section-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-lg);
}

.card-content h3 {
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
}

/* Featured Guides */
.featured-guides {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.guide-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guide-image {
    height: 240px;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-content {
    padding: var(--spacing-lg);
}

.guide-content h3 {
    margin-bottom: var(--spacing-sm);
}

.guide-link {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.guide-link:hover {
    color: var(--navy-blue);
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xxl) 0;
    background-color: var(--warm-sand);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy-blue);
}

/* Newsletter */
.newsletter {
    padding: var(--spacing-xxl) 0;
    background-color: var(--navy-blue);
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.newsletter p {
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--terracotta);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #444;
    color: #ccc;
}

/* Page Hero (for internal pages) */
.page-hero {
    padding: 120px 0 var(--spacing-xxl);
    background: linear-gradient(135deg, var(--navy-blue), var(--soft-green));
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
}

/* About Page Styles */
.about-content {
    padding: var(--spacing-xxl) 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
}

.about-intro img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.values-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.value-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.team-section {
    padding: var(--spacing-xxl) 0;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.team-point {
    margin-bottom: var(--spacing-lg);
}

.team-point h3 {
    margin-bottom: var(--spacing-sm);
}

.team-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

/* Guides Page Styles */
.guides-main {
    padding: var(--spacing-xxl) 0;
}

.guide-category {
    display: inline-block;
    background-color: var(--soft-green);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.guide-meta {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-sm) 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Tips Page Styles */
.tips-main {
    padding: var(--spacing-xxl) 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.tip-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-icon {
    height: 200px;
    overflow: hidden;
}

.tip-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tip-content {
    padding: var(--spacing-lg);
}

.tip-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--navy-blue);
}

.quick-tips {
    padding: var(--spacing-xxl) 0;
    background-color: var(--light-gray);
}

.quick-tips h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.quick-tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.quick-tip {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.tip-number {
    background: var(--terracotta);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.tip-text h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--navy-blue);
}

/* Contact Page Styles */
.contact-main {
    padding: var(--spacing-xxl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

.contact-details {
    margin: var(--spacing-xl) 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--navy-blue);
}

.contact-text a {
    color: var(--terracotta);
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-text small {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.social-contact {
    margin-top: var(--spacing-xl);
}

.social-contact .social-links {
    flex-direction: column;
    gap: var(--spacing-sm);
}

.social-contact .social-links a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
}

.contact-form {
    background: var(--light-gray);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--navy-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    width: auto;
}

.faq-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--warm-sand);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.faq-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--navy-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: var(--spacing-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .sections-grid,
    .guides-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .about-intro,
    .team-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-intro img,
    .team-image img {
        height: 300px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero {
        height: 80vh;
    }

    .section-card,
    .guide-card,
    .tip-card {
        margin: 0 var(--spacing-sm);
    }

    .contact-form {
        padding: var(--spacing-lg);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error States */
.success {
    color: var(--soft-green);
}

.error {
    color: var(--terracotta);
}