/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
  --gold-dark: #9e6200;
  --gold-main: #bf932a;
  --gold-light: #dfc57b;
  --bg-light: #fcfcf7;

  --header-h: 80px;

  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Playfair Display", serif;

  --reveal-duration: 700ms;
  --reveal-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: #222;
  background: #fff;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-secondary);
}

/* ===== GLOBAL ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-content {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* logo */
.logo {
  flex-shrink: 0;
}

.logo img {
  height: 92px;
  display: block;
}

/* wrapper for nav + hamburger */
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

/* hide checkbox */
.nav-toggle {
  display: none;
}

/* NAV desktop */
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #000;
  letter-spacing: 2px;
  font-size: 14px;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

/* underline (default hidden) */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background-color: var(--gold-main);
  transition: width 0.25s ease;
}

/* underline only for ACTIVE */
.nav a.active::after {
  width: 100%;
}

/* hover = gold color only */
.nav a:hover {
  color: var(--gold-main);
}

/* ===== HAMBURGER (hidden on desktop) ===== */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #111;
  display: block;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* animate hamburger to X when open */
.nav-toggle:checked + .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  background: url("../assets/images/hero-room.png") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  color: white;
  text-align: left; /* ✅ shto këtë */
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  font-family: var(--font-secondary);
  line-height: 1.15;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero p {
  margin: 20px 0 30px;
  letter-spacing: 4px;
  font-size: 14px;
  max-width: 620px;
}

/* ===== BUTTON ===== */
.btn-gold {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gold-main);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  transition: 0.25s ease;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

/* ===== OUR STORY ===== */
.story {
  padding: 90px 0;
  background: var(--bg-light);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* LEFT */
.story-media {
  position: relative;
}

.story-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.story-card {
  position: absolute;
  text-align: center;
  right: -24px;
  bottom: -70px;
  width: 280px;
  max-width: calc(100% - 24px);
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  z-index: 2;
}

.story-card p {
  line-height: 1.7;
  color: #333;
  font-size: 15px;
}

/* RIGHT */
.story-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.story-label span:first-child {
  color: var(--gold-main);
  letter-spacing: 2px;
  font-size: 14px;
}

.story-line {
  height: 1px;
  flex: 1;
  background: #e8e8e8;
}

.story-title {
  font-size: 44px;
  font-style: italic;
  font-weight: 500;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.15;
}

.story-text {
  color: #444;
  line-height: 1.9;
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 26px;
}

/* FEATURES WRAPPER */
.story-features {
  margin-top: 14px;
}

/* ROW për 2 features e para */
.features-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 18px;
}

/* Feature item */
.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #222;
  font-size: 16px;
  white-space: nowrap;
}

/* ICONS */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Gold icons */
.icon.gold,
.icon.pin {
  color: var(--gold-main);
}

/* SVG inherits color */
.icon svg {
  stroke: currentColor;
}

/* Font Awesome */
.icon i {
  color: currentColor;
}

/* Central line feature */
.feature-center {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #222;
  margin-top: 6px;
}

.feature-line {
  height: 1px;
  flex: 1;
  background: #e8e8e8;
}

/* ===== OUR ROOMS ===== */
.rooms {
  padding: 90px 0;
  background: #fff;
}

.rooms-heading {
  text-align: center;
  margin-bottom: 45px;
}

/* Title row */
.rooms-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.rooms-title-row h2 {
  font-size: 44px;
  font-weight: 600;
  color: rgba(191, 147, 42, 0.75);
  font-family: var(--font-secondary);
  line-height: 1.15;
}

/* Rooms title lines */
.title-line {
  display: block;
  height: 1px;
  width: 250px;
  max-width: 24vw;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(191, 147, 42, 0.75),
    rgba(0, 0, 0, 0)
  );
}

/* Subtitle row */
.rooms-subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.rooms-subtitle-row p {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  text-align: center;
}

/* Rooms subtitle lines */
.sub-line {
  display: block;
  height: 1px;
  width: 130px;
  max-width: 14vw;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(191, 147, 42, 0.65),
    rgba(0, 0, 0, 0)
  );
}

/* Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* Card */
.room-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.room-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.room-body {
  padding: 22px 22px 26px;
  text-align: center;
}

.room-name {
  font-size: 30px;
  font-weight: 600;
  color: var(--gold-main);
  margin-bottom: 10px;
}

.room-divider {
  display: block;
  height: 1px;
  width: min(280px, 100%);
  margin: 0 auto 16px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(191, 147, 42, 0.65),
    rgba(0, 0, 0, 0)
  );
}

.room-desc {
  font-size: 18px;
  color: #222;
  margin-bottom: 18px;
}

.room-icons {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.room-icon {
  color: var(--gold-main);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

.room-card:hover .room-icon {
  color: var(--gold-dark);
}

/* ===== ROOMS TARGET ANIMATION ===== */
#rooms .rooms-heading,
#rooms .room-card {
  opacity: 1;
  transform: none;
}

#rooms:target .rooms-heading {
  animation: fadeUp 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#rooms:target .room-card {
  animation: fadeUp 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#rooms:target .room-card:nth-child(1) {
  animation-delay: 100ms;
}
#rooms:target .room-card:nth-child(2) {
  animation-delay: 200ms;
}
#rooms:target .room-card:nth-child(3) {
  animation-delay: 300ms;
}

#rooms {
  scroll-margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-light);
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 42px;
  align-items: start;
  padding-bottom: 32px;
}

.footer-logo {
  height: 100px;
  display: block;
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.social {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: var(--gold-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
}

.social:hover {
  background: var(--gold-dark);
}

.footer-links h4,
.footer-help h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #222;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #222;
  font-size: 15px;
  width: fit-content;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: var(--gold-main);
}

.footer-help {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.help-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #222;
  font-size: 15px;
}

.help-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(191, 147, 42, 0.15);
  color: var(--gold-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Bottom bar */
.footer-bottom {
  background: var(--gold-main);
  padding: 12px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-bottom p {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-align: center;
}

.bottom-line {
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.9),
    transparent
  );
}

/* ===== LARGE TABLET ===== */
@media (max-width: 1100px) {
  .story-grid {
    gap: 44px;
  }

  .story-card {
    right: 0;
    bottom: -56px;
  }

  .title-line {
    width: 180px;
    max-width: none;
  }

  .sub-line {
    width: 90px;
    max-width: none;
  }
}

/* ===== TABLET & DOWN ===== */
@media (max-width: 900px) {
  :root {
    --header-h: 78px;
  }

  .container {
    width: 92%;
  }

  .logo img {
    height: 62px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, 90vw);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    z-index: 20;
  }

  .nav-toggle:checked + .hamburger + .nav {
    display: flex;
  }

  .nav a {
    margin-left: 0;
    padding: 12px 12px;
    border-radius: 10px;
    letter-spacing: 1.5px;
  }

  .nav a::after {
    display: none;
  }

  .nav a.active {
    background: rgba(191, 147, 42, 0.12);
    color: var(--gold-dark);
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    letter-spacing: 3px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-img {
    height: 360px;
  }

  .story-card {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 14px;
  }

  .story-title {
    font-size: 36px;
  }

  .story-text {
    max-width: 100%;
  }

  .features-row {
    gap: 18px;
  }

  .feature {
    white-space: normal;
  }

  .rooms-title-row h2 {
    font-size: 36px;
  }

  .rooms-subtitle-row p {
    font-size: 18px;
  }

  .title-line {
    width: 120px;
  }

  .sub-line {
    width: 70px;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .room-img img {
    height: 240px;
  }

  .room-name {
    font-size: 26px;
  }

  .room-divider {
    width: min(220px, 100%);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo {
    height: 85px;
  }

  .footer-links h4,
  .footer-help h4 {
    font-size: 22px;
  }

  .footer-links a,
  .help-item {
    font-size: 16px;
  }

  .footer-bottom-inner {
    gap: 12px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 520px) {
  .hero {
    min-height: 68vh;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .hero p {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .btn-gold {
    padding: 11px 24px;
    font-size: 13px;
  }

  .story {
    padding: 70px 0;
  }

  .story-label {
    gap: 10px;
  }

  .story-title {
    font-size: 30px;
  }

  .features-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
  }

  .feature-center {
    gap: 10px;
  }

  .rooms {
    padding: 70px 0;
  }

  .rooms-title-row,
  .rooms-subtitle-row {
    flex-wrap: wrap;
  }

  .rooms-title-row h2 {
    font-size: 30px;
    text-align: center;
  }

  .rooms-subtitle-row p {
    font-size: 16px;
  }

  .title-line {
    width: 90px;
  }

  .sub-line {
    width: 50px;
  }

  .room-body {
    padding: 20px 16px 22px;
  }

  .room-desc {
    font-size: 16px;
  }

  .room-icons {
    gap: 26px;
  }

  .room-divider {
    width: min(200px, 100%);
  }

  .footer {
    padding-top: 55px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom p {
    font-size: 14px;
  }

  .bottom-line {
    display: none;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 380px) {
  .container {
    width: 94%;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    letter-spacing: 1.5px;
  }

  .nav {
    width: min(280px, 92vw);
  }

  .room-icons {
    gap: 20px;
  }

  .help-item {
    align-items: flex-start;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomInSoft {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Respect accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Hero load animation */
.hero .hero-content > * {
  animation: fadeUp var(--reveal-duration) var(--reveal-ease) both;
}
.hero .hero-content > *:nth-child(1) {
  animation-delay: 80ms;
}
.hero .hero-content > *:nth-child(2) {
  animation-delay: 160ms;
}
.hero .hero-content > *:nth-child(3) {
  animation-delay: 240ms;
}

.hero .hero-image img {
  animation: zoomInSoft 900ms var(--reveal-ease) both;
  animation-delay: 120ms;
}

/* Cards stagger */
.stagger > * {
  animation: fadeUp var(--reveal-duration) var(--reveal-ease) both;
}
.stagger > *:nth-child(1) {
  animation-delay: 80ms;
}
.stagger > *:nth-child(2) {
  animation-delay: 160ms;
}
.stagger > *:nth-child(3) {
  animation-delay: 240ms;
}

/* Hover microinteraction */
.card,
.room-card {
  transition:
    transform 220ms var(--reveal-ease),
    box-shadow 220ms var(--reveal-ease);
}

.card:hover,
.room-card:hover {
  transform: translateY(-4px);
}
