:root {
  --primary: #0a1118;
  /* Deep Midnight */
  --gold: #d4af37;
  /* Authentic Gold */
  --gold-light: #f2d388;
  --white: #ffffff;
  --bg-soft: #f9f9f9;
  --transition-slow: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
html{
    overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--white);
  color: var(--primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
.luxury-font {
  font-family: "Cormorant Garamond", serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
}

/* Navigation */
header {
  position: fixed;
  width: 100%;
  padding: 1.5rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 17, 24, 0.95);
  z-index: 2000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-slow);
}

.nav-links a:hover {
  color: var(--gold);
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(rgba(10, 17, 24, 0.6), rgba(10, 17, 24, 0.8)),
    url("https://images.unsplash.com/photo-1590053450410-090c88596660?auto=format&fit=crop&q=80"); */
  background-size: cover;
  background-position: center;
  animation: zoomBg 20s infinite alternate;
}

@keyframes zoomBg {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5%;
}

#hero h1 {
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.9;
  margin-bottom: 20px;
  color: var(--gold-light);
}

#hero p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 40px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #ccc;
}

.btn-gold {
  padding: 1.2rem 3rem;
  background: linear-gradient(45deg, var(--gold), #b8860b);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition-slow);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  border: none;
  border-radius: 2px;
}

.btn-gold:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
  color: white;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--primary);
  color: var(--white);
  padding: 80px 8%;
  text-align: center;
  gap: 40px;
}

.pillar-item i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.pillar-item h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.pillar-item p {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 1px;
}

/* Heritage */
#heritage {
  padding: 120px 8%;
  display: flex;
  align-items: center;
  gap: 60px;
  background: #fff;
}

.heritage-img {
  flex: 1;
  position: relative;
}

.heritage-img img {
  width: 100%;
  border-radius: 5px;
  position: relative;
  z-index: 2;
}

.heritage-img::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  z-index: 1;
}

.heritage-text {
  flex: 1;
}

.heritage-text h2 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--primary);
}

.heritage-text p {
  font-size: 1.1rem;
  line-height: 2;
  color: #555;
  margin-bottom: 30px;
}

/* Social Feed */
#social {
  padding: 100px 8%;
  background: var(--bg-soft);
  text-align: center;
}

.ig-feed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 50px;
}

.ig-card {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ddd;
  display: block;
}

.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.ig-card:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(0.6);
}

.ig-card .hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: 0.3s;
}

.ig-card:hover .hover-icon {
  opacity: 1;
}

/* Testimonials */
.testimonials {
  padding: 100px 8%;
  background: var(--primary);
  color: white;
  text-align: center;
}

.quote {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-size: 2rem;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--gold-light);
}

.author {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--gold);
}

/* Contact Items */
.contact-item {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
  display: inline-block;
}

.contact-item:hover {
  color: var(--gold);
  transform: translateX(5px);
}

footer {
  padding: 80px 8% 40px;
  background: #05080a;
  color: white;
  border-top: 1px solid var(--gold);
}

.footer-logo {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.lang-switch {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 5px 15px;
  cursor: pointer;
  font-weight: bold;
}

[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .nav-links {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .heritage-img::after {
  left: auto;
  right: -30px;
}

@media (max-width: 992px) {
  #heritage {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .ig-feed {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    grid-template-columns: 1fr;
  }
  #contact div{
    display: block!important;
  }
}
