/* 
    Takamule Hotels - Final Full-Page Design System
    Theme: Modern & Versatile (Light/Dark Support)
*/

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

:root {
    /* Light Theme (Default) */
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --bg-nav: #ffffff;
    --text-primary: #1a1a1b;
    --text-secondary: #6c757d;
    --accent-gold: #c5a059;
}

[data-theme='dark'] {
    --bg-main: #0c0c0e;
    --bg-card: #141418;
    --bg-nav: rgba(12, 12, 14, 0.9);
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.6);
    --accent-gold: #c5a059;
}
.btn-premium { 
    background: linear-gradient(135deg, #c5a059 0%, #ecd69f 100%); 
    color: #000 !important; 
    padding: 16px 45px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-decoration: none; 
    font-size: 15px; 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
    font-family: 'Inter', sans-serif;
}

.btn-premium:hover { 
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.5);
}

.glass-card {
    background: rgba(20, 20, 24, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 40px;
    padding: 60px 45px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.form-group { margin-bottom: 30px; }

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%; 
    padding: 20px; 
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08); 
    background: rgba(255,255,255,0.03);
    color: #fff; 
    outline: none; 
    transition: 0.4s;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.form-input:focus {
    border-color: var(--accent-gold);
    background: rgba(255,255,245,0.06);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.15);
}

/* Footer Fix */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
    text-align: center;
}

.copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

body.rtl {
    direction: rtl;
}

body.ltr {
    direction: ltr;
}

/* Full Width Navbar */
header {
    height: 80px;
    background: var(--bg-nav);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand h1 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    letter-spacing: 2px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.brand span {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
}

/* Global Nav Links */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* Header Tools */
.header-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: 0.3s;
}

[data-theme='dark'] .icon-btn {
    background: rgba(255,255,255,0.05);
}

.icon-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Search Hero Section - Full Page style */
.hero-search {
    padding: 60px 5%;
    background: linear-gradient(to bottom, var(--bg-nav), transparent);
    text-align: center;
}

.hero-search h2 {
    font-size: 38px;
    margin-bottom: 30px;
}

/* SaaS Landing Header */
.hero-saas {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0 10%;
    margin-bottom: 60px;
}

.hero-saas::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.4), var(--bg-main));
    z-index: 1;
}

.hero-saas .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-saas h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-saas p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-premium {
    padding: 16px 45px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.btn-gold {
    background: var(--accent-gold);
    color: #000;
}

.btn-gold:hover {
    background: #e0b86a;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Feature Cards SaaS */
.features-section {
    padding: 100px 8%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px 30px;
    border-radius: 30px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-box:hover {
    transform: scale(1.05);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow);
}

.feature-box i {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-secondary);
}

.main-search-bar {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-left: 1px solid var(--border-color);
}

.rtl .search-field {
    border-left: none;
    border-right: 1px solid var(--border-color);
}

.search-field:first-child {
    border-left: none;
    border-right: none;
}

.search-field input {
    background: transparent;
    border: none;
    padding: 12px;
    width: 100%;
    color: var(--text-primary);
    outline: none;
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
}

/* Mixed Content Area */
.split-view {
    display: flex;
    height: calc(100vh - 350px);
    border-top: 1px solid var(--border-color);
}

.map-pane {
    flex: 5;
    background: #e5e5e5;
}

.listings-pane {
    flex: 7;
    padding: 40px;
    overflow-y: auto;
}

.grid-stays {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Stay Card */
.stay-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

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

.stay-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Footer Section - Balanced 4-Column Grid */
footer {
    background: var(--bg-nav);
    padding: 80px 5% 40px 5%;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.rtl .footer-col ul li a:hover {
    padding-right: 0;
    padding-left: 5px;
}

.trust-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.badge-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Map specific markers */
/* Scroll Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: 0.3s;
}

.rtl .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}
