/* ==============================
   CSS Reset & Base
   ============================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a8bb3;
    --primary-dark: #0e6e8f;
    --primary-light: #e8f4f8;
    --accent: #0ea5e9;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f0f7fa;
    --bg-alt: #e8f1f5;
    --white: #ffffff;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================
   Header
   ============================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-divider {
    color: #cbd5e1;
    font-size: 1.2rem;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    max-width: 180px;
    line-height: 1.3;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0c7da0 50%, #0891b2 100%);
    color: var(--white);
    padding: 80px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('assets/iift.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 110, 143, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* ==============================
   Sections
   ============================== */
.section {
    padding: 70px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-subtitle {
    margin-top: 16px;
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ==============================
   Hotel Cards
   ============================== */
.hotel-cards {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.hotel-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

/* Hotel Image Gallery */
.hotel-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.gallery-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    opacity: 0;
    z-index: 2;
}

.hotel-gallery:hover .gallery-btn {
    opacity: 1;
}

.gallery-btn:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-prev {
    left: 8px;
}

.gallery-next {
    right: 8px;
}

.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition);
}

.gallery-dot.active {
    background: var(--white);
}

.hotel-card-body {
    padding: 32px 28px;
    text-align: center;
    position: relative;
}

.hotel-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 24px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-map:hover {
    background: var(--primary);
    color: var(--white);
}

.hotel-name {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.hotel-address {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 14px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.hotel-contact {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.contact-label {
    color: var(--primary);
    font-weight: 600;
}

.hotel-website-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 24px;
    transition: color var(--transition);
}

.hotel-website-link:hover {
    color: var(--primary-dark);
}

/* Hotel card equal height */
.hotel-card .hotel-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hotel-card .btn-map {
    margin-top: auto;
}

/* Room Table */
.room-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

.room-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 480px;
}

.room-table thead {
    background: var(--primary-light);
}

.room-table th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.room-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e8ecf0;
    color: var(--text-light);
}

.room-table tbody tr:last-child td {
    border-bottom: none;
}

.room-table tbody tr:hover {
    background: #f8fbfc;
}

.room-table .rate {
    font-weight: 700;
    color: var(--text);
    font-size: 1rem;
}

/* ==============================
   Attractions
   ============================== */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.attraction-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 32px 28px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.attraction-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.attraction-city {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}

.attraction-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.attraction-list {
    list-style: none;
}

.attraction-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f5;
    color: var(--text);
    font-size: 0.95rem;
}

.attraction-list li:last-child {
    border-bottom: none;
}

.attraction-list .arrow {
    color: var(--primary);
    font-weight: 600;
    flex-shrink: 0;
}

/* ==============================
   Venue & How to Reach
   ============================== */
.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.venue-info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 36px 32px;
}

.venue-info-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.venue-address {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    margin-bottom: 28px;
}

.btn-directions:hover {
    background: var(--primary);
    color: var(--white);
}

.how-to-reach h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.reach-list {
    list-style: none;
}

.reach-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.reach-list .arrow {
    color: var(--primary);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.venue-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--card-shadow);
}

.venue-map iframe {
    display: block;
}

/* ==============================
   Contact Form
   ============================== */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 40px 36px;
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d8e0e5;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text);
    background: #fafcfd;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 139, 179, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ==============================
   Footer
   ============================== */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #94a3b8;
    text-align: center;
    padding: 50px 20px 30px;
}

.organized-by {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 8px;
}

.footer-org {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-org-sub {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #334155;
    font-size: 0.82rem;
}

/* ==============================
   Animations
   ============================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   Toast Notification
   ============================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 200;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav.open {
        display: flex;
    }

    .hero {
        padding: 60px 20px 50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .venue-grid {
        grid-template-columns: 1fr;
    }

    .venue-map {
        min-height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .hotel-card-body {
        padding: 28px 20px;
    }

    .attractions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .logo-subtitle {
        display: none;
    }

    .logo-divider {
        display: none;
    }
}
