/* ============================================ */
/* CHANDRADRONA HOMESTAY - MODERN STYLESHEET   */
/* ============================================ */

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --mountain-blue: #2C3E50;
    --forest-green: #27AE60;
    --terracotta: #E67E22;
    --clay-red: #C0392B;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #ECF0F1;
    --medium-gray: #95A5A6;
    --dark-gray: #2C3E50;
    
    /* Accent Colors */
    --gold: #F39C12;
    --pond-blue: #3498DB;
    --bamboo-green: #2ECC71;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* ============================================ */
/* RESET & BASE STYLES                         */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--off-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================ */
/* STICKY NAVIGATION                           */
/* ============================================ */
.nav-menu {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition-medium);
}

.nav-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo {
    height: 50px;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ============================================ */
/* HERO SECTION                                */
/* ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mountain-blue), var(--forest-green));
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    animation: fadeIn 2s ease;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.logo-container {
    margin-bottom: 30px;
    animation: bounceIn 1.5s ease;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================ */
/* ANIMATIONS                                  */
/* ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.slide-in-left {
    opacity: 0;
    animation: fadeInLeft 0.5s ease 0.3s forwards;
}

.slide-in-right {
    opacity: 0;
    animation: fadeInRight 0.5s ease 0.3s forwards;
}

.pulse-animation {
    animation: pulse 2s ease infinite;
}

/* ============================================ */
/* TYPING EFFECT                               */
/* ============================================ */
.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--terracotta);
    width: 0;
    animation: typing 3s steps(30) 1s forwards,
               blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--terracotta); }
}

/* ============================================ */
/* LOCATION & ICONIC IMAGE SECTION             */
/* ============================================ */
.iconic-location-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.iconic-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition-medium);
}

.iconic-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.iconic-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 40px 20px 20px;
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-details {
    background: var(--off-white);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--terracotta);
}

/* ============================================ */
/* SURROUNDINGS GALLERY                        */
/* ============================================ */
.surroundings-section {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.surroundings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.surrounding-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition-medium);
    cursor: pointer;
}

.surrounding-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-image {
    position: relative;
    height: 300px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.surrounding-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition-medium);
}

.surrounding-card:hover .card-overlay {
    transform: translateY(0);
}

/* ============================================ */
/* TRANSFORMATION SECTION                      */
/* ============================================ */
.transformation-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.transformation-card {
    background: var(--off-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition-medium);
}

.transformation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 20px;
    background: #f0f0f0;
}

.before-image,
.after-image {
    position: relative;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.label-before {
    background: rgba(192, 57, 43, 0.9);
    color: white;
}

.label-after {
    background: rgba(39, 174, 96, 0.9);
    color: white;
}

.arrow-icon {
    font-size: 24px;
    color: var(--terracotta);
    font-weight: bold;
}

.transformation-info {
    padding: 20px;
}

.transformation-info h3 {
    color: var(--mountain-blue);
    margin-bottom: 10px;
}

/* ============================================ */
/* ROOMS PREVIEW SECTION                       */
/* ============================================ */
.rooms-preview-section {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition-medium);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.room-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--terracotta);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.room-details {
    padding: 20px;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: var(--mountain-blue);
}

/* ============================================ */
/* BUTTONS                                     */
/* ============================================ */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-book {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background: var(--terracotta);
    color: white;
    border: 2px solid var(--terracotta);
}

.btn-primary:hover {
    background: var(--clay-red);
    border-color: var(--clay-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--mountain-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--mountain-blue);
    border: 2px solid var(--mountain-blue);
}

.btn-outline:hover {
    background: var(--mountain-blue);
    color: white;
}

.btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

/* ============================================ */
/* RESPONSIVE DESIGN                           */
/* ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .transformation-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .before-after-container {
        grid-template-columns: 1fr;
    }
    
    .arrow-icon {
        transform: rotate(90deg);
    }
}
/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.property-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.landscape-list {
    list-style: none;
    padding: 0;
}

.landscape-list li {
    padding: 10px 0;
    font-size: 16px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--mountain-blue);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 40px;
    font-style: italic;
}

/* Testimonials */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--off-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stars {
    margin-bottom: 15px;
}

.star {
    color: #ddd;
    font-size: 20px;
}

.star.filled {
    color: var(--gold);
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: bold;
    color: var(--mountain-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--mountain-blue), var(--forest-green));
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #E67E22;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.room-details {
    padding: 20px;
}

.room-details h3 {
    margin-bottom: 10px;
    color: #2C3E50;
}

.room-description {
    color: #666;
    margin-bottom: 15px;
}

.room-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #2C3E50;
}

.btn-book {
    background: #E67E22;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-book:hover {
    background: #C0392B;
}