/* 
   Tiger's Hill Resort - Premium Jungle Theme (Expanded)
*/

:root {
    --primary-green: #1b4332;
    --accent-green: #2d6a4f;
    --earth-brown: #5c4033;
    --light-bg: #fcfaf5; 
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --gold: #d4af37;
    --soft-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --header-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for desktop header */
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 160px; /* Larger offset for mobile stacked header */
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

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

/* --- Header & Navigation --- */
header {
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--header-transition);
    background: transparent;
}

header.scrolled {
    background: rgba(27, 67, 50, 0.98);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px; /* Balanced initial size */
    border-radius: 6px;
    background: white; /* Badge effect */
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--header-transition);
}

header.scrolled .logo img {
    height: 55px; /* Smoothly shrunken size */
    padding: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--header-transition);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--header-transition);
}

nav ul li a:hover {
    color: var(--gold);
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), 
                url('Images/resort1.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 15px;
    color: var(--gold);
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 1.2s ease-out;
}

/* --- Quick Links Grid --- */
.quick-links {
    padding: 60px 0;
    background: white;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.quick-link-card {
    padding: 45px 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-green);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 3px solid var(--gold);
    background: var(--light-bg);
}

.quick-link-card h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
}

.quick-link-card::before {
    content: '◈';
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: transform 0.4s;
}

.quick-link-card:hover::before {
    transform: rotate(180deg);
}

/* --- Section Styling --- */
.section-padding {
    padding: clamp(60px, 10vw, 120px) 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-green);
    margin-bottom: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto;
}

.section-subtitle {
    text-align: center;
    color: var(--earth-brown);
    margin-bottom: clamp(40px, 8vw, 70px);
    font-size: 1.1rem;
    font-weight: 300;
    padding: 0 20px;
}

.alternate-bg {
    background-color: #f1f3e9;
}

/* --- Meet the Owner --- */
.owner-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.owner-image {
    flex: 1;
}

.owner-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
}

.owner-text {
    flex: 1.2;
}

.owner-text h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.owner-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.owner-signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 30px;
}

/* --- Gallery Styling --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eee;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.credit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    padding: 40px 20px 20px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s;
}

.gallery-item:hover .credit {
    opacity: 1;
    transform: translateY(0);
}

/* --- Explore Kanha --- */
.explore-kanha-content {
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: var(--soft-shadow);
}

.explore-image-container {
    flex: 1.2;
}

.full-width-image {
    width: 100%;
    display: block;
    height: auto;
}

.explore-text-container {
    flex: 1;
    padding: 40px;
}

.explore-text-container h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.explore-text-container p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* --- Meet the Guests --- */
.guest-gallery {
    margin-bottom: 60px;
}

.future-guest-cta {
    text-align: center;
    padding: 60px;
    background: var(--primary-green);
    color: white;
    border-radius: 12px;
}

.future-guest-cta h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.future-guest-cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 300;
}

/* --- Contact & Map --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 8vw, 80px);
    background: white;
    padding: clamp(30px, 6vw, 60px);
    box-shadow: var(--soft-shadow);
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-green);
}

.contact-info p {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.contact-info strong {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-form {
    padding-left: 40px;
    border-left: 1px solid #eee;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #fdfdfd;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gold);
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* --- Lightbox --- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border-radius: 12px;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

#lightbox.active img {
    transform: scale(1);
}

#lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background: var(--primary-green);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer-address {
    margin: 20px auto;
    max-width: 450px;
    font-weight: 300;
    font-size: 0.9rem;
    color: #aabeb5;
    padding: 0 20px;
}

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

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .owner-section, .explore-kanha-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .owner-text h3 {
        font-size: 2rem;
    }

    .owner-text p {
        font-size: 1rem;
    }

    .owner-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .explore-text-container {
        padding: 40px 20px;
        text-align: center;
    }

    header {
        background: rgba(27, 67, 50, 0.98);
        padding: 10px 0;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
        padding: 0 10px;
    }

    nav ul li {
        margin-left: 0;
    }

    nav ul li a {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .logo img {
        height: 70px; /* Better mobile size */
    }

    header.scrolled .logo img {
        height: 50px;
    }

    .hero {
        background-attachment: scroll;
    }

    .gallery-item {
        /* aspect-ratio from base styles takes over */
    }

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

    .contact-form {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #eee;
        padding-top: 40px;
    }
}

/* --- Info Cards & Enhancements --- */
.info-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--gold);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.info-card h3 {
    color: var(--primary-green);
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.info-card-list {
    list-style: none;
    padding-left: 0;
}

.info-card-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.info-card-list li:last-child {
    border-bottom: none;
}

.info-card-list li span:first-child {
    font-weight: 500;
    color: var(--accent-green);
}

.info-card-list li span:last-child {
    color: var(--earth-brown);
}

.highlight-box {
    text-align: center;
    padding: 40px;
    background: #f8f9f2;
    border-radius: 12px;
    border: 1px dashed var(--gold);
    margin-top: 40px;
}

.highlight-box h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.highlight-box p {
    font-size: 1.1rem;
    color: var(--earth-brown);
}

/* Activity Grid */
.activity-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.activity-list {
    list-style: none;
    padding-left: 0;
}

.activity-list li {
    margin-bottom: 12px;
    color: var(--earth-brown);
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.activity-list li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
