/* CSS Variables for easy customization */
:root {
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --text-dark: #111;
    --text-medium: #555;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --bg-white: #fff;
    --border-color: #eee;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1rem;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* Header - Enhanced with blur effect */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInLeft 0.8s ease-out;
}

.logo img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(360deg) scale(1.1);
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navigation */
nav ul {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    animation: fadeInRight 0.8s ease-out;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav ul li a:hover::before {
    width: 80%;
}

nav ul li a:hover,
nav ul li a[aria-current="page"] {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* Hero Section - Enhanced with parallax effect */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.7)),
        url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1200') center/cover fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.2), transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInDown 1s ease-out;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out 0.3s both;
}

.btn {
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: slideInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* Sections */
section {
    padding: 5rem 0;
    animation: fadeIn 1s ease-out;
}

section:nth-child(even) {
    background: var(--bg-light);
}

h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-text h3 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Card Grid Layouts */
.destinations-grid,
.services-grid,
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Destination Cards */
.destination-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.destination-card:hover::before {
    opacity: 1;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.destination-card:hover img {
    transform: scale(1.15);
}

.destination-card h3 {
    padding: 1.2rem 1.2rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.destination-card p {
    padding: 0 1.2rem 0.5rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.destination-card .price {
    padding: 0 1.2rem 1.2rem;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.2rem;
}

/* Service Cards */
.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-light);
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-card ul {
    padding-left: 0;
}

.service-card ul li {
    color: var(--text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 900;
    font-size: 1.2rem;
}

/* Offer Cards */
.offer-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

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

.offer-card:hover img {
    transform: scale(1.1);
}

.offer-card h3 {
    padding: 1.2rem 1.2rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.offer-card p {
    padding: 0 1.2rem 0.5rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.offer-validity {
    color: var(--accent-color);
    font-style: italic;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-offer {
    display: inline-block;
    margin: 1rem 1.2rem 1.2rem;
    background: var(--primary-light);
    color: var(--bg-white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.btn-offer:hover {
    background: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

/* Table */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
    border-radius: 10px;
    overflow: hidden;
}

table th,
table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.1rem;
}

table tr {
    transition: var(--transition);
}

table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.01);
}

table td {
    background: var(--bg-white);
    font-weight: 500;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-item img {
    width: 30px;
    height: 30px;
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--bg-white);
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: var(--bg-white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

footer a {
    color: var(--accent-color);
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

.student-note {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent-dark);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1rem;
    }

    .hero {
        min-height: 450px;
    }

    section {
        padding: 3rem 0;
    }

    .destinations-grid,
    .services-grid,
    .offers-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.7rem 0.5rem;
    }
}

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

    .container {
        padding: 0 15px;
    }
}