:root {
  --primary-color: #8A3522;
  --bg-color: #FDFBF8;
  --footer-bg: #EBE8E3;
  --text-dark: #333333;
  --text-light: #5A5A5A;
  --font-serif: 'Lora', serif;
  --font-sans: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-serif);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: baseline;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: lowercase;
  margin-left: 2px;
}

/* Desktop Navigation (hidden on mobile) */
.desktop-only {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.icon-globe {
  color: var(--text-light);
}

.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
}

/* Side Drawer Menu (Mobile) */
.side-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 1000;
  transition: left 0.3s ease-in-out;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.side-drawer.active {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.drawer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

.drawer-menu {
  list-style: none;
  padding: 1rem 0;
  overflow-y: auto;
}

.menu-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-toggle:hover {
  background-color: rgba(138, 53, 34, 0.05);
}

.dropdown-toggle strong {
  font-weight: 500;
}

.dropdown-content {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: rgba(0,0,0,0.02);
}

.dropdown-content li a {
  display: block;
  padding: 0.8rem 2rem 0.8rem 3rem;
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.dropdown-content li a:hover {
  color: var(--primary-color);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  background-image: url('../assets/image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(253, 251, 248, 0.5) 0%, rgba(253, 251, 248, 0.1) 40%, rgba(253, 251, 248, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  box-shadow: 0 8px 32px 0 rgba(138, 53, 34, 0.06);
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.location-pill svg {
  color: #5b7a8a;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--primary-color);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  font-style: italic;
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.brand-desc {
  color: var(--text-dark);
  font-size: 1.05rem;
  max-width: 400px;
}

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

.col-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  font-family: var(--font-serif);
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

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

.social-icons a {
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--text-light);
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--primary-color);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-color);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  min-width: 180px;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.nav-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu li a:hover {
  background-color: rgba(138, 53, 34, 0.05);
  color: var(--primary-color);
}

/* Tablet & Desktop Navigation Styling */
@media (min-width: 769px) {
  .hamburger-btn {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
  
  .nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
  }
  
  .menu-item-desktop {
    position: relative;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* RTL Support */
[dir="rtl"] .navbar {
  direction: ltr;
}
[dir="rtl"] .brand-sub {
  margin-left: 0;
  margin-right: 2px;
}
[dir="rtl"] .side-drawer {
  left: auto;
  right: -320px;
}
[dir="rtl"] .side-drawer.active {
  left: auto;
  right: 0;
}
[dir="rtl"] .nav-dropdown-menu {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] .nav-dropdown-menu li a {
  padding: 0.6rem 3rem 0.6rem 1.2rem;
}

/* Dark Mode Styles */
body.dark-mode {
  --bg-color: #212121;
  --footer-bg: #1a1a1a;
  --text-dark: #f0f0f0;
  --text-light: #cccccc;
}

body.dark-mode .navbar {
  background-color: #282828;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .hero-overlay {
  background: linear-gradient(to bottom, rgba(33, 33, 33, 0.7) 0%, rgba(33, 33, 33, 0.3) 40%, rgba(33, 33, 33, 0.6) 100%);
}

body.dark-mode .hero-content {
  background: rgba(45, 45, 45, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

body.dark-mode .location-pill {
  background-color: rgba(65, 65, 65, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0e0e0;
}

body.dark-mode .hero-title {
  color: #ffffff;
}

body.dark-mode .nav-dropdown-menu {
  background-color: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .nav-dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .theme-toggle-btn {
  color: #f0f0f0;
}

body.dark-mode .theme-toggle-btn:hover {
  color: var(--primary-color);
}

body.dark-mode .side-drawer {
  background-color: #282828;
}

body.dark-mode .dropdown-toggle,
body.dark-mode .drawer-menu li a,
body.dark-mode .drawer-logo,
body.dark-mode .close-btn {
  color: #f0f0f0;
}

body.dark-mode .col-title {
  color: #ffffff;
}
