/* 
  LSH Lake Side Homes - Stylesheet
  Focuses on premium aesthetics, clean typography, soft animations, and modern grid/flex layouts.
*/

:root {
    /* Color Palette */
    --color-primary: #af8d63;
    /* Elegant Gold/Bronze */
    --color-primary-dark: #8c6a46;
    --color-dark: #1a1a1a;
    --color-dark-deep: #0f0f0f;
    --color-light: #f9f8f6;
    --color-white: #ffffff;
    --color-text: #4a4a4a;
    --color-text-light: #888888;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.padding-y {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-light);
}

.bg-dark {
    background-color: var(--color-dark);
}

.bg-dark-deep {
    background-color: var(--color-dark-deep);
}

.text-white {
    color: var(--color-white) !important;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.6);
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(5px);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 20px rgba(175, 141, 99, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-dark);
    border: 1px solid var(--color-dark);
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-panel.dark {
    background: rgba(40, 40, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

/* --- Typography Utilities --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: var(--transition-smooth);
}



.desktop-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

.navbar .btn-small {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.navbar .btn-small:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

/* Mobile Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fullscreen-menu.open {
    pointer-events: all;
    opacity: 1;
}

.menu-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
}

.menu-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10%;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 5%;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    font-weight: 300;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    text-transform: none;
    letter-spacing: 0;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fullscreen-menu.open .menu-item {
    transform: translateY(0);
    opacity: 1;
}

.fullscreen-menu.open .menu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.fullscreen-menu.open .menu-item:nth-child(2) {
    transition-delay: 0.15s;
}

.fullscreen-menu.open .menu-item:nth-child(3) {
    transition-delay: 0.2s;
}

.fullscreen-menu.open .menu-item:nth-child(4) {
    transition-delay: 0.25s;
}

.fullscreen-menu.open .menu-item:nth-child(5) {
    transition-delay: 0.3s;
}

.fullscreen-menu.open .menu-item:nth-child(6) {
    transition-delay: 0.35s;
}

.menu-item:hover {
    color: var(--color-primary);
    padding-left: 20px;
}

.contact-details-menu {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
}

.fullscreen-menu.open .contact-details-menu {
    opacity: 1;
}

.contact-link {
    font-size: 1.2rem;
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--color-primary);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--color-dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.stagger-reveal>* {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.slide.active .stagger-reveal>* {
    opacity: 1;
    transform: translateY(0);
}

.slide.active .stagger-reveal p.subtitle {
    transition-delay: 0.2s;
}

.slide.active .stagger-reveal h1 {
    transition-delay: 0.4s;
}

.slide.active .stagger-reveal p.hero-desc {
    transition-delay: 0.6s;
}

.slide.active .stagger-reveal .btn {
    transition-delay: 0.8s;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: #ffd700; /* Brighter gold color */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--color-white);
    max-width: 250%;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-block {
    display: none;
    animation: fadeIn 0.5s ease;
}

.text-block.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-indicators {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    background: var(--color-primary);
    width: 60px;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    padding: 10px;
}

.feat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .feat-img {
    transform: scale(1.05);
}

/* --- Room Units Section --- */
.unit-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 100px;
}

.unit-showcase.reverse {
    grid-template-columns: 1fr 1.5fr;
}

.unit-showcase:last-child {
    margin-bottom: 0;
}

.image-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

.unit-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.unit-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.unit-specs li {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.unit-specs .icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* --- Facilities Section --- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.facility-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fac-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.fac-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    margin-top: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.facility-card.dark .fac-content {
    background: transparent;
    margin: auto;
}

.fac-content.centered {
    text-align: center;
}

.fac-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.fac-title {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Contact Section --- */
.contact-form-col {
    padding: 40px;
    border-radius: 12px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-item .icon {
    margin-right: 20px;
    font-size: 1.5rem;
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-white);
    font-weight: 500;
}

.custom-form input,
.custom-form select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.custom-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-form input:focus,
.custom-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.15);
}

.custom-form select option {
    background: var(--color-dark);
    color: var(--color-white);
}

/* --- Footer --- */
.footer {
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo h2 {
    color: var(--color-white);
    font-size: 1.5rem;
}

.footer-logo span {
    font-weight: 300;
}

.disclaimer {
    font-size: 0.8rem;
}

/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Layout --- */
@media (max-width: 991px) {

    .features-grid,
    .unit-showcase,
    .unit-showcase.reverse,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .feature-image {
        order: -1;
    }

    .unit-showcase.reverse .unit-images {
        order: -1;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Floating Social Connector --- */
.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-float {
    width: 50px;
    height: 50px;
    background-color: var(--color-dark);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-float.fb:hover {
    background-color: #1877F2;
    border-color: #1877F2;
}

.social-float.ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
}

.social-float.wa:hover {
    background-color: #25D366;
    border-color: #25D366;
}

.social-float svg {
    width: 24px;
    height: 24px;
}