:root {
    --primary-color: #0A192F; /* Deep Ink Blue */
    --secondary-color: #EAA700; /* Rich Gold */
    --accent-color: #64FFDA; /* Bright Cyan (for subtle highlights) */
    --text-light: #F0F4F8; /* Off-White */
    --text-dark: #333333; /* Dark Gray */
    --bg-light: #FFFFFF; /* Pure White */
    --bg-dark: #1A2F4B; /* Darker Blue-Gray */
    --card-bg: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;

    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-deep: 0 12px 30px rgba(0, 0, 0, 0.2);

    --transition-speed: 0.3s ease-in-out;
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 2px;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark .section-title {
    color: var(--text-light);
}
.section-dark .section-title::after {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

/* Header */
.main-header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    transition: var(--transition-speed);
}

.logo:hover {
    color: var(--accent-color);
    transform: scale(1.02);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links li a {
    color: var(--text-light);
    font-weight: 400;
    font-size: 1.1em;
    position: relative;
    transition: var(--transition-speed);
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed);
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 5px;
    transition: all var(--transition-speed);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background: url('images/image_14.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    isolation: isolate; /* To ensure ::before z-index works */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), var(--primary-color) 120%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    position: relative; /* Above the overlay */
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: var(--shadow-deep);
    animation: fadeInDown 1s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInDown {
    from { opacity: 1; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 1; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-speed);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Card Grids (Experiences, Destinations) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.card img {
    width: 100%;
    height: 250px; /* Consistent height for images */
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-content p {
    font-size: 1em;
    color: #666;
}

/* Testimonials Section */
.testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly different min-width */
}

.testimonial-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    position: relative;
    border: 1px solid var(--secondary-color);
}

.testimonial-card .quote {
    font-family: var(--font-heading);
    font-size: 1.25em;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1em;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(90deg, var(--primary-color), var(--bg-dark));
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
    margin-top: 80px;
    box-shadow: var(--shadow-medium);
}

.cta-banner .cta-text {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    animation: scaleIn 1s ease-out forwards;
}

@keyframes scaleIn {
    from { opacity: 1; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand p {
    font-size: 1em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-links ul li a {
    color: var(--text-light);
    font-weight: 300;
    transition: color var(--transition-speed);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-social p {
    margin-bottom: 10px;
    font-weight: 400;
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2em;
    }

    .hero-title {
        font-size: 4em;
    }

    .hero-subtitle {
        font-size: 1.3em;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        text-align: center;
    }

    .about-image img {
        max-width: 80%;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .cta-banner .cta-text {
        font-size: 2.2em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.8em;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        box-shadow: var(--shadow-medium);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .nav-links li a {
        font-size: 1.2em;
        padding: 10px 0;
        display: block;
    }
    
    .nav-links li a::after {
        left: 50%;
        transform: translateX(-50%);
        width: 0;
    }

    .nav-links li a:hover::after,
    .nav-links li a.active::after {
        width: 60px; /* Shorter active line for mobile */
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 1;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-section {
        height: 80vh;
    }

    .hero-title {
        font-size: 3em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .section-padding {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    .about-image img {
        max-width: 100%;
    }

    .card-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }

    .cta-banner {
        padding: 60px 0;
        margin-top: 60px;
    }
    .cta-banner .cta-text {
        font-size: 1.8em;
    }

    .main-footer {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.6em;
    }

    .card-content h3 {
        font-size: 1.4em;
    }

    .cta-banner .cta-text {
        font-size: 1.5em;
    }

    .footer-links ul {
        gap: 10px;
    }
}
/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
