/* KAUSHIK COTTAGE - MASTER STYLESHEET
   UI Concept: Matheran Nature Luxury / Forest Retreat
*/

/* --- 1. Root Variables & Theme Colors --- */
:root {
    /* Colors extracted from the Kaushik Cottage Logo */
    --forest-green: #2D5A27; 
    --sunset-orange: #F39C12;
    --gold-accent: #E67E22;
    --dark-forest: #1A2F18;
    
    /* Neutral Palette */
    --white: #FFFFFF;
    --light-grey: #F4F7F4;
    --text-muted: #555555;
    
    /* Typography */
    --serif: 'Playfair Display', serif;
    --sans: 'Inter', sans-serif;
    
    /* UI Elements */
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
}

/* --- 2. Global Reset & Layout --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    line-height: 1.6;
    color: var(--dark-forest);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- 3. Navigation (Branded Glassmorphism) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    /* background: rgba(255, 255, 255, 0.05); */
    background: rgb(0 0 0 / 12%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Alignment */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.nav-logo-img {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    border: 2px solid var(--white);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo-text {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--sunset-orange);
    letter-spacing: 4px;
    font-weight: 400;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--sunset-orange);
}

.cta-btn {
    background: var(--forest-green);
    padding: 12px 28px;
    border-radius: 50px;
    color: var(--white) !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 20px rgba(45, 90, 39, 0.2);
}

.cta-btn:hover {
    background: var(--sunset-orange);
    transform: translateY(-2px);
}

/* --- 4. Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('./img/gallery-1.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    text-align: left;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 7px;
    color: var(--sunset-orange);
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 em {
    font-weight: 400;
    font-style: italic;
    color: var(--white);
}

.hero p {
    font-size: 1.15rem;
    max-width: 600px;
    opacity: 0.9;
    font-weight: 300;
}

/* --- 5. Gallery (Bento Mosaic) --- */
.gallery-section {
    padding: 120px 0;
    background: var(--white);
}

.section-intro {
    text-align: center;
    margin-bottom: 80px;
}

.section-intro h2 {
    font-family: var(--serif);
    font-size: 3rem;
    margin-bottom: 15px;
}

.line {
    width: 60px;
    height: 3px;
    background: var(--forest-green);
    margin: 0 auto;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.mosaic-item {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.tall { grid-row: span 2; }
.wide { grid-column: span 2; }

.mosaic-item .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(26, 47, 24, 0.9) 0%, transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 35px;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.mosaic-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-text span {
    display: block;
    color: var(--sunset-orange);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 8px;
}

.overlay-text h3 {
    color: white;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
}

.gallery-footer {
    text-align: center;
    margin-top: 60px;
}

.btn-outline {
    text-decoration: none;
    padding: 18px 45px;
    border: 1px solid var(--forest-green);
    color: var(--forest-green);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--forest-green);
    color: var(--white);
}

/* --- 6. Contact & Map --- */
.contact-section {
    padding: 120px 0;
    background: var(--light-grey);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.contact-info h3 {
    font-family: var(--serif);
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    color: var(--forest-green);
}

.map-box {
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    filter: sepia(0.2) grayscale(0.5); /* Thematic Earthy Look */
    transition: var(--transition);
}

.map-box:hover {
    filter: grayscale(0);
}

/* --- 7. Footer --- */
footer {
    padding: 80px 0;
    background: var(--dark-forest);
    color: rgba(255,255,255,0.4);
    text-align: center;
}

footer p {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- 8. Responsive Design --- */
@media (max-width: 1024px) {
    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3.2rem; }
    .gallery-mosaic {
        grid-template-columns: 1fr;
    }
    .tall, .wide {
        grid-row: span 1;
        grid-column: span 1;
    }
}