* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(to right, #003366, #006699);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
}

.logo span {
    color: #ff9900;
}

nav ul {
   display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

nav ul li {
    margin-left: 25px;
    padding: 0 8px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff9900;
}

nav ul li a:hover {
    color: #ff9900;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), 
                url('./images/home/up03.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #ff9900;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #ffaa33;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(28px, 4vw, 36px);
    color: #003366;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
}

/* Destinations */
.destinations {
    background-color: white;
}

.destination-grid,
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.destination-card,
.package-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.destination-card:hover,
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.destination-img,
.package-img {
    height: 200px;
    overflow: hidden;
}

.destination-img img,
.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-img img,
.package-card:hover .package-img img {
    transform: scale(1.1);
}

.destination-info,
.package-info {
    padding: 25px;
}

.destination-info h3,
.package-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #003366;
}

.destination-info p,
.package-info p {
    color: #666;
    margin-bottom: 20px;
}

.package-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff9900;
    margin-bottom: 0.5px;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: #003366;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(to right, #003366, #006699);
    color: white;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
}

.testimonial-author {
    font-weight: 600;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #002244;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ff9900;
}

.footer-col p, 
.footer-col li {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #ff9900;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ff9900;
    transform: translateY(-3px);
}

#newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#newsletter-form input {
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
}

#newsletter-form .btn {
    width: 100%;
    padding: 12px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.visit-counter {
    margin-top: 15px;
    font-size: 14px;
}

/* Sinhala Description */
.sinhala-description {
    background: #f5f5f5;
    padding: 15px;
    border-left: 4px solid #ff9900;
    margin: 15px 0;
    font-style: italic;
    color: #555;
    font-size: 14px;
    border-radius: 0 6px 6px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        display: none;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .destination-grid,
    .package-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .destination-info,
    .package-info {
        padding: 20px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

/* Loading Animation */
img {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}