/*
Theme Name: Twenty Twenty Child
Template: twentytwenty
Version: 1.0
*/

/* Hero slider css */

/* =========================
   HERO SLIDER MAIN
========================= */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* =========================
   SLIDES
========================= */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* =========================
   BACKGROUND IMAGE
========================= */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   DARK OVERLAY (NO GRADIENT)
========================= */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 16, 0.75);
}

/* =========================
   CONTENT CONTAINER (1260px)
========================= */
.content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1260px;
  padding: 0 40px;
  color: #fff;
  top: 50%;
transform: translate(-50%, -50%);
justify-content: center;

  display: flex;
  flex-direction: column;
  height: 100%;
}

/* =========================
   TEXT STYLING
========================= */
.content .label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.content h1 {
  font-size: 60px;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.1;
  margin-bottom: 20px;
 margin:0px;
  max-width: 700px;
}

.content em {
  color: #D4B07A;
  font-style: normal;
}

.content p {
  font-size: 16px;
  max-width: 500px;
  opacity: 0.9;
}

/* =========================
   TEXT ANIMATION
========================= */
.content * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.slide.active .content * {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ARROWS
========================= */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  z-index: 5;
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.25);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

/* =========================
   DOTS PAGINATION
========================= */
.dots {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dots span {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots span.active {
  width: 26px;
  border-radius: 4px;
  background: #D4B07A;
}

/* =========================
   CTA BUTTONS
========================= */
.actions {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* COMMON BUTTON STYLE */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* PRIMARY BUTTON */
.btn.primary {
  background: #004438;
  color: #fff;
}

.btn.primary:hover {
  background: #002f26;
}

/* OUTLINE BUTTON */
.btn.outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}

.btn.outline:hover {
  background: #fff;
  color: #004438;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .content h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {

  /* HEIGHT FIX */
  .hero-slider {
    height: 75vh; /* pehle 100vh tha */
    min-height: 500px;
  }

  /* IMAGE POSITION */
  .slide img {
    object-position: center;
  }

  /* CONTENT POSITION */
  .content {
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    text-align: left;
  }

  /* TEXT SIZE */
  .content h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .content p {
    font-size: 14px;
  }

  /* CTA spacing */
  .actions {
    margin-top: 20px;
  }

  /* ARROWS FIX (move slightly down & inside) */
  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 14px;
    top: 85%; /* IMPORTANT: overlap avoid */
    transform: translateY(-50%);
  }

  .slider-arrow.prev {
    left: 15px;
  }

  .slider-arrow.next {
    right: 15px;
  }

  /* DOTS POSITION */
  .dots {
    bottom: 15px;
  }
}

@media (max-width: 480px) {

  .hero-slider {
    height: 70vh;
    min-height: 420px;
  }

  .content h1 {
    font-size: 24px;
  }

  .slider-arrow {
    top: 88%;
  }
}