* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
/* Accessibility helper for screen-reader-only labels */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:root {
  --brand: #e10600;
}


body {
  background: #f5f6fa;
  color: #222;
}

.header {
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 50px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #c59d5f;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  height: 100vh;
   background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("dera1.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  color: white;
  animation: fadeUp 1.5s ease;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  margin: 20px 0;
}

.btn {
  padding: 12px 30px;
  background: #c59d5f;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn:hover {
  background: #a47c40;
}

.section {
  padding: 80px 10%;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.alt {
  background: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 92%;
  max-width: 1200px;
  margin: 40px auto;
  align-items: start;
}

.card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
  box-shadow: 0 28px 60px rgba(12,18,30,0.10);
  transition: transform 0.36s ease, box-shadow 0.36s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 90px rgba(12,18,30,0.16);
}

.card img {
  width: 100%;
  height: 730px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.card:hover img {
  transform: scale(1.03);
}

.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.62));
  backdrop-filter: blur(2px);
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; margin: 24px auto; }
  /* increase image height on tablet devices for better visibility */
  .card img { height: 380px; }
}

@media (max-width: 420px) {
  /* slightly smaller for small phones */
  .card img { height: 380px; }
}

.contact {
  padding: 80px 10%;
  background: linear-gradient(135deg, #2c2c2c, #111);
  color: white;
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 800px;
  margin: 40px auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(197, 157, 95, 0.2);
  transform: translateY(-5px);
}

.info-item i {
  font-size: 2.5rem;
  color: #c59d5f;
  margin-bottom: 15px;
}

.info-item h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #c59d5f;
}

.info-item p {
  margin: 5px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.info-item a {
  color: #c59d5f;
  text-decoration: none;
  transition: 0.3s;
}

.info-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.phone-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-links p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.msg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(197, 157, 95, 0.2);
  color: #c59d5f;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.msg-icon:hover {
  background: #c59d5f;
  color: #fff;
  transform: scale(1.1);
}

.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact input,
.contact textarea {
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 10px;
  border: none;
}

.contact button {
  padding: 15px;
  border: none;
  background: #c59d5f;
  color: white;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
}
.lang-switch button {
  margin-left: 5px;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #c59d5f;
  color: white;
  font-weight: 600;
}


footer {
  text-align: center;
  padding: 40px 20px;
  background: #000;
  color: #aaa;
}

.social-container {
  margin-bottom: 20px;
}

.social-label {
  color: #c59d5f;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(197, 157, 95, 0.1);
  color: #c59d5f;
  transition: all 0.3s ease;
  border: 2px solid #c59d5f;
}

.social-link:hover {
  background: #c59d5f;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(197, 157, 95, 0.4);
}

.social-link i {
  font-size: 1.5rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery modal styles */
.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
}
.gallery-modal[aria-hidden="false"] { display: flex; }
.gallery-inner {
  max-width: 95%;
  max-height: 90%;
  position: relative;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-inner img {
  max-width: 100%;
  max-height: 100%;
  transition: transform 160ms ease;
  will-change: transform;
  cursor: grab;
}
/* caption removed — modal shows image only */
.gallery-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 34px;
  cursor: pointer;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 28px;
  cursor: pointer;
  border-radius: 8px;
}
.gallery-nav.prev { left: 18px; }
.gallery-nav.next { right: 18px; }

@media (max-width: 900px) {
  .gallery-nav { padding: 10px 14px; font-size: 22px; }
  .gallery-close { font-size: 30px; }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
  display: flex;
  gap: 0;
}

.nav-menu a {
  margin-left: 25px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    flex-direction: column;
    gap: 0;
    padding: 15px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.active {
    max-height: 300px;
  }

  .nav-menu a {
    display: block;
    padding: 12px 20px;
    margin-left: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .lang-switch {
    order: 3;
  }
}
