/* ---------- TripTravel – Unified Stylesheet ---------- */
:root {
    --primary: #fd7e14;
    --secondary: #ffc107;
    --accent-color: #28a745;
    --text-dark: #333;
    --text-light: #666;
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

html,
body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

/* ---------- Global Backgrounds ---------- */
body {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.464), rgba(255, 255, 255, 0.59)),
        url("./images/hero_img.png") center/cover no-repeat;
}

body.login-body,
body.signup-body {
    background: #f8f9fa url("../images/hero_img.png") center/cover no-repeat fixed;
    background-size: cover;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* ---------- Hero Section ---------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.59)),
        url("../images/hero_img.png") center/cover no-repeat;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--text-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: rgb(85, 17, 118);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: bold;
}

.btn-hero {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(253, 126, 20, 0.35);
    transition: 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

/* ---------- Section Titles ---------- */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Destination Cards ---------- */
.destinations-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.destination-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
}

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

.destination-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 100%;
}

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

.destination-content {
    padding: 1.5rem;
}

.destination-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.destination-card:hover .destination-title {
    color: var(--primary);
}

.destination-description {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.destination-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.destination-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.destination-rating {
    display: flex;
    align-items: center;
}

.star {
    color: var(--secondary);
}

.explore-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    color: white;
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ---------- Feature Cards ---------- */
.why-choose-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ---------- Contact Section ---------- */
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-card {
    max-width: 500px;
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.btn-contact {
    background: linear-gradient(45deg, #0d6efd, #6610f2);
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    opacity: 0.95;
    color: white;
    transform: translateY(-1px);
}

/* ---------- Forms ---------- */
.form-control {
    border-radius: 10px;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: rgba(253, 126, 20, 0.76);
    box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25);
}

.password-toggle {
    border-radius: 0 10px 10px 0;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    transition: background 0.3s ease;
}

.password-toggle:hover {
    background: rgba(253, 126, 20, 0.1);
}

/* ---------- Login & Signup Cards ---------- */
.login-card,
.signup-card {
    background: linear-gradient(135deg, rgba(247, 238, 238, 0.4), rgba(255, 255, 255, 0.55));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.signup-card {
    max-width: 800px;
    margin: auto;
}

/* ---------- Buttons ---------- */
.btn-login {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-weight: 600;
    color: white;
}

.btn-login:hover {
    background: linear-gradient(45deg, #20c997, #28a745);
}

.btn-signup {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 25px;
    font-weight: 600;
    color: #fff;
}

.btn-signup:hover {
    opacity: 0.95;
}

/* ---------- Footer ---------- */
footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    margin-top: 0;
}

footer p {
    color: white;
    margin: 0;
}

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

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

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }

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

    .destination-image {
        height: 200px;
    }

    .login-card,
    .signup-card {
        margin: 1rem;
    }

    .hero {
        padding-top: 80px;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .btn-hero {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .destination-image {
        height: 180px;
    }
}