/* ==================================================
   GOOGLE FONT
================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* ==========================================================================
   RESET & GLOBAL
========================================================================== */

body{

    font-family:'Poppins',sans-serif;
}

h1,h2,h3{

    font-family:'Playfair Display',serif;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

*{
  box-sizing: border-box;
}

img{
  max-width: 100%;
  height: auto;
}

:root {
  --primary-color: #0f172a;
  --accent-color: #D4AF37;
  --text-color: #334155;
  --light-bg: #f1f5f9;
  --white: #ffffff;
}

body{
    background:
    linear-gradient(
    to bottom,
    #f8f9fa,
    #eef2f7
    );
}


/* ==========================================================================
   NAVIGASI GLOBAL
========================================================================== */

header {
  background-color: var(--primary-color);
  padding: 20px 0;

  position: sticky;
  top: 0;
  z-index: 1000;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.container{

    width:90%;
    max-width:1200px;

    margin:auto;
}

.nav-container{

    max-width:1200px;

    margin:auto;

    padding:20px 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
}

.logo span {
  color: var(--accent-color);
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 25px;

  color: #cbd5e1;
  text-decoration: none;

  font-size: 15px;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: var(--accent-color);
}


/* ==========================================================================
   HERO SECTION
========================================================================== */

.section-title{

    text-align:center;

    margin-bottom:60px;
}

.section-title h2{

    font-size:42px;

    margin-bottom:15px;
}

.section-title p{

    color:#6b7280;
}


.hero{

    position:relative;

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;

    color:#fff;

}

.hero::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:

    linear-gradient(

        rgba(7,17,32,.72),

        rgba(7,17,32,.72)

    ),

    url("../images/CitrusLove.png");

    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

    z-index:-2;

}

.hero::after{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(

        circle,

        transparent 10%,

        rgba(0,0,0,.22) 100%

    );

    z-index:-1;

}

.hero-content{

    max-width:850px;

    margin:auto;

    padding:20px;

    z-index:2;

}

.hero-content h1{

    font-size: clamp(38px,5vw,56px);

    line-height:1.15;

    margin-bottom:18px;

    font-family:'Playfair Display',serif;

    text-shadow:

    0 8px 25px rgba(0,0,0,.45);

}

.hero-content p{

    max-width:700px;

    margin:0 auto 35px;

    font-size:clamp(16px,2vw,22px);

    line-height:1.8;

    color:#F8FAFC;

}

.hero-badge{

    display:inline-block;

    padding:10px 20px;

    border-radius:50px;

    background:rgba(255,255,255,.15);

    border:1px solid rgba(255,255,255,.3);

    color:white;

    margin-bottom:20px;

    backdrop-filter:blur(10px);
}

/* ================= MOBILE HERO ================= */

@media (max-width:768px){

    .hero{

        min-height:85vh;

    }

    .hero::before{

        background-position:65% center;

    }

    .hero-content{

        padding:20px;

    }

    .hero-content h1{

        line-height:1.2;

    }

    .hero-content p{

        margin-bottom:25px;

    }

}

/* ==========================================================================
   GRID / KOLOM
========================================================================== */

.row {
  margin: 20px -10px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.contact-section .row {
  padding-right: 60px;
}

/* 3 KOLOM */

.col-1 {
  float: left;
  width: 33.33%;

  padding: 0 10px;
  margin-bottom: 20px;
}


/* 2 KOLOM */

.col-2 {
  float: left;
  width: 50%;

  padding: 0 30px;
  margin-bottom: 20px;
}


/* KOLOM BESAR */

.col-3 {
  float: left;
  width: 50%;

  padding: 0 10px;
  margin-bottom: 20px;
}

/* ==========================================================================
   STATS
========================================================================== */

.stats-section{

    background:white;

    padding:70px 0;
}

.stats-container{

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-around;

    flex-wrap:wrap;

    text-align:center;
}

.stat-box{

    padding:20px;
}

.stat-box h3{

    font-size:42px;

    color:var(--accent-color);
}

.stat-box p{

    color:var(--text-color);
}

/* ==========================================================================
   CARD
========================================================================== */

.card{

    border-radius:25px;

    overflow:hidden;

    box-shadow:
    0 15px 35px rgba(0,0,0,.08);

    transition:.4s;
}

.card:hover{

    transform:
    translateY(-12px);
    transform:scale(1.08);
    box-shadow:
    0 20px 40px rgba(0,0,0,.15);
}

.card img {
  width: 100%;
  height: 250px;
  transition:.5s;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 25px;
}

.card h3,
.card h4 {
  margin-bottom: 10px;

  color: var(--primary-color);
}


/* ==========================================================================
   FORM
========================================================================== */

.form-box {
  max-width: 650px;

  margin: 0 auto;
  padding: 35px;

  background: var(--white);

  border-radius: 10px;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;

  margin-bottom: 6px;

  font-size: 14px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 15px;

  border: 1px solid #cbd5e1;
  border-radius: 12px;

  font-size: 14px;
}

.form-control:focus {
  box-shadow:
    0 0 0 4px rgba(212,175,55,.15);
}

.error-msg {
  display: none;

  margin-top: 4px;

  color: #dc2626;
  font-size: 12px;
}


/* ==========================================================================
   BUTTON
========================================================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 38px;

    background:#D4AF37;

    color:#111827;

    text-decoration:none;

    font-size:18px;

    font-weight:600;

    border:none;

    border-radius:50px;

    cursor:pointer;

    transition:all .35s ease;

    box-shadow:0 10px 25px rgba(212,175,55,.35);
}

.btn:hover{

    background:#E8C867;

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(212,175,55,.45);
}

footer 
{
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 25px;
    
}

.footer-content{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

    margin-bottom:30px;
}


/*=========================================
PROMOTION
=========================================*/

.promotion{

    padding:100px 8%;

    background:#ffffff;

}

.promo-item{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:60px;

    align-items:center;

    margin-bottom:90px;

}

.promo-item.reverse{

    grid-template-columns:1fr 1.2fr;

}

.promo-item.reverse .promo-image{

    order:2;

}

.promo-item.reverse .promo-content{

    order:1;

}

.promo-image{

    position:relative;

}

.promo-image img{

    width:100%;

    height:430px;

    object-fit:cover;

    border-radius:24px;

    display:block;

    transition:.4s;

}

.promo-image:hover img{

    transform:scale(1.03);

}

.discount-badge{

    position:absolute;

    top:25px;

    left:25px;

    background:#D4A017;

    color:#fff;

    padding:12px 22px;

    border-radius:50px;

    font-weight:700;

    letter-spacing:1px;

}


/* ==========================================================================
   CTA
========================================================================== */

.cta-section{

    background:var(--primary-color);

    color:white;

    text-align:center;

    padding:100px 20px;
}

.cta-section h2{

    color:white;

    margin-bottom:20px;

    font-size:42px;
}

.cta-section p{

    margin-bottom:30px;
}

/*==================================================
ROOM PREVIEW
==================================================*/

.room-preview{

    padding:100px 0;

    background:#f8fafc;

}

.room-preview .container{

    width:90%;

    max-width:1250px;

    margin:auto;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:42px;

    color:#10213b;

    margin-bottom:12px;

}

.section-title p{

    color:#6b7280;

    font-size:18px;

}

.room-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.room-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.room-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.room-card img{

    width:100%;

    height:250px;

    object-fit:cover;

    display:block;

}

.room-content{

    padding:28px;

}

.room-content h3{

    font-size:28px;

    color:#10213b;

    margin-bottom:15px;

}

.room-content p{

    color:#555;

    line-height:1.8;

    margin-bottom:25px;

}

.room-footer{

    margin-top:25px;

}

.price{

    display:block;

    font-size:22px;

    color:#d4a017;

    font-weight:700;

    margin-bottom:18px;

}
.btn-room{

    display:inline-block;

    background:#d4a017;

    color:#fff;

    text-decoration:none;

    padding:13px 28px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.btn-room:hover{

    background:#b88908;

    transform:translateY(-2px);

}

@media(max-width:992px){

.room-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.room-grid{

grid-template-columns:1fr;

}

.room-card img{

height:220px;

}

}

/*==================================================
        WHY CHOOSE US
==================================================*/

.why-us{

    padding:100px 8%;

    background:#f8f9fb;

}


.why-header{

    text-align:center;

    margin-bottom:70px;

}


.mini-title{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    font-size:15px;

    letter-spacing:6px;

    color:#c99b2b;

    font-weight:700;

    margin-bottom:20px;

}


.mini-title .line{

    width:90px;

    height:2px;

    background:#d8b04c;

}


.why-header h2{

    font-family:"Playfair Display",serif;

    font-size:62px;

    color:#0f172a;

    margin-bottom:22px;

    font-weight:700;

    line-height:1.15;

}


.why-header p{

    width:620px;

    max-width:100%;

    margin:auto;

    color:#6b7280;

    font-size:23px;

    line-height:1.8;

}

/*==================================================
        WHY GRID
==================================================*/

.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}


.why-card{

    background:#ffffff;

    border-radius:22px;

    padding:45px 35px;

    text-align:center;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    transition:.35s;

    position:relative;

    overflow:hidden;

    border:1px solid #ececec;

}


.why-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 45px rgba(0,0,0,.15);

}


.icon-circle{

    width:120px;

    height:120px;

    border-radius:50%;

    border:2px solid #d4a017;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    font-size:55px;

    color:#d4a017;

    margin-bottom:22px;

    transition:.3s;

}


.why-card:hover .icon-circle{

    background:#d4a017;

    color:#ffffff;

    transform:rotate(8deg);

}


.gold-line{

    width:45px;

    height:3px;

    background:#d4a017;

    margin:0 auto 28px;

}


.why-card h3{

    font-family:"Playfair Display",serif;

    font-size:36px;

    color:#0f172a;

    margin-bottom:18px;

}


.why-card p{

    font-size:19px;

    line-height:1.9;

    color:#666;

}


.bottom-line{

    width:90px;

    height:3px;

    background:#d4a017;

    margin:35px auto 0;

}

/*==================================================
                HOTEL STATISTICS
==================================================*/

.stats-box{

    margin-top:70px;

    background:#ffffff;

    border:1px solid #d9b04b;

    border-radius:24px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}


.stat-item{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:20px;

    padding:35px 20px;

    position:relative;

}


.stat-item:not(:last-child){

    border-right:1px solid #e7d7a7;

}


.stat-icon{

    font-size:48px;

    color:#d4a017;

}


.stat-item h3{

    font-family:"Playfair Display", serif;

    font-size:54px;

    color:#0f172a;

    margin-bottom:5px;

    line-height:1;

}


.stat-item p{

    font-size:18px;

    color:#666;

    margin:0;

}


/* ==========================================================================
   NAV TOGGLE (HAMBURGER) - dipasang otomatis lewat js/main.js
========================================================================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  width: 34px;
  height: 34px;

  background: none;
  border: none;
  cursor: pointer;
  padding: 0;

  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;

  background: #fff;
  border-radius: 2px;

  transition: .3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   RESPONSIVE
========================================================================== */

/* ---------- TABLET (<= 992px) ---------- */
@media (max-width: 992px) {

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .promo-item,
  .promo-item.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .promo-item.reverse .promo-image,
  .promo-item.reverse .promo-content {
    order: initial;
  }

  .promo-image img {
    height: 320px;
  }

  .why-header h2 {
    font-size: 46px;
  }

  .why-header p {
    font-size: 18px;
  }
}

/* ---------- MOBILE (<= 768px) ---------- */
@media (max-width: 768px) {

  .col-1,
  .col-2,
  .col-3 {
    width: 100%;
    float: none;
  }

  /* --- Navigasi jadi hamburger menu --- */
  .nav-container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    text-align: left;
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: stretch;

    width: 100%;
    margin-top: 15px;

    gap: 0;
  }

  nav.open {
    display: flex;
  }

  nav a {
    margin: 0;
    padding: 12px 4px;

    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  nav span {
    margin: 12px 4px 0 !important;
    display: block;
  }

  .hero {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .section-title h2,
  .cta-section h2 {
    font-size: 30px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-header h2 {
    font-size: 36px;
  }

  .why-header p {
    font-size: 16px;
  }

  .why-card {
    padding: 35px 25px;
  }

  .stats-box {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e7d7a7;
  }

  .stat-item h3 {
    font-size: 38px;
  }

  .promotion {
    padding: 60px 5%;
  }

  .promo-image img {
    height: 240px;
  }

  .form-box {
    padding: 22px;
  }

  .stats-container {
    gap: 20px;
  }

  .col-3 {
    padding: 0 0;
  }

  .row {
    margin: 20px 0;
  }
}

/* ---------- SMALL MOBILE (<= 480px) ---------- */
@media (max-width: 480px) {

  .hero-content h1 {
    font-size: 26px;
  }

  .section-title h2,
  .cta-section h2 {
    font-size: 24px;
  }

  .btn {
    padding: 14px 26px;
    font-size: 16px;
    width: 100%;
  }

  .form-box {
    padding: 18px;
  }

  .why-card h3 {
    font-size: 28px;
  }

  .stat-box h3 {
    font-size: 32px;
  }

  .logo {
    font-size: 17px;
  }
}