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

:root {
    --primary-color: #1a252f;
    --accent-color: #c5a47e;
    --accent-hover: #a88a68;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; color: var(--text-color); background: var(--white); overflow-x: hidden; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

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

/* Header */
header { position: fixed; width: 100%; top: 0; z-index: 1000; transition: var(--transition); background: transparent; padding: 20px 50px; display: flex; justify-content: space-between; align-items: center; }
header.scrolled { background: var(--white); box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding: 15px 50px; }
header.scrolled .logo { color: var(--primary-color); }
header.scrolled .hamburger span { background: var(--primary-color); }
header.scrolled .lang-switcher { color: var(--primary-color); }

.logo { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--white); letter-spacing: 2px; transition: var(--transition); }
.header-actions { display: flex; align-items: center; gap: 30px; }

/* Index specific styles */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; background-color: #1a252f; }
.slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; background-color: #1a252f; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s ease; }
.slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.slide.active { opacity: 1; transform: scale(1.02); transition: transform 7s linear, opacity 0.5s ease; }
.hero-content { text-align: center; color: var(--white); z-index: 10; margin-bottom: 100px; padding: 0; background: transparent; border: none; box-shadow: none; }
.hero-content h1 { font-size: 80px; margin-bottom: 15px; font-weight: 700; text-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 2px 5px rgba(0,0,0,0.5); letter-spacing: 2px; color: var(--white); }
.hero-content p { font-size: 24px; font-weight: 400; letter-spacing: 2px; text-shadow: 0 5px 15px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.8); }

/* Language Switcher */
.lang-switcher { position: relative; color: var(--white); cursor: pointer; font-weight: 500; transition: var(--transition); }
.lang-dropdown { position: absolute; top: 100%; right: 0; background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden; opacity: 0; visibility: hidden; transition: var(--transition); transform: translateY(10px); min-width: 120px; }
.lang-switcher:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a { display: block; padding: 10px 20px; color: var(--text-color); border-bottom: 1px solid #f0f0f0; }
.lang-dropdown a:hover { background: var(--light-bg); color: var(--accent-color); }

/* Hamburger */
.hamburger { width: 30px; height: 20px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; z-index: 1001; position: relative; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--white); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--accent-color) !important; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--accent-color) !important; }

/* Fullscreen Menu */
.fullscreen-menu { position: fixed; top: 0; right: 0; width: 100%; height: 100vh; background: rgba(26, 37, 47, 0.98); z-index: 999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); transform: translateX(100%); }
.fullscreen-menu.active { opacity: 1; visibility: visible; transform: translateX(0); }
.fullscreen-menu ul { list-style: none; text-align: center; }
.fullscreen-menu ul li { margin: 25px 0; transform: translateX(50px); opacity: 0; transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.fullscreen-menu.active ul li { transform: translateX(0); opacity: 1; }
.fullscreen-menu ul li:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu ul li:nth-child(2) { transition-delay: 0.2s; }
.fullscreen-menu ul li:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-menu ul li:nth-child(4) { transition-delay: 0.4s; }
.fullscreen-menu ul li:nth-child(5) { transition-delay: 0.5s; }
.fullscreen-menu ul li a { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--white); font-weight: 600; position: relative; transition: color 0.3s; }
.fullscreen-menu ul li a:hover { color: var(--accent-color); }

/* Buttons */
.btn { padding: 12px 30px; border-radius: 30px; font-weight: 500; cursor: pointer; transition: var(--transition); border: none; outline: none; font-family: 'Outfit', sans-serif; display: inline-block; }
.btn-gold { background: var(--accent-color); color: var(--white); }
.btn-gold:hover { background: var(--accent-hover); box-shadow: 0 10px 20px rgba(197, 164, 126, 0.3); transform: translateY(-2px); }

/* Footer */
footer { background: var(--primary-color); color: rgba(255,255,255,0.7); padding: 80px 50px 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--white); margin-bottom: 20px; display: block; }
.footer-col h4 { color: var(--white); font-size: 18px; margin-bottom: 20px; font-family: 'Outfit', sans-serif; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--accent-color); padding-left: 5px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; transition: var(--transition); color: var(--white); }
.social-links a:hover { background: var(--accent-color); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.footer-bottom a { color: var(--accent-color); }

/* Animation Classes */
.fade-up { opacity: 0; transform: translateY(40px); transition: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.elegant-title { font-family: 'Playfair Display', serif; font-size: 72px; font-weight: 400; font-style: italic; letter-spacing: 2px; margin-bottom: 20px; color: var(--accent-color); text-shadow: 0 5px 25px rgba(0,0,0,0.8), 0 0 50px rgba(0,0,0,0.6); }
@media (max-width: 768px) { .elegant-title { font-size: 48px; } }

/* Responsive */
@media (max-width: 768px) {
    header { padding: 15px 20px; }
    header.scrolled { padding: 15px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

[dir="rtl"] { text-align: right; }
