:root {
    --primary: #f8e1f4;
    --secondary: #d4afb9;
    --accent: #a26769;
    --dark: #3d314a;
    --light: #f9f4f5;
    --gold: #d4af37;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    transition: var(--transition);
    opacity: 1;
    visibility: visible;
}

body.arabic {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

body.arabic .logo-text {
    font-family: 'Cairo', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

body.arabic h1,
body.arabic h2,
body.arabic h3,
body.arabic h4,
body.arabic h5 {
    font-family: 'Cairo', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.quote {
    font-size: 13px;
    color: var(--accent);
    font-style: italic;
    max-width: 200px;
    text-align: center;
    padding: 0 10px;
    border-right: 2px solid var(--primary);
    margin-right: 10px;
    transition: opacity 0.3s ease;
}

body.arabic .quote {
    border-right: none;
    border-left: 2px solid var(--primary);
    margin-right: 0;
    margin-left: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary);
    transition: var(--transition);
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "EN";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: var(--dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

body.arabic .toggle-slider:before {
    content: "AR";
    left: calc(100% - 26px);
}

input:checked+.toggle-slider {
    background-color: var(--accent);
}

/* Social Media Buttons */
.social-media-fixed {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 10px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(212, 175, 185, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 2px solid var(--primary);
}

body.arabic .social-media-fixed {
    left: auto;
    right: 20px;
}

.social-media-fixed:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 15px 40px rgba(162, 103, 105, 0.3);
    border-color: var(--secondary);
}

.social-media-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-media-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: var(--transition);
}

.social-media-btn:hover:before {
    transform: translateY(0);
}

.social-media-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.instagram-btn {
    background: linear-gradient(135deg, var(--dark), #5a4a6a);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-tooltip {
    position: absolute;
    left: 65px;
    background: var(--dark);
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

body.arabic .social-tooltip {
    left: auto;
    right: 65px;
}

.social-tooltip:after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent var(--dark) transparent transparent;
}

body.arabic .social-tooltip:after {
    left: auto;
    right: -6px;
    border-color: transparent transparent transparent var(--dark);
}

.social-media-btn:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(5px);
}

body.arabic .social-media-btn:hover .social-tooltip {
    transform: translateX(-5px);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid var(--primary);
    border-top: 5px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

body.arabic header {
    direction: rtl;
}

.header-scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    transition: var(--transition);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo i {
    margin-right: 10px;
    color: var(--gold);
    font-size: 26px;
}

body.arabic .logo i {
    margin-right: 0;
    margin-left: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-sub {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1.5px;
    color: var(--dark);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
}

body.arabic .nav-links {
    direction: rtl;
}

.nav-links li {
    margin-left: 35px;
}

body.arabic .nav-links li {
    margin-left: 0;
    margin-right: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

body.arabic .nav-links a:after {
    left: auto;
    right: 0;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.booking-nav-btn {
    background: var(--accent);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    margin-left: 20px;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
}

body.arabic .booking-nav-btn {
    margin-left: 0;
    margin-right: 20px;
}

.booking-nav-btn:hover {
    background: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(162, 103, 105, 0.2);
}

.booking-nav-btn:hover:after {
    width: 0;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
    z-index: 1001;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1604654894610-df63bc536371?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

body.arabic .hero {
    direction: rtl;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.8s;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 1.1s;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 20px;
}

body.arabic .btn-outline {
    margin-left: 0;
    margin-right: 20px;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll i {
    margin-top: 10px;
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* About Section */
.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3.2rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    max-width: 700px;
    margin: 25px auto 0;
    color: #666;
    font-size: 1.1rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-img {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    background: var(--primary);
}

.about-img:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--primary);
    border-radius: 15px;
    z-index: -1;
}

body.arabic .about-img:before {
    left: -20px;
    right: 20px;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
    object-fit: cover;
    min-height: 400px;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

body.arabic .about-text {
    text-align: right;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 25px;
    color: #666;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    margin-top: 40px;
    gap: 40px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat h4 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat p {
    font-size: 15px;
    color: #888;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    background: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 45px 30px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent), var(--secondary));
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent);
    font-size: 35px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 18px;
    color: var(--dark);
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--secondary);
    border-radius: 30px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 15px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(162, 103, 105, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 320px;
    box-shadow: var(--shadow);
    background: var(--primary);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(162, 103, 105, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 0;
    transition: var(--transition);
    padding: 30px;
    text-align: left;
    color: white;
}

body.arabic .portfolio-overlay {
    text-align: right;
    align-items: flex-end;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-overlay p {
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Booking Section */
.booking {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1607779097040-26e80aa78e66?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.booking .section-title h2,
.booking .section-title p {
    color: white;
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

body.arabic .form-group {
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

body.arabic .form-control {
    font-family: 'Cairo', sans-serif;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(162, 103, 105, 0.3);
    background: white;
}

.form-row {
    display: flex;
    gap: 25px;
}

.form-row .form-group {
    flex: 1;
}

/* Testimonials */
.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 0 15px;
    opacity: 0;
    transition: opacity 0.6s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

body.arabic .testimonial {
    text-align: right;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    border: 5px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding: 0 20px;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 60px;
    color: var(--primary);
    position: absolute;
    font-family: serif;
    line-height: 1;
}

.testimonial-text:before {
    top: -20px;
    left: 0;
}

body.arabic .testimonial-text:before {
    left: auto;
    right: 0;
}

.testimonial-text:after {
    bottom: -40px;
    right: 0;
}

body.arabic .testimonial-text:after {
    right: auto;
    left: 0;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.2rem;
    margin-top: 20px;
}

.testimonial-role {
    font-size: 15px;
    color: var(--accent);
    font-weight: 500;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

.testimonial-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    color: var(--dark);
    font-size: 18px;
}

.testimonial-arrow:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

body.arabic .contact-info-item {
    direction: rtl;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--accent);
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition);
}

body.arabic .contact-icon {
    margin-right: 0;
    margin-left: 20px;
}

.contact-info-item:hover .contact-icon {
    background: var(--accent);
    color: white;
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Admin/My Bookings */
.admin-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--primary);
}

body.arabic th,
body.arabic td {
    text-align: right;
}

th {
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
}

tr:hover {
    background: rgba(248, 225, 244, 0.3);
}

.status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.confirmed {
    background: #d4edda;
    color: #155724;
}

.status.completed {
    background: #d1ecf1;
    color: #0c5460;
}

.status.new {
    background: #cfe2ff;
    color: #084298;
}

.status.read {
    background: #d1e7dd;
    color: #0f5132;
}

.status.replied {
    background: #d1ecf1;
    color: #0c5460;
}

.delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(50px);
    transition: var(--transition);
    position: relative;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

body.arabic .modal-close {
    right: auto;
    left: 20px;
}

.modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent);
    font-size: 35px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 5px 15px rgba(162, 103, 105, 0.3);
}

body.arabic .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
    position: relative;
}

body.arabic footer {
    direction: rtl;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gold);
    bottom: 0;
    left: 0;
}

body.arabic .footer-column h3:after {
    left: auto;
    right: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

body.arabic .footer-links a:hover {
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 15px;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1100px) {
    .hero h1 {
        font-size: 4rem;
    }

    .social-media-fixed {
        left: 10px;
    }

    body.arabic .social-media-fixed {
        left: auto;
        right: 10px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-img,
    .about-text {
        flex: auto;
        width: 100%;
    }

    .contact-content {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .stats {
        gap: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .social-media-fixed {
        flex-direction: row;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: 20px;
        width: auto;
        padding: 10px 20px;
    }

    body.arabic .social-media-fixed {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .social-media-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .social-tooltip {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 100px;
        padding-left: 40px;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    body.arabic .nav-links {
        left: auto;
        right: -100%;
        padding-left: 0;
        padding-right: 40px;
    }

    .nav-links.active {
        left: 0;
    }

    body.arabic .nav-links.active {
        left: auto;
        right: 0;
    }

    .nav-links li {
        margin: 0 0 25px 0;
    }

    .booking-nav-btn {
        margin-left: 0;
        margin-top: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 35px 25px;
    }

    .booking-form {
        padding: 35px 25px;
    }

    .language-toggle {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
    }

    .quote {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 600px;
    }

    .btn {
        padding: 13px 30px;
        font-size: 15px;
        display: block;
        width: 80%;
        margin: 0 auto 15px;
    }

    .btn-outline {
        margin-left: 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 25px;
    }

    .testimonial {
        padding: 35px 25px;
    }

    .modal-content {
        padding: 35px 25px;
    }

    .admin-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .social-media-fixed {
        padding: 6px 12px;
        bottom: 15px;
    }

    .social-media-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
/* Language switching animation */
body.language-switching {
    overflow: hidden;
}

body.language-switching * {
    transition: opacity 0.3s ease;
}

/* Smooth transition for language switch */
body.arabic {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
}

body.arabic .logo-text {
    font-family: 'Cairo', sans-serif;
}

body.arabic h1,
body.arabic h2,
body.arabic h3,
body.arabic h4,
body.arabic h5,
body.arabic h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

/* Arabic specific adjustments */
body.arabic .hero-content,
body.arabic .section-title,
body.arabic .about-text,
body.arabic .service-card,
body.arabic .testimonial {
    text-align: right;
}

body.arabic .stats {
    flex-direction: row-reverse;
}

body.arabic .contact-info-item {
    flex-direction: row-reverse;
}

body.arabic .contact-icon {
    margin-right: 0;
    margin-left: 20px;
}

body.arabic .footer-column h3:after {
    right: 0;
    left: auto;
}

body.arabic .nav-links a:after {
    right: 0;
    left: auto;
}

/* Form adjustments for Arabic */
body.arabic .form-group {
    text-align: right;
}

body.arabic .form-control {
    text-align: right;
    direction: rtl;
}

/* Portfolio adjustments */
body.arabic .portfolio-overlay {
    text-align: right;
    align-items: flex-end;
}

/* Modal adjustments */
body.arabic .modal-content {
    text-align: right;
}

/* Booking form adjustments */
body.arabic select option {
    direction: rtl;
    text-align: right;
}

/* Table adjustments for My Bookings */
body.arabic table {
    direction: rtl;
}

body.arabic th,
body.arabic td {
    text-align: right;
}

/* Social media buttons adjustment */
body.arabic .social-media-fixed {
    right: 20px;
    left: auto;
}

body.arabic .social-tooltip {
    right: 65px;
    left: auto;
}

body.arabic .social-tooltip:after {
    right: -6px;
    left: auto;
    border-color: transparent transparent transparent var(--dark);
}