@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* General Styles */
:root {
  --primary: #264653;
  --primary-light: #2A9D8F;
  --secondary: #E9C46A;
  --accent: #F4A261;
  --dark: #333333;
  --light: #ffffff;
  --gray-light: #e0ecec;
  --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Kanit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #2A9D8F;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navbar Styles with Transparency - MODERNIZED */
header {
    background: rgba(38, 70, 83, 0.95); /* Semi-transparent background */
    color: #ffffff;
    padding: 15px 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Blur effect for transparency */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(38, 70, 83, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo and Website Name */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between logo and website name */
    position: relative;
    z-index: 1002;
}

.logo {
    width: 50px; /* Adjust logo size as needed */
    height: 50px; /* Adjust logo size as needed */
    border-radius: 20%; /* Optional: Makes the logo circular */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff; /* Ensure text color matches the navbar */
    position: relative;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.logo-container:hover h1::after {
    width: 100%;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none; /* Hide by default */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #e8e8e8;
    transition: var(--transition);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px; /* Increased spacing between navbar links */
}

.nav-links ul li {
    display: inline;
}

.nav-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.nav-links ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
    opacity: 0;
}

.nav-links ul li a:hover {
    color: #2A9D8F;
    transform: translateY(-3px); /* Hover lift effect */
}

.nav-links ul li a:hover::before {
    width: 100%;
    opacity: 1;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    /* Show Hamburger Menu */
    .hamburger {
        display: flex; /* Show hamburger menu on smaller screens */
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hide Navigation Links by Default */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background: linear-gradient(135deg, #264653 0%, #1a323b 100%);
        width: 80%;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
    }

    /* Show Navigation Links When Active */
    .nav-links.active {
        display: flex;
        right: 0;
    }

    /* Adjust Navigation Links for Mobile */
    .nav-links ul {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .nav-links ul li a {
        font-size: 1.2rem;
        padding: 10px 0;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/Assets/pietro-de-grandi-T7K4aEPoGGk-unsplash.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 100px 0; /* Increased padding */
    margin-top: 0;
}

.hero-content {
    max-width: 700px;
    background: rgba(38, 70, 83, 0.7); /* Semi-transparent overlay */
    padding: 50px;
    border-radius: 15px;
    backdrop-filter: blur(5px); /* Blur effect for overlay */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
    border-left: 4px solid var(--primary-light);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 120px 0; /* Increased padding */
    background: #e0ecec; /* Semi-transparent background */
    color: #264653;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(42, 157, 143, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
}

.about-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Services Section - FIXED with original layout preserved */
.services-section {
    padding: 100px 0;
    background: #e0ecec;
    color: #2f5b6d;
    text-align: center;
    position: relative;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    margin-top: 0;
    position: relative;
    padding-bottom: 15px;
}

.services-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    position: relative;
    overflow: visible;
    z-index: 1;
    height: auto;
    min-height: 300px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1) 0%, rgba(38, 70, 83, 0.05) 100%);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-card i {
    font-size: 3rem;
    color: #2A9D8F;
    margin-bottom: 25px;
    transition: var(--transition);
    display: block;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2f5b6d;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    color: #264653;
    margin-bottom: 0;
    word-wrap: break-word;
}

/* Destinations Section - FIXED */
.destinations-section {
    padding: 120px 0;
    background: linear-gradient(rgba(38, 70, 83, 0.8), rgba(38, 70, 83, 0.8)), url('/Assets/stefan-stefancik-0wMmxNB6Xzc-unsplash.jpg') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.destinations-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}

.destinations-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.destination-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: left;
    height: auto;
    min-height: 250px;
    position: relative;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
}

.destination-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.flag-container {
    width: 60px;
    height: 40px;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.destination-card h3 {
    font-size: 1.5rem;
    color: #2f5b6d;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.destination-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-light);
}

.destination-card p {
    font-size: 1rem;
    color: #264653;
    margin-bottom: 0;
}

/* Media queries for responsive design */
@media (max-width: 1200px) {
    .services-grid, .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .services-grid, .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card, .destination-card {
        min-height: auto;
    }
}

/* Destinations Section - FIXED */
.destinations-section {
    padding: 120px 0; /* Increased padding */
    background: linear-gradient(rgba(38, 70, 83, 0.8), rgba(38, 70, 83, 0.8)), url('/Assets/stefan-stefancik-0wMmxNB6Xzc-unsplash.jpg') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.destinations-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}

.destinations-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.destination-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: left;
    height: auto; /* Changed from 100% */
    min-height: 250px; /* Added minimum height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from space-between */
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
}

.destination-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.destination-card h3 {
    font-size: 1.5rem;
    color: #2f5b6d;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.destination-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-light);
}

.destination-card p {
    font-size: 1rem;
    color: #264653;
    margin-bottom: 0;
}

/* Media query to fix grid on smaller screens */
@media (max-width: 1200px) {
    .destinations-grid, .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .destinations-grid, .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    
    .destination-card, .service-card {
        margin-bottom: 20px;
    }
}

/* Contact Section - ENHANCED */
.contact-section {
    padding: 120px 0; /* Increased padding */
    color: #ffffff;
    background: linear-gradient(135deg, #264653 0%, #1a323b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: rgba(42, 157, 143, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-light);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info p i {
    color: var(--primary-light);
    font-size: 1.3rem;
    min-width: 24px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
    margin-right: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-light);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    width: 100%;
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
}

.submit-btn:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.4);
}

.map-container {
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    height: 300px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.social-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-light);
    color: #ffffff;
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

/* Footer */
footer {
    background: #1a323b;
    color: #ffffff;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Additional Media Queries */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        padding: 40px 30px;
    }
    
    section {
        padding: 80px 0;
    }

    .contact-form {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .form-group {
        margin-bottom: 15px;
        margin-right: 30px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    header h1 {
        font-size: 1.4rem;
    }
    
    .service-card, .destination-card {
        padding: 25px 20px;
    }
    

}

@media(max-width: 1000px){
    .contact-form {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 992px) {
    .contact-form {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .form-group {
        margin-bottom: 15px;
        margin-right: 30px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px 15px;
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .form-group {
        margin-bottom: 10px;
        margin-right: 20px;
    }
}