/* styles.css - Damascus-inspired restaurant website styles */
/* ===== Base Styles ===== */

:root {
    /* Color Palette */
    --amber-50: #FFFBEB;
    --amber-100: #FEF3C7;
    --amber-200: #FDE68A;
    --amber-300: #FCD34D;
    --amber-400: #FBBF24;
    --amber-500: #F59E0B;
    --amber-600: #D97706;
    --amber-700: #B45309;
    --amber-800: #92400E;
    --amber-900: #78350F;
    --amber-950: #451A03;
    
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
    --stone-300: #D6D3D1;
    --stone-400: #A8A29E;
    --stone-500: #78716C;
    --stone-600: #57534E;
    --stone-700: #44403C;
    --stone-800: #292524;
    --stone-900: #1C1917;
    
    /* Gold accent color */
    --gold: #D4AF37;
    --gold-light: #F0E68C;
    
    /* Global Dimensions */
    --navbar-height: 80px;
    --container-width: 1200px;
    --header-height: 80vh;
    --header-height-collapsed: 40vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--stone-800);
    background-color: var(--stone-50);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Remove text selection highlighting that causes blue background */
*::selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: inherit;
}

*::-moz-selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow-x: hidden;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 3rem;
}

/* ===== Intro animation ===== */
.intro{
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    transition: top 1s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-header{
    position: absolute;
    z-index: 2;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-size: 4rem;
}

.logo-header2{
    position: absolute;
    z-index: 2;
    top: 46.5%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: var(--gold);
}

.logo-header3 {
    position: absolute;
    height: 500px;
    width: 600px;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    
    /* Animation properties */
    bottom: -20px;
    opacity: 0;
    transition: ease-in-out 0.5s;
}

.logo-header3.active {
    bottom: 0;
    opacity: 1;
    transition: ease-in-out 0.5s;
}

.logo-header3.fade {
    bottom: 150px;
    opacity: 0;
    transition: ease-in-out 0.5s;
    pointer-events: none;
}

.logo1{
    position: relative;
    display: inline-block;
    bottom: -20px;
    opacity: 0;
}

.logo1.active{
    bottom: 0;
    opacity: 1;
    transition: ease-in-out 0.5s;
}

.logo1.fade{
    bottom: 150px;
    opacity: 0;
    transition: ease-in-out 0.5s;
    pointer-events: none;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    height: var(--navbar-height);
    z-index: 1000;
    transition: background-color 0.3s, height 0.3s;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    height: 60px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    position: relative;
    text-align: center;
}

.logo-ornament {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30'%3E%3Cpath d='M50 0 C 30 10, 10 15, 0 15 C 10 15, 30 10, 50 20 C 70 10, 90 15, 100 15 C 90 15, 70 10, 50 0' fill='%23D4AF37'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-top: -5px;
}

.nav-links {
    display: none;
}

.nav-button {
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-button:hover {
    color: var(--gold);
}

.nav-button.active {
    position: relative;
    color: var(--gold);
}

.nav-button.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background-color: var(--gold);
}

.mobile-menu-button {
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem 1.5rem;
    z-index: 900;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    display: none;
    flex-direction: column;
}

.mobile-menu .nav-button {
    text-align: left;
    padding: 0.5rem 0;
    margin: 0.5rem 0;
}

.mobile-menu .nav-button.active {
    border-left: 2px solid var(--gold);
    padding-left: 0.5rem;
}

.mobile-menu .nav-button.active::after {
    display: none;
}

.mobile-menu.show {
    display: flex;
}

/* ===== Content Sections ===== */
.content {
    padding-top: 0;
}

.section {
    min-height: 100vh;
    display: none;
    overflow-x: hidden;
}

.section.active {
    display: block;
}

/* Parallax Header for each section */
.parallax-header {
    position: relative;
    height: var(--header-height);
    background-image: url('images/damascus-hero.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    transition: height 0.4s ease-out;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
}

.header-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 1.5rem;
    transition: transform 0.4s ease-out;
}

.header-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--gold);
    margin: 0 auto 1.5rem;
}

.header-subtitle {
    font-size: 1.25rem;
    color: var(--amber-100);
    max-width: 42rem;
    margin-bottom: 3rem;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Scroll effect for headers */
.parallax-header.collapsed {
    height: var(--header-height-collapsed);
    position: sticky;
    top: var(--navbar-height);
    z-index: 5;
    transition: height 0.3s ease-out;
}

.parallax-header.collapsed .header-content {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

/* Section Content */
.section-content {
    background-color: var(--stone-50);
    padding: 4rem 0;
    position: relative;
    z-index: 10;
    overflow-x: hidden;
}

.section-subtitle {
    text-align: center;
    color: var(--stone-700);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

/* Home Section Specific */
.welcome-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.welcome-text h2 {
    color: var(--amber-900);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.welcome-text p {
    color: var(--stone-700);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.featured-dishes {
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.featured-dishes h3 {
    text-align: center;
    color: var(--amber-800);
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
}

.featured-dishes h3::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 1rem;
}

.dish-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dish-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Klickbar effekt för specialrätter */
.dish-card.clickable-dish {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.dish-card.clickable-dish:hover {
    border-color: var(--gold);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.dish-card.clickable-dish::after {
    content: 'Klicka för mer info';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dish-card.clickable-dish:hover::after {
    opacity: 1;
}

.dish-image {
    height: 250px;
    background-color: var(--stone-200);
    background-size: cover;
    background-position: center;
    position: relative;
}

.dish-card h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--amber-800);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.dish-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--stone-600);
    font-size: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.menu-card {
    background-color: white;
    border: 1px solid var(--amber-200);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.menu-category {
    font-size: 1.8rem;
    color: var(--amber-800);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 600;
}

.menu-category::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-item {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--amber-100);
    transition: padding 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item:hover {
    padding-bottom: 2rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    align-items: baseline;
}

.menu-item-name {
    font-weight: 600;
    color: var(--amber-900);
    font-size: 1.1rem;
}

.menu-item-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.menu-item-desc {
    font-size: 0.95rem;
    color: var(--stone-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.read-more-btn:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--amber-800), var(--amber-600));
    color: white;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    padding: 0.5rem;
}

.close:hover {
    color: var(--gold-light);
}

.modal-body {
    padding: 2.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

.modal-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--stone-200);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-500);
    font-style: italic;
    margin-bottom: 2rem;
    border: 2px dashed var(--stone-300);
}

.modal-info h4 {
    color: var(--amber-800);
    margin-bottom: 0.75rem;
    margin-top: 2rem;
    font-size: 1.2rem;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    text-align: center;
    padding: 1rem;
    background: var(--amber-50);
    border-radius: 10px;
    border: 2px solid var(--amber-200);
}

.modal-description {
    color: var(--stone-700);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.modal-ingredients {
    background: var(--amber-50);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    margin-top: 1.5rem;
}

.modal-footer {
    background-color: var(--stone-50);
    padding: 2rem 2.5rem;
    border-top: 1px solid var(--stone-200);
    text-align: center;
}

/* Contact Modal Styles */
.contact-modal-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-section h3 {
    color: var(--amber-800);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-section h3 svg {
    color: var(--gold);
    width: 22px;
    height: 22px;
}

.contact-info {
    color: var(--stone-700);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.contact-note {
    color: var(--stone-500);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.25rem 0 0 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 1rem;
}

.about-image {
    height: 400px;
    background-image: url('images/damascus-interior.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    border: 4px solid var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: var(--stone-700);
}

.about-text p:first-of-type {
    font-size: 1.2rem;
    color: var(--amber-900);
    font-weight: 500;
}

.about-text p {
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Hours Section */
.hours-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1rem;
}

.card {
    background-color: white;
    border: 1px solid var(--amber-200);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.6rem;
    color: var(--amber-800);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--amber-200);
    padding-bottom: 1rem;
    font-weight: 600;
}

.card-title svg {
    margin-right: 0.75rem;
    color: var(--gold);
}

.hours-list {
    margin-bottom: 2rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dotted var(--stone-300);
}

.hours-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.hours-item span:first-child {
    font-weight: 600;
    color: var(--amber-800);
}

.hours-item span:last-child {
    font-weight: 600;
    color: var(--gold);
}

.hours-note {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--amber-100);
    font-size: 0.95rem;
    color: var(--stone-600);
    font-style: italic;
    line-height: 1.6;
}

.contact-list {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item svg {
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: var(--gold);
}

.contact-label {
    font-weight: 600;
    color: var(--amber-800);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--stone-600);
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.social-link {
    color: var(--gold);
    transition: all 0.3s ease;
    padding: 0.75rem;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.social-link:hover {
    color: white;
    background-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.map-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--stone-300);
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000, #1a1a1a);
    color: var(--amber-100);
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--gold);
    bottom: -8px;
    left: 0;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--stone-400);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: var(--gold);
    transition: all 0.3s ease;
    padding: 0.75rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: #000;
    background-color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.95rem;
    color: var(--stone-500);
}

/* Language Switcher */
.language-switcher {
    display: none;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgb(85, 85, 85);
    border-radius: 24px;
    width: 50px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.lang-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lang-btn.active {
    border-color: var(--gold);
    background: var(--gold);
    color: #000;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.flag-icon {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 4px;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 1rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-language-switcher .lang-btn {
    border-radius: 4px;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    justify-content: flex-start;
    gap: 0.75rem;
    text-align: left;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.mobile-language-switcher .lang-btn:hover {
    color: #000;
    background: rgba(212, 175, 55, 0.9);
    border-color: var(--gold);
}

.mobile-language-switcher .lang-btn.active {
    color: #000;
    background: var(--gold);
    border-color: var(--gold);
}

.mobile-language-switcher .lang-btn .flag-icon {
    margin-right: 0;
}

.mobile-language-switcher .lang-btn span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
}

/* RTL Support for Arabic */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

html[dir="rtl"] .header-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .menu-item-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .contact-item svg {
    margin-right: 0;
    margin-left: 0.75rem;
}

html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[dir="rtl"] .card-title svg {
    margin-right: 0;
    margin-left: 0.5rem;
}

html[dir="rtl"] .contact-section h3 svg {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Animation for section titles and content */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}
  
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
  
.fade-in {
    opacity: 0;
}
  
.fade-in.appear {
    animation: fadeIn 0.8s ease forwards;
}
  
.fade-in-up {
    opacity: 0;
}
  
.fade-in-up.appear {
    animation: fadeInUp 0.8s ease forwards;
}
  
/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Animation for page transitions */
.section.active {
    animation: fadeIn 0.5s ease-out;
}