/* --- Base Reset & Variables --- */
:root {
    --primary-color: #137547;
    --primary-hover: #0b4f2e;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    
    /* Card Accent Colors */
    --accent-green: #2e7d32;
    --accent-blue: #1565c0;
    --accent-orange: #ef6c00;
    --accent-purple: #6a1b9a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Keeps presentation clean on ultra-wide or full scale desktop monitors */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* --- Navigation Layout --- */
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo i, .logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none; /* Hidden by default on desktop computers */
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url('./Images/home_page_main.jpg');
    background-size: cover;
    background-position: center 35%;
    height: 550px;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-content h1 span {
    border-bottom: 4px solid var(--primary-color);
}

.hero-content .tagline {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-content .description {
    max-width: 500px;
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

/* --- Buttons --- */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

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

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

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- Quick Navigation Cards --- */
.quick-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    padding-bottom: 25px;
}

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

.card-img-top {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.card-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: absolute;
    top: 132.5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 3px solid var(--white);
}

.card-content {
    padding: 40px 20px 0 20px;
}

.card-content h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.icon-green { background: #e8f5e9; color: var(--accent-green); }
.icon-blue { background: #e3f2fd; color: var(--accent-blue); }
.icon-orange { background: #fff3e0; color: var(--accent-orange); }
.icon-purple { background: #f3e5f5; color: var(--accent-purple); }

.card-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin: -6px -12px;
    border-radius: 20px;
    transition: background-color 0.25s ease, gap 0.25s ease;
}

.card-link i {
    transition: transform 0.25s ease;
}

.card-link:hover i {
    transform: translateX(4px);
}

.link-green { color: var(--accent-green); }
.link-blue { color: var(--accent-blue); }
.link-orange { color: var(--accent-orange); }
.link-purple { color: var(--accent-purple); }

.link-green:hover { background-color: rgba(46, 125, 50, 0.1); }
.link-blue:hover { background-color: rgba(21, 101, 192, 0.1); }
.link-orange:hover { background-color: rgba(239, 108, 0, 0.1); }
.link-purple:hover { background-color: rgba(106, 27, 154, 0.1); }

.card-visitors { background-image: url('./Images/first_time_visit.jpg'); }
.card-airport { background-image: url('./Images/airport_guide.jpg'); }
.card-hours { background-image: url('./Images/first_24_hours.jpg'); }
.card-places { background-image: url('./Images/popular_places.jpg'); }

/* --- About Section --- */
.about {
    background-color: #f6f2e7;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 100px;
    gap: 10px;
}

.grid-main {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.grid-sub {
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

/* --- Destinations Layout Section --- */
.destinations {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
}

.section-title p {
    color: var(--text-muted);
}

/* Forces all 6 elements onto a single flat horizontal row matrix */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.dest-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    text-align: center;
    padding-bottom: 15px;
    cursor: pointer;
}

.dest-img {
    height: 135px;
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
    transition: transform 0.5s;
}

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

.dest-card h4 {
    font-size: 15px;
    color: var(--text-dark);
}

.center-btn {
    display: flex;
    justify-content: center;
}

/* --- Feedback Banner --- */
.feedback-banner {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feedback-icon {
    font-size: 36px;
    color: var(--primary-color);
}

.feedback-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.feedback-text p {
    color: var(--text-muted);
    font-size: 14px;
}

/* --- Footer Area --- */
footer {
    background: #0b2216;
    color: #a3b8cc;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

footer .logo {
    color: var(--white);
    margin-bottom: 15px;
}

footer .logo span {
    color: #48bb78;
}

footer p {
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: #a3b8cc;
    font-size: 18px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--white);
}

footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    text-decoration: none;
    color: #a3b8cc;
    font-size: 14px;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: #a3b8cc;
    text-decoration: none;
}

/* --- MEDIA QUERIES (FIXED MOBILE SHARDS) --- */
@media (max-width: 1024px) {
    .quick-cards { 
        grid-template-columns: repeat(2, 1fr); 
        margin-top: -20px; 
    }
    .destinations-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
    }

    /* Enables visual interface toggle trigger */
    .menu-toggle {
        display: block !important;
    }

    /* Reconfigures navigation panel links context into drop list modal layout stack */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        gap: 15px;
        z-index: 2000;
    }

    /* JavaScript Toggle class indicator utility trigger rule */
    .nav-links.active {
        display: flex !important;
    }

    .about { 
        grid-template-columns: 1fr; 
    }
    .footer-container { 
        grid-template-columns: 1fr; 
    }
    .feedback-banner { 
        flex-direction: column; 
        gap: 20px; 
        text-align: center; 
    }
    .feedback-content { 
        flex-direction: column; 
    }
    .destinations-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 480px) {
    .quick-cards { 
        grid-template-columns: 1fr; 
    }
    .destinations-grid { 
        grid-template-columns: repeat(1, 1fr); 
    }
    .hero-content h1 {
        font-size: 32px;
    }
}