:root {
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --dark-elevated: #2d2d2d;
    --primary-purple: #9c27b0;
    --primary-light: #bb86fc;
    --accent-purple: #d4b3ff;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b3b3b3;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
    padding: 0;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navbar */
header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px var(--shadow-color);
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-light);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--text-primary);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger-icon .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger-icon.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    overflow: hidden;
    background-image: url('../images/Countries/SL.jpg');
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: rgb(240, 233, 233);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.3rem;
    margin: 20px 0 30px;
    color: rgb(221, 213, 221);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-purple);
    color: var(--text-primary);
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Featured Destinations */
.featured-destinations {
    padding: 80px 0;
    background-color: var(--dark-bg);
    text-align: center;
}

.featured-destinations h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--primary-light);
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    background-color: var(--dark-elevated);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.card p {
    font-size: 1.1rem;
    color: var(--text-tertiary);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--dark-surface);
    text-align: center;
}

.testimonials h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--primary-light);
}

.testimonial-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background-color: rgb(236, 236, 236);
    padding: 30px;
    border-radius: 15px;
    width: 330px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-purple);
    opacity: 0.2;
}

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

.testimonial-card p {
    font-size: 1.2rem;
    color: rgb(26, 25, 25);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-card h4 {
    font-size: 1.1rem;
    margin-top: 20px;
    color: var(--primary-light);
}

/* Footer */
footer {
    background-color: var(--dark-surface);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 28px;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 1rem;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-purple);
    color: var(--text-primary);
}

.social-links a:hover .social-icon {
    transform: scale(1.1);
}

.social-links a:nth-child(1):hover {
    /* Facebook */
    background-color: #3b5998;
}

.social-links a:nth-child(2):hover {
    /* LinkedIn */
    background-color: #0077b5;
}

.social-links a:nth-child(3):hover {
    /* GitHub */
    background-color: #1b1919;
}

.social-links a:nth-child(4):hover {
    /* Twitter */
    background-color: #000000;
}

.social-icon {
    width: 20px;
    /* Adjust icon size */
    height: 20px;
    fill: currentColor;
    /* Inherits color from parent */
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* Newsletter Form */
.newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.newsletter p {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: var(--primary-purple);
    color: var(--text-primary);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-icon {
        display: flex;
    }

    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--dark-surface);
        z-index: 9;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero {
        min-height: 400px;
        padding: 40px 20px;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

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

    .destination-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        width: 100%;
        max-width: 330px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .featured-destinations h2,
    .testimonials h2 {
        font-size: 2rem;
    }

    .card h3 {
        font-size: 1.5rem;
    }

    .card p {
        font-size: 1rem;
    }
}