/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
    /* Colors - Ocean-inspired palette */
    --primary-gold: #FFD700;
    --gold-dark: #FFA500;
    --ocean-blue: #006994;
    --deep-blue: #003554;
    --sky-blue: #4ECDC4;
    --coral: #FF6B6B;
    --sand: #F7F1E3;
    --white: #ffffff;
    --black: #0A1128;
    --gray-light: #E8EEF2;
    --gray-mid: #A8B2C1;
    --overlay: rgba(0, 53, 84, 0.7);
    
    /* Spacing */
    --header-height: 70px;
    --menu-width: 320px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 900;
    transition: var(--transition);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===================================
   HAMBURGER
   =================================== */
.hamburger {
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    transition: var(--transition);
    z-index: 1001;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 4px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--ocean-blue);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ===================================
   LOGO
   =================================== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    margin-left: 1.5rem;
}

.logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--ocean-blue);
    text-transform: uppercase;
}

/* ===================================
   HEADER ACTIONS
   =================================== */
.btn-book {
    padding: 0.7rem 1.8rem;
    background: var(--primary-gold);
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-book:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* ===================================
   OVERLAY
   =================================== */
.overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 950;
    backdrop-filter: blur(2px);
}

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

/* ===================================
   SIDE MENU
   =================================== */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--menu-width);
    height: 100vh;
    background: var(--white);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    transform: translateX(0);
}

.side-menu::-webkit-scrollbar {
    width: 6px;
}

.side-menu::-webkit-scrollbar-track {
    background: var(--gray-light);
}

.side-menu::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 3px;
}

/* ===================================
   MENU HEADER
   =================================== */
.menu-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.menu-logo {
    font-size: 2.5rem;
}

.menu-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    flex: 1;
    font-weight: 700;
}

.close-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ===================================
   MENU LIST
   =================================== */
.menu-list {
    list-style: none;
    padding: 1rem 0;
    flex: 1;
}

.menu-item {
    border-bottom: 1px solid var(--gray-light);
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    color: var(--black);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
}

.menu-link:hover {
    background: var(--gray-light);
    padding-left: 2rem;
}

.menu-item.active > .menu-link {
    background: var(--primary-gold);
    color: var(--deep-blue);
    font-weight: 600;
}

.menu-icon {
    font-size: 1.6rem;
    width: 28px;
    text-align: center;
}

/* ===================================
   SUBMENU
   =================================== */
.menu-toggle {
    justify-content: space-between;
}

.arrow {
    font-size: 0.9rem;
    transition: transform var(--transition);
    color: var(--gray-mid);
}

.menu-toggle[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    background: var(--gray-light);
}

.has-submenu.expanded .submenu {
    max-height: 500px;
}

.submenu-link {
    display: block;
    padding: 0.9rem 1.5rem 0.9rem 4rem;
    color: var(--black);
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.submenu-link::before {
    content: '•';
    position: absolute;
    left: 3.2rem;
    color: var(--ocean-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.submenu-link:hover {
    background: rgba(255, 215, 0, 0.2);
    padding-left: 4.5rem;
    color: var(--ocean-blue);
}

/* ===================================
   MENU FOOTER
   =================================== */
.menu-footer {
    padding: 1.5rem 1.5rem 2rem;
    background: var(--gray-light);
    border-top: 3px solid var(--primary-gold);
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 0.3rem;
}

.contact-info strong {
    font-weight: 600;
    color: var(--ocean-blue);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* ===================================
   MAIN CONTENT
   =================================== */
.main-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-blue) 100%),
                url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 53, 84, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--deep-blue);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--ocean-blue);
    transform: translateY(-3px);
}

.btn.large {
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 1.5rem;
}

/* ===================================
   SECTIONS
   =================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-gold);
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

/* ===================================
   WELCOME SECTION
   =================================== */
.welcome {
    background: var(--white);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--black);
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ocean-blue);
    margin-bottom: 1.5rem;
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--sky-blue) 100%);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 105, 148, 0.2);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 105, 148, 0.3);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.95;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    background: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-slow);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-mid);
}

/* ===================================
   GALLERY PREVIEW
   =================================== */
.gallery-preview {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 900;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

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

.footer-col li {
    margin-bottom: 0.7rem;
    opacity: 0.9;
}

.footer-col a:hover {
    color: var(--primary-gold);
    transition: var(--transition);
}

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-links-footer a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    transition: var(--transition);
}

.social-links-footer a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ===================================
   RESPONSIVE
   =================================== */
@media (min-width: 768px) {
    .welcome-content {
        grid-template-columns: 2fr 1fr;
    }
    
    .welcome-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    :root {
        --menu-width: 280px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .welcome-stats {
        grid-template-columns: 1fr;
    }
}
/* ===================================
   LANGUAGE SELECTOR & RTL SUPPORT
   =================================== */

/* Language Selector in Header */
.language-selector {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-right: 1rem;
}

.lang-btn {
    padding: 0.4rem 0.7rem;
    background: var(--gray-light);
    color: var(--ocean-blue);
    border: 2px solid transparent;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 40px;
}

.lang-btn:hover {
    background: var(--sky-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--ocean-blue);
    color: var(--white);
    border-color: var(--primary-gold);
    box-shadow: 0 2px 8px rgba(0, 105, 148, 0.3);
}

/* Language Change Notification */
.lang-notification {
    position: fixed;
    top: 90px;
    right: 2rem;
    background: var(--ocean-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transform: translateX(100px);
    transition: all var(--transition);
}

.lang-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* RTL Support for Arabic */
body.rtl {
    direction: rtl;
}

body.rtl .header-container {
    flex-direction: row-reverse;
}

body.rtl .logo {
    margin-left: 0;
    margin-right: 1.5rem;
}

body.rtl .header-actions {
    flex-direction: row-reverse;
}

body.rtl .language-selector {
    margin-right: 0;
    margin-left: 1rem;
}

body.rtl .menu-link {
    text-align: right;
}

body.rtl .submenu-link {
    padding: 0.9rem 4rem 0.9rem 1.5rem;
}

body.rtl .submenu-link::before {
    left: auto;
    right: 3.2rem;
}

body.rtl .submenu-link:hover {
    padding-right: 4.5rem;
    padding-left: 1.5rem;
}

body.rtl .menu-toggle {
    flex-direction: row-reverse;
}

body.rtl .arrow {
    margin-left: 0;
    margin-right: auto;
}

body.rtl .side-menu {
    left: auto;
    right: 0;
    transform: translateX(100%);
}

body.rtl .side-menu.active {
    transform: translateX(0);
}

body.rtl .lang-notification {
    right: auto;
    left: 2rem;
    transform: translateX(-100px);
}

body.rtl .lang-notification.show {
    transform: translateX(0);
}

body.rtl .hero-buttons {
    flex-direction: row-reverse;
}

body.rtl .stat-box,
body.rtl .feature-card {
    text-align: center;
}

body.rtl .footer-col {
    text-align: right;
}

body.rtl .social-links-footer {
    justify-content: flex-end;
}

/* Responsive Language Selector */
@media (max-width: 768px) {
    .language-selector {
        max-width: 300px;
    }
    
    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
        min-width: 35px;
    }
    
    .lang-notification {
        right: 1rem;
        left: 1rem;
        text-align: center;
    }
    
    body.rtl .lang-notification {
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }
    
    body.rtl .header-actions {
        align-items: flex-start;
    }
    
    .language-selector {
        order: 2;
        margin: 0;
    }
    
    .btn-book {
        order: 1;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
