/* Silo Luxury Rooms - Main Stylesheet */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #b8941f;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.lang-btn:hover,
.lang-btn.active {
    background: #d4af37;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/exterior/exterior-0046.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: 500;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 1s ease 0.8s both;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Galleries Section */
.galleries {
    background: #fff;
}

.galleries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .galleries-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.slideshow {
    position: relative;
    background: #f8f9fa;
    padding: 1rem 1rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.slideshow-title {
    margin: 0 0 0.75rem;
    color: #2c3e50;
}

.slides {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
}

.slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 400ms ease;
}

.slides img.active {
    opacity: 1;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44,62,80,0.6);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slide-nav:hover { background: rgba(44,62,80,0.8); transform: translateY(-50%) scale(1.05); }
.slide-nav.prev { left: 10px; }
.slide-nav.next { right: 10px; }

.dots {
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    display: flex; gap: 6px; justify-content: center;
}

.dots button {
    width: 8px; height: 8px; border-radius: 50%; border: none; background: #c9c9c9; cursor: pointer;
}

.dots button.active { background: #d4af37; }

.more-btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 40px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}

.more-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 35px rgba(212,175,55,0.4); }

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-host {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.host-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.host-avatar {
    flex-shrink: 0;
}

.host-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
}

.host-name {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.host-title {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.host-description {
    color: #666;
    font-size: 0.95rem;
}

/* Rooms Section */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.room-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.room-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-card:hover .room-img {
    transform: scale(1.05);
}

.room-info {
    padding: 1.5rem;
    text-align: center;
}

.room-name {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.room-name-en {
    color: #d4af37;
    font-style: italic;
    font-size: 1rem;
}

/* Facilities Section */
.facilities {
    background: #f8f9fa;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.facility-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.facility-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.facility-title {
    color: #2c3e50;
    font-size: 1.1rem;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-icon {
    font-size: 1.5rem;
    color: #d4af37;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.location-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.location-item ul {
    list-style: none;
    padding-left: 0;
}

.location-item li {
    padding: 0.25rem 0;
    color: #666;
}

.location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    border-radius: 15px;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.contact-icon {
    font-size: 1.5rem;
    color: #d4af37;
    flex-shrink: 0;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: #666;
    font-weight: 500;
}

.contact-item a:hover {
    color: #d4af37;
}

.check-in-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.check-in-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.checkin-times {
    margin-bottom: 2rem;
}

.checkin-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.checkin-item i {
    color: #d4af37;
}

.self-checkin h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.self-checkin p {
    color: #666;
    margin-bottom: 1.5rem;
}

.checkin-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkin-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #d4af37;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.checkin-link:hover {
    background: #b8941f;
    color: white;
    transform: translateY(-2px);
}

.license-info {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-text {
    text-align: center;
    flex: 1;
}

.footer-text p {
    margin-bottom: 0.5rem;
    color: #bbb;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #d4af37;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #b8941f;
    transform: translateY(-2px);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded) .hero-content,
body:not(.loaded) .hero-image {
    opacity: 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

