/* =========================
   RESET
========================= */

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

/* =========================
   ROOT VARIABLES
========================= */

:root{
  --primary-red:#8b0000;
  --light-red:#b22222;
  --white:#ffffff;
  --black:#111111;
  --gray:#666666;
  --light-bg:#faf7f5;

  --shadow:0 10px 30px rgba(0,0,0,0.1);
  --transition:0.3s ease;
}

/* =========================
   GLOBAL
========================= */

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--light-bg);
  color:var(--black);
  overflow-x:hidden;
  padding-top:80px;
}

img{
  width:100%;
  display:block;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.section{
  padding:80px 0;
}

/* =========================
   HEADER
========================= */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow);
}

/* =========================
   NAVBAR
========================= */

.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:15px 5%;
  min-height:80px;

  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow);
}

/* =========================
   LOGO
========================= */

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.logo img{
  width:38px;
  height:38px;
  object-fit:cover;
  border-radius:50%;
}

.logo h1{
  font-family:'Playfair Display',serif;
  font-weight:700;
  font-size:1.2rem;
  color:var(--primary-red);
}

/* =========================
   NAV LINKS
========================= */

.nav-links{
  display:flex;
  list-style:none;
  gap:25px;
}

.nav-links a{
  text-decoration:none;
  color:var(--black);
  font-weight:500;
  transition:var(--transition);
}

.nav-links a:hover,
.nav-links .active{
  color:var(--primary-red);
}

/* =========================
   HAMBURGER
========================= */

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:25px;
  height:3px;
  background:var(--primary-red);
}

/* =========================
   HERO
========================= */

.hero{
  position:relative;
  height:calc(70vh - 50px);

  background:
  linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),
  url('https://images.unsplash.com/photo-1555244162-803834f70033?q=80&w=2070&auto=format&fit=crop');

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:center;
  color:white;
  padding:20px;
}

.hero-content{
  position:relative;
  z-index:2;
}

.hero-content h1{
  font-size:3.5rem;
  font-family:'Playfair Display',serif;
  margin-bottom:10px;
}

.tagline{
  font-size:1.3rem;
  margin-bottom:15px;
  font-weight:500;
}

.hero-content h2{
  font-size:1.8rem;
  font-weight:400;
}

.hero-buttons{
  margin-top:30px;
  display:flex;
  gap:15px;
  justify-content:center;
  flex-wrap:wrap;
}

/* =========================
   ABOUT PAGE HERO
========================= */

body.about-page .hero{
  background:
  linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),
  url('https://images.unsplash.com/photo-1529692236671-f1f6cf9683ba?q=80&w=2070&auto=format&fit=crop');

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* =========================
   BUTTONS
========================= */

.btn{
  display:inline-block;
  padding:12px 28px;
  border-radius:50px;
  background:var(--primary-red);
  color:white;
  text-decoration:none;
  font-weight:600;
  transition:var(--transition);
}

.btn:hover{
  background:var(--light-red);
  transform:translateY(-3px);
}

.btn-outline{
  border:2px solid white;
  background:transparent;
}

.btn-outline:hover{
  background:white;
  color:var(--primary-red);
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h2{
  font-size:2.5rem;
  color:var(--primary-red);
  font-family:'Playfair Display',serif;
  margin-bottom:10px;
}

.section-title p{
  color:var(--gray);
  font-size:1.05rem;
}

/* =========================
   GRIDS
========================= */

.services-grid,
.package-grid,
.reviews-grid,
.gallery-grid,
.contact-grid,
.about-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

/* =========================
   SERVICE CARD
========================= */

.service-card{
  background:white;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:var(--transition);
}

.service-card:hover{
  transform:translateY(-8px);
}

.service-image{
  height:220px;
  overflow:hidden;
}

.service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s ease;
}

.service-card:hover .service-image img{
  transform:scale(1.08);
}

.service-content{
  padding:22px;
}

.service-content h3{
  color:var(--primary-red);
  margin-bottom:10px;
  font-size:1.3rem;
}

.service-content p{
  color:var(--gray);
  line-height:1.6;
}

/* =========================
   OTHER CARDS
========================= */

.package-card,
.review-card{
  background:white;
  padding:25px;
  border-radius:15px;
  box-shadow:var(--shadow);
  transition:var(--transition);
}

.package-card:hover,
.review-card:hover{
  transform:translateY(-8px);
}

/* =========================
   CONTACT FORM
========================= */

.contact-form{
  display:flex;
  flex-direction:column;
  gap:15px;
}

input,
textarea{
  padding:12px;
  border:1px solid #ddd;
  border-radius:8px;
}

/* =========================
   FOOTER
========================= */

.footer{
  background:#111;
  color:white;
  text-align:center;
  padding:30px;
}

/* =========================
   BACK TO TOP
========================= */

#topBtn{
  position:fixed;
  right:20px;
  bottom:20px;
  width:45px;
  height:45px;
  border-radius:50%;
  border:none;
  background:var(--primary-red);
  color:white;
  display:none;
}

/* =========================
   ANIMATION
========================= */

.fade-in{
  opacity:0;
  transform:translateY(30px);
  transition:0.8s ease;
}

.fade-in.show{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  .hamburger{
    display:flex;
  }

  .nav-links{
    position:absolute;
    top:100%;
    right:0;
    width:100%;
    background:white;
    flex-direction:column;
    display:none;
    padding:20px;
  }

  .nav-links.show{
    display:flex;
  }

  .hero-content h1{
    font-size:2.2rem;
  }

  .hero-content h2{
    font-size:1.2rem;
  }

  .tagline{
    font-size:1rem;
  }

  .gallery-container{
    grid-template-columns:1fr;
  }

  .gallery-item{
    height:250px;
  }
}

/* =========================
   GALLERY PAGE
========================= */

.gallery-hero{
  position:relative;
  height:calc(60vh - 80px);

  background:
  linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("images/gallery-hero.jpg");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;
  justify-content:center;

  text-align:center;
  color:white;
}

.gallery-section{
  padding:80px 10%;
  background:#faf7f5;
}

.gallery-container{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
}

.gallery-item{
  height:280px;

  overflow:hidden;
  border-radius:18px;
  cursor:pointer;

  box-shadow:0 10px 25px rgba(0,0,0,0.1);

  transition:0.4s ease;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;

  transition:0.5s ease;
}

.gallery-item:hover img{
  transform:scale(1.08);
}

.gallery-item:hover{
  transform:translateY(-5px);
}

/* =========================
   LIGHTBOX FIX (IMPORTANT)
========================= */

.lightbox{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  background:rgba(0,0,0,0.92);

  display:none;
  align-items:center;
  justify-content:center;

  z-index:9999;
}

.lightbox-img{
  max-width:90vw;
  max-height:85vh;

  width:auto;
  height:auto;

  object-fit:contain;

  border-radius:10px;

  box-shadow:0 10px 30px rgba(0,0,0,0.5);
}

.lightbox .close{
  position:absolute;
  top:20px;
  right:30px;

  font-size:40px;
  color:white;

  cursor:pointer;
}
