/* Variables & Setup */
:root {
    --primary-bg: #0f1614;
    --surface: #172420;
    --surface-light: #1e312b;
    --accent: #dca76a; /* Warm wood/gold */
    --accent-hover: #e8b982;
    --text-main: #f0f4f2;
    --text-muted: #9ba8a3;
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title span {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #0f1614;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--accent);
    color: #0f1614;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(15, 22, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-image: url('assets/images/cabin2/21.jpg'); /* Default hero image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 22, 20, 0.6) 0%, rgba(15, 22, 20, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

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

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
}

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

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.amenity svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.amenity span {
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 8px;
    z-index: 1;
}

/* Accommodation Section */
.accommodation-section {
    padding: 100px 0;
    background-color: var(--surface);
}

.section-header {
    margin-bottom: 80px;
}

.section-header p {
    color: var(--text-muted);
}

.cabin-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 100px;
    align-items: center;
}

.cabin-card:last-child {
    margin-bottom: 0;
}

.cabin-info h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.cabin-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cabin-features {
    margin-bottom: 40px;
}

.cabin-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.cabin-features li svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    opacity: 0.8;
}

.cabin-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-img {
    border-radius: 8px;
    height: 350px;
    object-fit: cover;
    width: 100%;
    cursor: pointer;
    transition: var(--transition);
}

.main-img:hover {
    transform: scale(1.02);
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnails img, .more-images {
    height: 80px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnails img:hover {
    transform: scale(1.05);
}

.more-images {
    position: relative;
    overflow: hidden;
}

.more-images img {
    filter: brightness(0.4);
}

.more-images span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
}

.hidden-gallery {
    display: none;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
}

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

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--surface);
    padding: 25px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background-color: var(--surface-light);
}

.contact-card .icon {
    width: 60px;
    height: 60px;
    background-color: rgba(220, 167, 106, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-card .icon svg {
    width: 28px;
    height: 28px;
}

.contact-card .text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-card .text span {
    color: var(--text-muted);
}

/* Viber card */
.contact-card.viber-card .icon {
    background-color: rgba(125, 86, 185, 0.15);
    color: #7d56b9;
}

.contact-card.viber-card:hover {
    border-color: #7d56b9;
}

.contact-card.viber-card:hover .icon {
    background-color: rgba(125, 86, 185, 0.3);
}

/* WhatsApp card */
.contact-card.whatsapp-card .icon {
    background-color: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.contact-card.whatsapp-card:hover {
    border-color: #25d366;
}

.contact-card.whatsapp-card:hover .icon {
    background-color: rgba(37, 211, 102, 0.25);
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

/* Footer */
footer {
    background-color: #080c0a;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--accent);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social a {
    color: var(--text-main);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent);
}

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

.footer-credit {
    text-align: center;
    padding: 14px 0 10px;
    font-size: 0.78rem;
    color: #3a4a44;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 4px;
}

.footer-credit a {
    color: #3a4a44;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.footer-credit a:hover {
    color: var(--accent);
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    max-width: 90vw;
}

.modal-content img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform:scale(0.9)} 
    to {transform:scale(1)}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.prev-img, .next-img {
    cursor: pointer;
    color: white;
    font-size: 40px;
    font-weight: bold;
    padding: 16px;
    border-radius: 3px;
    pointer-events: auto;
    background-color: rgba(0,0,0,0.5);
    transition: 0.3s ease;
}

.prev-img:hover, .next-img:hover {
    background-color: var(--accent);
    color: #0f1614;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .cabin-card, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cabin-card.reverse .cabin-info {
        order: -1;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities {
        grid-template-columns: 1fr;
    }
}
