/* ========================================
   Sunrise Drive — Hotels & Lodging
   Clean Minimalist | Emerald + Cream
   ======================================== */

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

:root {
    --emerald-900: #022c22;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-300: #6ee7b7;
    --cream-50: #f8faf7;
    --cream-100: #f0f7ee;
    --cream-200: #e2efdb;
    --cream-300: #d1e5c4;
    --white: #ffffff;
    --text-primary: #0f291e;
    --text-secondary: #3d6b54;
    --text-muted: #6b9e82;
    --line-color: rgba(4, 120, 87, 0.12);
    --line-strong: rgba(4, 120, 87, 0.25);
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(2, 44, 34, 0.04);
    --shadow-md: 0 4px 16px rgba(2, 44, 34, 0.06);
    --shadow-lg: 0 8px 32px rgba(2, 44, 34, 0.08);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-primary);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-label {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.accent {
    color: var(--emerald-600);
    font-style: italic;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background-color: rgba(248, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    transition: color 0.3s ease;
}

.site-header.scrolled .logo {
    color: var(--text-primary);
}

.logo-mark {
    color: var(--emerald-400);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav .nav-link {
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--emerald-400);
    transition: width 0.3s ease;
}

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

.main-nav .nav-link:hover {
    color: var(--white);
}

.site-header.scrolled .main-nav .nav-link {
    color: var(--text-muted);
}

.site-header.scrolled .main-nav .nav-link:hover {
    color: var(--emerald-600);
}

.site-header.scrolled .main-nav .nav-link::after {
    background-color: var(--emerald-600);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
    transition: color 0.3s ease;
}

.site-header.scrolled .mobile-menu-btn {
    color: var(--text-primary);
}

.hamburger {
    display: block;
    width: 22px;
    height: 1px;
    background-color: currentColor;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 1px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.mobile-menu-btn.active .hamburger {
    background-color: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: var(--cream-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
}

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

.mobile-nav li {
    margin-bottom: 24px;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--emerald-600);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 44, 34, 0.72) 0%,
        rgba(4, 120, 87, 0.55) 40%,
        rgba(16, 185, 129, 0.35) 70%,
        rgba(212, 244, 230, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--emerald-300), transparent);
    margin: 0 auto 32px;
}

.hero-location {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--emerald-300);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- About --- */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    z-index: 0;
}

.about-image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--line-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* --- Divider --- */
.section-divider {
    padding: 0 24px;
}

.divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* --- Rooms --- */
.rooms {
    padding: 120px 0;
}

.rooms .container {
    max-width: 1200px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.room-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.room-image-wrap {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-image {
    transform: scale(1.04);
}

.room-info {
    padding: 28px;
}

.room-name {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.room-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.room-amenities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.room-amenities li {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 6px 12px;
    background-color: var(--cream-100);
    border-radius: 20px;
}

.rooms-cta {
    text-align: center;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--line-color);
}

.rooms-cta p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

/* --- Location --- */
.location {
    padding: 120px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.location-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 40px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.detail-value {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-primary);
}

.detail-link {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--emerald-600);
    transition: color 0.3s ease;
}

.detail-link:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.location-image-wrap {
    position: relative;
}

.location-image-wrap::before {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    z-index: 0;
}

.location-image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--emerald-600);
}

/* Form */
.contact-form-wrap {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-input {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--cream-50);
    border: 1px solid var(--line-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--emerald-400);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success svg {
    color: var(--emerald-500);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background-color: var(--emerald-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 240px;
}

.footer h4 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-link {
    display: block;
    font-size: 0.9rem;
    color: var(--emerald-400);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--emerald-300);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid,
    .contact-grid {
        gap: 48px;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrap {
        max-width: 400px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-image-wrap {
        order: -1;
        max-width: 480px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 240px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .about,
    .rooms,
    .location,
    .contact {
        padding: 80px 0;
    }
    
    .section-title {
        margin-bottom: 24px;
    }
    
    .rooms-cta {
        margin-top: 48px;
        padding-top: 32px;
    }
}
