/* assets/css/main.css */

:root {
    /* Colors */
    --primary: #1D3B2A;
    --secondary: #C6A45A;
    --background: #F9F8F5;
    --dark: #181818;
    --white: #FFFFFF;
    --accent: #7A9A7A;
    --light-gray: #EAE8E3;
    
    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --font-button: 'Poppins', sans-serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: initial; /* Handled by Lenis */
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-padding {
    padding: var(--space-xl) 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-dark { background-color: var(--dark); }
.bg-light { background-color: var(--light-gray); }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.d-flex { display: flex; }
.justify-content-center { justify-content: center; }
.gap-3 { gap: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-button);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn-primary:hover {
    background-color: var(--dark);
    border-color: var(--dark);
}

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

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

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-fast);
    padding: 1.5rem 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition-fast);
}

.header.scrolled .logo-text,
.header.scrolled .nav-link {
    color: var(--dark);
}

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

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-button);
    font-size: 0.95rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
    position: relative;
    transition: var(--transition-fast);
}

.header.scrolled .hamburger {
    background-color: var(--dark);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: inherit;
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--dark);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform var(--transition-slow);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin: 1.5rem 0;
}

.mobile-nav-list a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* For parallax/zoom */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    font-family: var(--font-button);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--white);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Inner Hero */
.inner-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}
.inner-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(24, 24, 24, 0.6);
}
.inner-hero-content {
    position: relative;
    z-index: 1;
    margin-top: 80px; /* Accounts for fixed header */
}

/* Sections General */
.section-subtitle {
    display: block;
    font-family: var(--font-button);
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* About Premium */
.about-premium {
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}
.about-premium-inner {
    display: flex;
    align-items: center;
    gap: 6rem;
}
.about-premium-content {
    flex: 1;
    padding-right: 2rem;
}
.about-premium-content .divider {
    width: 60px;
    height: 2px;
    background-color: var(--secondary);
    margin: 1.5rem 0;
}
.about-premium-content .section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 400;
}
.premium-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.pf-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1rem;
}
.pf-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
}
.pf-text {
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--dark);
}
.about-premium-image {
    flex: 1;
    position: relative;
}
.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.image-wrapper:hover img {
    transform: scale(1.05);
}
.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(29, 59, 42, 0.3);
}
.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--secondary);
}
.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-images {
    position: relative;
}

.about-img.main-img {
    border-radius: 8px;
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-img.sub-img {
    position: absolute;
    bottom: -10%;
    right: 0;
    width: 50%;
    border-radius: 4px;
    border: 10px solid var(--background);
}

/* Room Cards */
.room-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-card-img {
    height: 300px;
    overflow: hidden;
}

.room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.room-card:hover .room-card-img img {
    transform: scale(1.05);
}

.room-card-content {
    padding: 2rem;
}

.room-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: var(--font-button);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-button);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 1rem;
    color: var(--primary);
}

.btn-link .arrow {
    transition: transform var(--transition-fast);
}

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

/* CTA */
.cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(29, 59, 42, 0.85); /* Primary color with opacity */
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-button);
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: rgba(255,255,255,0.7);
}

.social-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Loader */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--white);
    opacity: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .nav { display: none; }
    .d-none-mobile { display: none; }
    .menu-toggle { display: block; }
    
    .hero-title { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-images { margin-top: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .about-premium-inner { flex-direction: column; gap: 4rem; }
    .about-premium-content { padding-right: 0; }
    .experience-badge { bottom: 20px; left: 20px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; align-items: center; }
}
