/* =========================================================
   The Maharani Diaries — homepage clone
   Source: themaharanidiaries.com (WordPress + Enfold)
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face{ font-family:'Braveheart'; src:url('fonts/Braveheart-Regular.otf') format('opentype'); font-weight:normal; font-style:normal; font-display:swap; }
@font-face{ font-family:'Bravelove'; src:url('fonts/Bravelove-Regular.otf') format('opentype'); font-weight:normal; font-style:normal; font-display:swap; }

/* ---------- Tokens ---------- */
:root{
  --red:#e80f16;
  --pink:#f597a9;
  --gold:#d8cb8d;
  --ink:#555;
  --nav-bg:#f1f1f1;
  --white:#fff;
  --maxw:1210px;
  --nav-h:158px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Open Sans",Helvetica,Arial,sans-serif;
  font-size:14px;
  line-height:1.53;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 25px; }

/* Headings — Bravelove script, brand red, capitalized */
.section-heading,
.display-heading,
.t-title,
.service-title{
  font-family:'Bravelove',"Open Sans",HelveticaNeue,sans-serif;
  color:var(--red);
  text-transform:capitalize;
  font-weight:normal;
  margin:0;
  line-height:1.1;
}
.section-heading{ font-size:35px; text-align:center; }

/* ---------- HERO ---------- */
.hero{
  height:765px;
  background:url('images/hero.jpg') center center / cover no-repeat;
}

/* ---------- NAV ---------- */
.navbar{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--nav-bg);
}
.nav-inner{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  height:var(--nav-h);
  max-width:1310px;
  margin:0 auto;
  padding:0 25px;
}
.nav-logo{ position:absolute; left:50px; top:50%; transform:translateY(-50%); }
.nav-logo img{ width:200px; height:auto; }

.nav-menu ul{ list-style:none; margin:0; padding:0; display:flex; align-items:center; }
.nav-menu > ul > li{ position:relative; }
.nav-menu > ul > li > a{
  display:block;
  padding:10px 18px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.3px;
  color:var(--ink);
  transition:color .2s ease;
}
.nav-menu > ul > li > a:hover{ color:var(--red); }

/* dropdown */
.has-dropdown .dropdown{
  list-style:none; margin:0; padding:8px 0;
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  min-width:160px; background:var(--white);
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  opacity:0; visibility:hidden; transition:opacity .2s ease;
  z-index:120;
}
.has-dropdown:hover .dropdown{ opacity:1; visibility:visible; }
.dropdown li a{
  display:block; padding:8px 22px; font-size:13px; color:var(--ink); white-space:nowrap;
  text-transform:none; transition:color .2s ease;
}
.dropdown li a:hover{ color:var(--red); }

.nav-toggle{
  display:none;
  position:absolute; right:25px; top:50%; transform:translateY(-50%);
  background:none; border:0; cursor:pointer;
  font-family:"Open Sans",sans-serif; font-size:14px; text-transform:uppercase; color:var(--ink);
}

/* ---------- INTRO ---------- */
.intro{ text-align:center; padding:55px 0 50px; }
.display-heading{
  font-family:'Braveheart','Bravelove',cursive;
  font-size:70px;
  padding-bottom:18px;
}
.intro-lead{ font-size:14px; margin:0 0 18px; }
.intro-body{ max-width:760px; margin:0 auto 10px; }

/* ---------- PORTFOLIO BAND ---------- */
.portfolio-band img{ width:100%; height:auto; }

/* ---------- SERVICES ---------- */
.services{ padding:60px 0 70px; }
.services-intro{ text-align:center; max-width:900px; margin:18px auto 45px; }
.service-cards{ display:flex; gap:36px; justify-content:center; }
.service-card{ flex:1 1 0; max-width:587px; text-align:center; }
.service-img{ display:block; overflow:hidden; }
.service-img img{
  width:100%; height:auto; aspect-ratio:587/880; object-fit:cover;
  transition:transform .5s ease;
}
.service-img:hover img{ transform:scale(1.04); }
.service-title{ font-size:35px; margin-top:20px; }
.service-title a{ color:var(--red); }

/* ---------- TESTIMONIALS ---------- */
.testimonials{ padding:55px 0; }
.t-slider{ position:relative; min-height:406px; }
.t-slide{
  display:none;
  align-items:center;
  gap:40px;
}
.t-slide.is-active{ display:flex; animation:fade .6s ease; }
@keyframes fade{ from{opacity:0} to{opacity:1} }
.t-text{ flex:1 1 auto; text-align:center; padding:0 30px; }
.t-title{ font-size:35px; margin-bottom:18px; }
.t-body{ font-size:14px; line-height:1.7; margin:0 auto 16px; max-width:760px; }
.t-author{ font-size:14px; color:var(--ink); margin:0; }
.t-photo{ flex:0 0 271px; }
.t-photo img{ width:271px; height:406px; object-fit:cover; }

.t-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  background:none; border:0; cursor:pointer;
  font-size:46px; line-height:1; color:#cfcfcf;
  transition:color .2s ease; z-index:2; padding:0 6px;
}
.t-arrow:hover{ color:var(--red); }
.t-prev{ left:-10px; }
.t-next{ right:-10px; }

/* ---------- PRESS / AS SEEN IN ---------- */
.press{ padding:30px 0 55px; }
.press .section-heading{ margin-bottom:35px; }
.press-logos{
  display:flex; align-items:center; justify-content:space-between;
  gap:30px; flex-wrap:wrap;
}
.press-logos img{ height:auto; width:auto; max-height:170px; object-fit:contain; opacity:.95; }
.press-logos img[alt="Gay Wedding Blog"]{ max-height:60px; }
.press-logos img[alt="Hindi"]{ max-height:50px; }
.press-logos img[alt="LMD"],
.press-logos img[alt="Confetti Magazine"]{ max-height:160px; }
.press-logos img[alt="Perfect Day Wedding"]{ max-height:140px; }

/* ---------- INSTAGRAM ---------- */
.instagram{ padding:45px 0 0; }
.instagram .section-heading{ margin-bottom:30px; }
.ig-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:4px; }
.ig-grid a{ display:block; aspect-ratio:1/1; overflow:hidden; }
.ig-grid img{ width:100%; height:100%; object-fit:cover; transition:opacity .3s ease; }
.ig-grid a:hover img{ opacity:.82; }

/* ---------- EMAIL SIGNUP ---------- */
.email-signup{ background:var(--gold); padding:40px 0 45px; text-align:center; }
.email-signup .section-heading{ margin:0 10px; }
.email-sub{ margin:14px 0 22px; color:#3d3d33; }
.email-form{ max-width:440px; margin:0 auto; }
.email-row{ display:flex; gap:10px; }
.email-form input{
  width:100%; padding:15px 12px; margin-bottom:10px;
  border:1px solid #999; border-radius:10px; background:var(--white);
  font-size:13px; font-family:inherit; color:#333;
}
.btn-subscribe{
  display:inline-block; border:0; cursor:pointer;
  background:var(--pink); color:var(--white);
  font-family:inherit; font-size:15px; text-transform:uppercase; letter-spacing:.5px;
  padding:13px 40px; border-radius:10px; transition:opacity .2s ease;
}
.btn-subscribe:hover{ opacity:.85; }

/* ---------- FOOTER ---------- */
.site-footer{ background:var(--white); padding:40px 0; text-align:center; }
.footer-logo{ width:219px; height:auto; margin:0 auto; }

.socket{ background:var(--white); border-top:1px solid #eee; padding:14px 0; font-size:12px; }
.socket-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.copyright a{ color:var(--ink); margin-left:12px; }
.copyright a:hover{ color:var(--red); }
.socials{ list-style:none; display:flex; gap:6px; margin:0; padding:0; }
.socials a{
  display:flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:50%;
  background:var(--pink); color:var(--white); transition:opacity .2s ease;
}
.socials a:hover{ opacity:.8; }

/* ---------- SCROLL TOP ---------- */
.scroll-top{
  position:fixed; right:0; bottom:0; z-index:90;
  width:65px; height:75px; line-height:72px; text-align:center;
  color:var(--white); font-size:34px; font-weight:bold;
  background:url('images/icon-bg.png') center center no-repeat;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.scroll-top.show{ opacity:1; pointer-events:auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1100px){
  .nav-logo{ left:25px; }
  .nav-logo img{ width:160px; }
}

@media (max-width:768px){
  :root{ --nav-h:80px; }
  .hero{ height:380px; }
  .nav-inner{ justify-content:flex-start; height:80px; }
  .nav-logo{ position:static; transform:none; }
  .nav-logo img{ width:140px; }
  .nav-toggle{ display:block; }
  .nav-menu{
    position:absolute; top:100%; left:0; right:0;
    background:var(--nav-bg); display:none;
    box-shadow:0 10px 20px rgba(0,0,0,.1);
  }
  .nav-menu.open{ display:block; }
  .nav-menu ul{ flex-direction:column; align-items:stretch; }
  .nav-menu > ul > li > a{ padding:14px 25px; border-top:1px solid #e3e3e3; }
  .has-dropdown .dropdown{
    position:static; transform:none; opacity:1; visibility:visible;
    box-shadow:none; background:#e9e9e9; padding:0;
  }
  .has-dropdown .dropdown li a{ padding-left:45px; }

  .display-heading{ font-size:48px; }
  .service-cards{ flex-direction:column; align-items:center; gap:30px; }
  .service-card{ max-width:100%; width:100%; }

  .t-slide{ flex-direction:column-reverse; }
  .t-photo{ flex-basis:auto; }
  .t-photo img{ width:220px; height:330px; margin:0 auto; }
  .t-prev{ left:-4px; }
  .t-next{ right:-4px; }

  .ig-grid{ grid-template-columns:repeat(3,1fr); }
  .press-logos{ justify-content:center; gap:24px; }
  .socket-inner{ flex-direction:column; text-align:center; }
}

@media (max-width:480px){
  .hero{ height:300px; }
  .display-heading{ font-size:38px; }
  .section-heading{ font-size:30px; }
  .email-row{ flex-direction:column; gap:0; }
  .ig-grid{ grid-template-columns:repeat(2,1fr); }
}
