﻿:root {
    --saffron: #E8730C;
    --deep-saffron: #B85500;
    --gold: #D4A017;
    --cream: #FDF6E3;
    --deep-brown: #2C1A0E;
    --temple-red: #8B1A1A;
    --sea-blue: #1A6B8A;
    --light-sea: #E8F4F8;
    --warm-white: #FFFDF7;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--warm-white);
    color: var(--deep-brown);
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
}

p, li, span {
    font-family: 'Nunito', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, var(--deep-brown) 0%, #4A2C0A 100%);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold) !important;
    font-weight: 800;
    letter-spacing: 1px;
}

    .navbar-brand span {
        color: var(--saffron);
    }

.navbar-nav .nav-link {
    color: var(--cream) !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

    .navbar-nav .nav-link:hover {
        color: var(--gold) !important;
    }

.navbar-toggler {
    border-color: var(--gold);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 160, 23, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(20,8,2,0.55), rgba(20,8,2,0.45)), url('https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Ramanathaswamy_Temple_Rameswaram.jpg/1280px-Ramanathaswamy_Temple_Rameswaram.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, transparent 30%, rgba(10,4,0,0.4) 100%);
    }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--saffron);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    animation: fadeDown 0.8s ease both;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 2rem);
    color: var(--cream);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: fadeDown 0.8s 0.2s ease both;
}

    .hero h1 span {
        color: var(--gold);
    }

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,253,247,0.85);
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
    animation: fadeDown 0.8s 0.4s ease both;
}

.hero-btns {
    animation: fadeDown 0.8s 0.6s ease both;
}

.btn-saffron {
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(232,115,12,0.4);
}

    .btn-saffron:hover {
        background: linear-gradient(135deg, var(--deep-saffron), var(--saffron));
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(232,115,12,0.5);
    }

.btn-outline-cream {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

    .btn-outline-cream:hover {
        background: var(--cream);
        color: var(--deep-brown);
        transform: translateY(-2px);
    }

/* ===== STATS STRIP ===== */
.stats-strip {
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    padding: 1.5rem 0;
}

.stat-item {
    text-align: center;
    color: #fff;
}

    .stat-item .num {
        font-family: 'Cinzel', serif;
        font-size: 2rem;
        font-weight: 800;
    }

    .stat-item p {
        font-size: 0.8rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        opacity: 0.85;
    }

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--deep-brown);
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--saffron);
        border-radius: 2px;
        margin: 12px auto 0;
    }

.section-sub {
    color: #7A5C3A;
    font-size: 1.05rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ===== DARSHANA GUIDE ===== */
.guide-section {
    background: var(--cream);
    padding: 5rem 0;
}

.guide-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(44,26,14,0.08);
    border-left: 5px solid var(--saffron);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

    .guide-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 40px rgba(44,26,14,0.12);
    }

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

    .guide-icon i {
        color: #fff;
        font-size: 1.5rem;
    }

.guide-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--temple-red);
    margin-bottom: 0.8rem;
}

.guide-card p {
    color: #5A4030;
    font-size: 0.93rem;
    line-height: 1.7;
}

.timing-badge {
    display: inline-block;
    background: var(--light-sea);
    color: var(--sea-blue);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 0.8rem;
}

/* ===== TOUR PACKAGES ===== */
.packages-section {
    padding: 5rem 0;
    background: #fff;
}

.package-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .package-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }

.package-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.package-img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.package-body {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.package-card h3 {
    font-size: 1.3rem;
    color: var(--deep-brown);
    margin-bottom: 0.8rem;
}

.package-price {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--saffron);
    font-weight: 800;
}

    .package-price span {
        font-size: 0.9rem;
        color: #999;
        font-family: 'Nunito', sans-serif;
        font-weight: 400;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

    .feature-list li {
        font-size: 0.88rem;
        color: #5A4030;
        padding: 4px 0;
    }

        .feature-list li i {
            color: var(--saffron);
            margin-right: 6px;
        }

.popular-badge {
    background: var(--temple-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    text-align: center;
}

/* ===== ACCOMMODATION ===== */
.accom-section {
    background: var(--cream);
    padding: 5rem 0;
}

.room-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    height: 100%;
}

    .room-card:hover {
        transform: translateY(-6px);
    }

.room-img-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.room-body {
    padding: 1.5rem;
}

    .room-body h4 {
        font-family: 'Cinzel', serif;
        font-size: 1.1rem;
        color: var(--deep-brown);
        margin-bottom: 0.5rem;
    }

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0.8rem 0;
}

.amenity-tag {
    background: var(--light-sea);
    color: var(--sea-blue);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.room-price {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--sea-blue);
    font-weight: 700;
}

    .room-price small {
        font-family: 'Nunito', sans-serif;
        font-size: 0.8rem;
        color: #999;
        font-weight: 400;
    }

/* ===== THEERTHAM GUIDE ===== */
.theertham-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0D4B6E 0%, #1A6B8A 100%);
}

.theertham-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
    text-align: center;
    transition: background 0.3s;
    height: 100%;
}

    .theertham-card:hover {
        background: rgba(255,255,255,0.15);
    }

    .theertham-card .num {
        font-family: 'Cinzel', serif;
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--gold);
    }

    .theertham-card h5 {
        font-family: 'Cinzel', serif;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .theertham-card p {
        font-size: 0.85rem;
        opacity: 0.8;
    }


/* ===== Pariharam GRID SECTION ===== */
.pariharam-grid-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #5A0F1C 0%, #daa02b 100%);
}

.pariharam-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
    height: 100%;
}

    .pariharam-card:hover {
        background: rgba(255,255,255,0.15);
        transform: translateY(-5px);
    }

    .pariharam-card .num {
        font-family: 'Cinzel', serif;
        font-size: 2.3rem;
        font-weight: 800;
        color: #FFD700;
    }

    .pariharam-card h5 {
        font-family: 'Cinzel', serif;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .pariharam-card p {
        font-size: 0.85rem;
        opacity: 0.85;
    }
/* ===== BOOKING FORM ===== */
.booking-section {
    padding: 5rem 0;
    background: #fff;
}

.booking-form-wrapper {
    background: var(--deep-brown);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44,26,14,0.2);
}

    .booking-form-wrapper h2 {
        color: var(--gold);
    }

    .booking-form-wrapper p {
        color: rgba(255,253,247,0.7);
    }

.form-label {
    color: var(--cream);
    font-size: 0.88rem;
    font-weight: 600;
}

.form-control, .form-select {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

    .form-control:focus, .form-select:focus {
        background: rgba(255,255,255,0.12);
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(212,160,23,0.2);
        color: #fff;
    }

    .form-control::placeholder {
        color: rgba(255,255,255,0.4);
    }

    .form-select option {
        background: var(--deep-brown);
        color: var(--cream);
    }

.info-panel {
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    height: 100%;
}

    .info-panel h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .info-item i {
        font-size: 1.3rem;
        opacity: 0.9;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .info-item h6 {
        font-family: 'Cinzel', serif;
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .info-item p {
        font-size: 0.85rem;
        opacity: 0.85;
        margin: 0;
    }

/* Default input style */
/*.form-control {
    border: 2px solid #ddd;
    transition: 0.3s;
}*/

/* Error style */
.input-error {
    border-color: #dc3545 !important;
    /*background-color: #fff5f5;*/
}

/* Success style */
.input-success {
    border-color: #28a745 !important;
}

/* Error text */
.error-text {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 5rem 0;
    background: var(--cream);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

    .map-wrapper iframe {
        display: block;
    }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--deep-brown);
}

.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    height: 100%;
}

.stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    opacity: 0.85;
    line-height: 1.8;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.author-name {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
}

.author-place {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ===== FOOTER ===== */
footer {
    background: #1A0D05;
    padding: 3rem 0 1.5rem;
    color: var(--cream);
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 800;
}

.footer-links h6 {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--saffron);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: rgba(255,253,247,0.65);
    text-decoration: none;
    font-size: 0.87rem;
    padding: 3px 0;
    transition: color 0.3s;
}

    .footer-links a:hover {
        color: var(--gold);
    }

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    text-decoration: none;
    margin-right: 8px;
    transition: background 0.3s;
}

    .social-links a:hover {
        background: var(--saffron);
    }

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0 1rem;
}

.footer-bottom {
    font-size: 0.82rem;
    color: rgba(255,253,247,0.45);
    text-align: center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== SCROLL-TO-TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(232,115,12,0.4);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
}

    .scroll-top.visible {
        opacity: 1;
        pointer-events: all;
    }

    .scroll-top:hover {
        transform: translateY(-3px);
    }

/* ===== GALLERY ===== */
.gallery-section {
    padding: 5rem 0;
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, #f0e8d8, #e8d8c0);
}

    .gallery-item::before {
        content: '🛕';
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        opacity: 0.3;
        z-index: 0;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        display: block;
        position: relative;
        z-index: 1;
    }

    .gallery-item:hover img {
        transform: scale(1.06);
    }

    .gallery-item .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(44,26,14,0.8) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.3s;
        display: flex;
        align-items: flex-end;
        padding: 1rem;
        z-index: 2;
    }

    .gallery-item:hover .overlay {
        opacity: 1;
    }

.overlay-label {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 0.85rem;
}

.g-main {
    grid-column: span 7;
    grid-row: span 2;
    height: 420px;
}

.g-top {
    grid-column: span 5;
    height: 204px;
}

.g-bot {
    grid-column: span 5;
    height: 204px;
}

.g-wide {
    grid-column: span 4;
    height: 210px;
}

.g-wide2 {
    grid-column: span 4;
    height: 210px;
}

.g-wide3 {
    grid-column: span 4;
    height: 210px;
}

@media (max-width: 991px) {
    .g-main {
        grid-column: span 12;
        height: 280px;
    }

    .g-top, .g-bot {
        grid-column: span 6;
        height: 180px;
    }

    .g-wide, .g-wide2, .g-wide3 {
        grid-column: span 6;
        height: 170px;
    }
}

@media (max-width: 575px) {
    .g-main, .g-top, .g-bot, .g-wide, .g-wide2, .g-wide3 {
        grid-column: span 12;
        height: 220px;
    }
}

/* ===== CARD IMAGE STYLES ===== */
.package-real-img, .room-real-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.package-real-img {
    height: 220px;
}

.room-real-img {
    height: 190px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero {
        min-height: 80vh;
    }

    .booking-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .stats-strip .col-6 {
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-btns .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .booking-form-wrapper {
        padding: 1.5rem;
    }
}

