/* ================================================
   VOYAGERS HIROSHIMA - COMPLETE STYLESHEET
   Professional Tour Booking Site
   ================================================ */

/* 1. CSS VARIABLES & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #FDFDFF;
    --munsell-blue: #62929E;
    --paynes-gray: #546A7B;
    --xanthous: #E3B23C;
    --carmine: #8C001A;
    --light-gray: #f8f9fa;
    --dark-gray: #212529;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

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

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5 {
    font-weight: 300;
    color: var(--paynes-gray);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
}

strong {
    font-weight: 700;
}

/* 3. NAVIGATION BAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--paynes-gray);
    font-weight: 500;
    font-size: 1.25rem;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    position: relative;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--paynes-gray);
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--munsell-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--xanthous);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-primary {
    background: var(--xanthous);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

.nav-link-primary:hover {
    background: linear-gradient(135deg, var(--xanthous), var(--carmine));
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--paynes-gray);
    margin: 3px 0;
    transition: var(--transition);
}

/* 4. HERO SECTION (Index Page Only) */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(98, 146, 158, 0.1) 0%, rgba(84, 106, 123, 0.1) 100%);
    margin-top: -70px; /* Offset for fixed navbar */
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.color-block {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float-slow 20s ease-in-out infinite;
}

.color-block-1 {
    width: 400px;
    height: 400px;
    background: var(--munsell-blue);
    top: -100px;
    left: -100px;
}

.color-block-2 {
    width: 350px;
    height: 350px;
    background: var(--xanthous);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.color-block-3 {
    width: 300px;
    height: 300px;
    background: var(--paynes-gray);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

.hero-container {
    text-align: center;
    z-index: 1;
}

.hero-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.hero-title {
    margin-bottom: 1rem;
}

.hero-title .light {
    font-weight: 300;
    font-size: 0.7em;
    display: block;
    margin-bottom: 0.5rem;
}

/* .hero-title strong {
    background: linear-gradient(135deg, var(--munsell-blue), var(--paynes-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */

.hero-title strong {
    background: linear-gradient(135deg, var(--white), var(--light-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.hero-tagline {
    font-size: 1.5rem;
    color: var(--munsell-blue);
    font-weight: 300;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-bottom: 2px solid var(--munsell-blue);
    border-right: 2px solid var(--munsell-blue);
    transform: rotate(45deg);
    margin: 10px auto;
}

/* 5. MAIN CONTENT */
.main-content {
    padding-top: 70px; /* Account for fixed navbar */
    min-height: calc(100vh - 300px);
}

/* 6. SECTIONS */
.section-featured,
.section-features,
.section-quick-book,
.section-testimonials {
    padding: 80px 0;
}

.section-features {
    background: var(--light-gray);
}

.section-quick-book {
    background: linear-gradient(135deg, var(--munsell-blue), var(--paynes-gray));
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--munsell-blue);
    font-weight: 300;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* 7. TOUR CARDS */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tour-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.tour-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--munsell-blue), var(--paynes-gray));
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--xanthous);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tour-content {
    padding: 1.5rem;
}

.tour-title {
    color: var(--paynes-gray);
    margin-bottom: 0.75rem;
}

.tour-description {
    color: var(--paynes-gray);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(98, 146, 158, 0.1);
}

.tour-duration,
.tour-price {
    font-weight: 500;
}

.tour-price {
    color: var(--munsell-blue);
    font-size: 1.1rem;
}

.tour-availability {
    color: var(--munsell-blue);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 8. FEATURE CARDS */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 9. BUTTONS */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--xanthous);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(227, 178, 60, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--xanthous), var(--carmine));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 178, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--munsell-blue);
    border: 2px solid var(--munsell-blue);
}

.btn-secondary:hover {
    background: var(--munsell-blue);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--munsell-blue);
    border: 2px solid var(--munsell-blue);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--munsell-blue);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* 10. QUICK BOOK SECTION */
.quick-book-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.quick-book-content h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.quick-book-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.quick-book-form form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.form-select,
.form-input {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    min-width: 150px;
}

.form-select option {
    background: var(--paynes-gray);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* 11. TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stars {
    color: var(--xanthous);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--paynes-gray);
}

.testimonial-card cite {
    color: var(--munsell-blue);
    font-weight: 500;
}

/* 12. TOUR DETAIL PAGE */
.tour-detail-hero {
    background: linear-gradient(135deg, rgba(98, 146, 158, 0.9), rgba(84, 106, 123, 0.9));
    color: var(--white);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.tour-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.availability-calendar {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 90px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-day:hover {
    background: var(--light-gray);
}

.calendar-day.has-availability {
    background: rgba(98, 146, 158, 0.1);
    color: var(--munsell-blue);
    font-weight: 500;
}

.calendar-day.selected {
    background: var(--xanthous);
    color: var(--white);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 1.5rem;
}

.time-slot {
    padding: 0.75rem;
    text-align: center;
    border: 2px solid var(--munsell-blue);
    border-radius: 10px;
    background: var(--white);
    color: var(--paynes-gray);
    cursor: pointer;
    transition: var(--transition);
}

.time-slot:hover {
    background: var(--munsell-blue);
    color: var(--white);
}

.time-slot.selected {
    background: var(--xanthous);
    border-color: var(--xanthous);
    color: var(--white);
}

/* 13. BOOKING FORM */
.booking-form {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--paynes-gray);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(98, 146, 158, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--munsell-blue);
    box-shadow: 0 0 0 3px rgba(98, 146, 158, 0.1);
}

/* 14. FOOTER */
.footer {
    background: var(--paynes-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--xanthous);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--xanthous);
}

.footer-logo {
    width: 100px;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* 15. ALERTS */
.alerts {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    max-width: 400px;
}

.alert {
    background: var(--white);
    border-left: 4px solid var(--munsell-blue);
    padding: 1rem 2rem 1rem 1rem;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: var(--shadow-md);
    position: relative;
    animation: slideIn 0.3s ease;
}

.alert-success {
    border-left-color: #28a745;
}

.alert-error {
    border-left-color: var(--carmine);
}

.alert-warning {
    border-left-color: var(--xanthous);
}

.alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--paynes-gray);
    opacity: 0.5;
}

.alert-close:hover {
    opacity: 1;
}

/* 16. ANIMATIONS */
@keyframes float-slow {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-float {
    animation: float-slow 10s ease-in-out infinite;
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* 17. RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .quick-book-card {
        flex-direction: column;
        text-align: center;
    }

    .quick-book-form form {
        flex-direction: column;
        width: 100%;
    }

    .form-select,
    .form-input {
        width: 100%;
    }

    .tour-detail-content {
        grid-template-columns: 1fr;
    }

    .availability-calendar {
        position: static;
    }

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

/* 18. LOGIN PAGE */
.login-container {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
    padding: 3rem 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: var(--paynes-gray);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--munsell-blue);
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(98, 146, 158, 0.1);
}

.login-footer a {
    color: var(--munsell-blue);
    text-decoration: none;
}

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