/* 
   Marduk Otel - Custom Luxury Single Page Stylesheet
   Designed by Antigravity AI
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #c5a880; /* Soft luxury gold */
    --primary-hover: #b3946a;
    --dark: #121820; /* Deep charcoal */
    --dark-rgb: 18, 24, 32;
    --dark-light: #1e2630;
    --light: #f8f9fa;
    --text-dark: #2d3748;
    --text-light: #f7fafc;
    --text-muted: #718096;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll globally */
    position: relative;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

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

header.scrolled {
    background-color: rgba(18, 24, 32, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

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

.logo-container img {
    height: 55px; /* Looks beautiful for a landscape logo */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

header.scrolled .logo-container img {
    height: 48px;
}

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

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

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

.nav-menu a:hover {
    color: var(--primary);
}

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

.btn-reserve {
    background-color: var(--primary);
    color: var(--dark) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.btn-reserve:hover {
    background-color: transparent;
    color: var(--primary) !important;
    box-shadow: none;
}

/* Mobile Menu Header - Hidden on Desktop */
.mobile-menu-header {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}

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

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
}

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

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 24, 32, 0.4) 0%, rgba(18, 24, 32, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
    color: var(--text-light);
}

/* Subtitle styled white and more prominent as requested */
.hero-subtitle {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff; /* Prominent white color */
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* Text shadow for legibility */
    animation: fadeInUp 1s ease-in-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInUp 1.2s ease-in-out;
}

.hero-btns {
    animation: fadeInUp 1.4s ease-in-out;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.4);
    border: 1px solid var(--primary);
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    box-shadow: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 2px solid var(--text-light);
    display: inline-block;
    transition: var(--transition);
}

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

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

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

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

.about-text h3 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

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

.about-features {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(197, 168, 128, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature-text {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
}

/* New Modern Non-Overlapping Asymmetric Gallery Grid */
.about-gallery {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    height: 480px;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: var(--dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-large {
    grid-row: span 2;
    height: 480px;
}

.gallery-item-small {
    height: 230px;
}

/* Rooms Section */
.rooms-section {
    padding: 100px 0;
    background-color: #fff;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.room-card {
    background-color: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    
    /* Ensure equal card heights and alignment */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.room-thumb {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.room-price {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--dark);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    z-index: 2;
}

.room-content {
    padding: 30px;
    /* Let the content fill the card and align buttons at bottom */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.room-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 300;
    /* Pushes amenities and button down to align them across all cards */
    flex-grow: 1;
}

.room-amenities {
    display: flex;
    gap: 15px;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 20px;
    margin-bottom: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.amenity-item svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
}

.btn-room {
    display: block;
    width: 100%;
    text-align: center;
    background-color: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-top: auto; /* Solidify bottom alignment */
}

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

/* Contact & Fullwidth Map Section */
.contact-section {
    padding: 100px 0 0 0;
    background-color: var(--light);
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.info-card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-card-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.info-card-text h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.info-card-text p, .info-card-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-card-text a:hover {
    color: var(--primary);
}

/* Map Full-Width Layout */
.map-fullwidth {
    width: 100%;
    height: 450px;
    margin-top: 60px;
    line-height: 0;
}

.map-fullwidth iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer Section - Enlarged Layout (Adapts dynamically to remaining columns) */
footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 80px 0 40px 0;
    margin-top: 0; /* Align directly after the fullwidth map */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Auto-adjust columns nicely if one is removed */
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-logo-img {
    height: 70px; /* Scaled up for landscape logo1.png */
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
}

.footer-contact-list li strong {
    color: var(--primary);
    font-weight: 500;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--primary);
}

.footer-reserve-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Footer Bottom Bar - Centered Copyright and Absolutely Positioned Up Arrow on the Far Right */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center; /* Copyright centered exactly */
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative; /* Enforces absolute bounds inside container */
}

/* Elegant Back to Top Button positioned on the right side empty space of copyright bar */
.back-to-top-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.back-to-top-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
    transition: var(--transition);
}

.back-to-top-btn:hover {
    background-color: var(--primary);
    transform: translateY(-50%) translateY(-3px); /* Shift centered arrow slightly up on hover */
}

.back-to-top-btn:hover svg {
    fill: var(--dark);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 999;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-gallery {
        height: 400px;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    .contact-info-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
        background-color: rgba(18, 24, 32, 0.98);
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        justify-content: flex-start; /* List items from the top down */
        align-items: center; /* Center items horizontally */
        gap: 25px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.3);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 90px 30px 40px 30px; /* Space to avoid overlap with toggle button */
        z-index: 999;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .btn-reserve {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Menu Header - Visible inside Mobile Drawer */
    .mobile-menu-header {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 20px;
    }
    
    .mobile-menu-header img {
        height: 50px;
        width: auto;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Responsive Gallery on Small Screens */
    .about-gallery {
        grid-template-columns: 1fr;
        height: auto;
        gap: 15px;
    }
    
    .gallery-item-large {
        grid-row: span 1;
        height: 300px;
    }
    
    .gallery-item-small {
        height: 200px;
    }
    
    .contact-info-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-fullwidth {
        height: 300px;
        margin-top: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col h3 {
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 15px;
        position: static;
        padding-top: 20px;
    }
    
    .back-to-top-btn {
        position: static;
        transform: none;
    }
    
    .back-to-top-btn:hover {
        transform: translateY(-3px);
    }
    
    .whatsapp-float {
        padding: 12px;
        border-radius: 50%;
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float span {
        display: none;
    }
}

/* Extra small mobile screens support */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .about-gallery {
        gap: 10px;
    }
    .gallery-item-large {
        height: 220px;
    }
    .gallery-item-small {
        height: 150px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .about-text h3 {
        font-size: 1.4rem;
    }
    .rooms-grid {
        grid-template-columns: 1fr;
    }
}
