@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap");

:root {
  --text-gold: #b2947a;
  --text-dark: #333d42;
  --bg-gradient: radial-gradient(circle at center, #fdfcfb 0%, #e2ebf0 100%);
  --footer-bg: #e6dfdd;
}

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

/* body,
html {
  width: 100vw;
  font-family: "Times New Roman", serif;

  color: var(--text-dark);

  overflow-x: hidden;
  scroll-behavior: smooth;
  height: 100vh;
}

body {
  background: var(--bg-gradient);
  background-image: url("assets/background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
} */

/* body {
  width: 100%;
  font-family: "Times New Roman", serif;
  color: var(--text-dark);
  scroll-behavior: smooth;
  min-height: 100vh; use min-height, not height
  width: 100vw; 
  overflow-x: hidden;
  background: var(--bg-gradient);
  background-image: url("assets/background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll; 
} */

body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  /* fixed to viewport, not scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  background-image: url("assets/background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  /* sits behind all content */
}

/* Camera Viewfinder - Fixed so they stay while scrolling */
.corner {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  z-index: 100;
  pointer-events: none;
}

.top-left {
  top: 20px;
  left: 20px;
  border-right: 0;
  border-bottom: 0;
}

.top-right {
  top: 20px;
  right: 20px;
  border-left: 0;
  border-bottom: 0;
}

.bottom-left {
  bottom: 20px;
  left: 20px;
  border-right: 0;
  border-top: 0;
}

.bottom-right {
  bottom: 20px;
  right: 20px;
  border-left: 0;
  border-top: 0;
}

/* Navigation - Fixed at top */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  z-index: 90;
  min-height: 80px;
  box-sizing: border-box;
}

.logo-image {
  width: 10rem;
  height: 6rem;
}

.nav-links {
  display: flex;
  /* justify-content: space-between; */

  gap: 2rem;
}

#coming-soon-target {
  scroll-margin-top: 80px;
}

/* Ensure the cursor changes to a pointer so users know it's clickable */
/* .nav-links span {
  cursor: pointer;
} */

.logo .nav-links span {
  margin: 0 15px;
  cursor: pointer;
}

.get-in-touch {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  line-height: 1;
}

.get-in-touch span {
  display: inline-block;
  vertical-align: middle;
}

.dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  background-color: red;
  border-radius: 50%;
  animation: dot-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
  align-self: center;
}

/* Sections Shared Styling */
section {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* 2. Apply to Section 1 (Hero) – production-house style */
.hero-title {
  text-align: center;
}

.hero-title h1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 120px;
  line-height: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-gold);
  margin: 0;
  opacity: 0;
  filter: blur(14px);
  transform: scale(0.88);
  animation: hero-blur-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-title h2 {
  font-family: "Playfair Display SC", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 61px;
  line-height: 100%;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-dark);
  text-align: center;
  margin-top: 10px;
  opacity: 0;
  filter: blur(14px);
  transform: scale(0.88);
  animation: hero-blur-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

/* Scale + Blur In – hero title reveal */
@keyframes hero-blur-in {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* 3. Apply to Section 2 (Coming Soon) */
.coming-soon-text {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 120px;
  /* Matching the H1 style for consistency */
  line-height: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a8948d;
  z-index: 2;
  opacity: 0;
  filter: blur(14px);
  transform: scale(0.88);
  transition: none;
}

/* Animation chalti hai jab user scroll karke is section tak aaye */
.coming-soon.in-view .coming-soon-text {
  animation: hero-blur-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.moon-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(230, 210, 250, 0.3) 60%,
      transparent 80%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(10px);
  animation: moon-breathe 2.8s ease-in-out infinite;
}

/* Decorative Stars */
.star {
  position: absolute;
  width: 60px;
  /* Increased size slightly so you can see them better */
  height: 60px;

  /* Image Fixes */
  background-image: url("assets/start-one.png");
  background-size: contain;
  /* Ensures the whole star fits in the box */
  background-repeat: no-repeat;
  background-position: center;

  /* Remove clip-path if your PNG already has a star shape */
  /* clip-path: polygon(...); */

  z-index: 5;
}

.second-star {
  position: absolute;
  width: 60px;
  /* Increased size slightly so you can see them better */
  height: 60px;

  /* Image Fixes */
  background-image: url("assets/star-three.png");
  background-size: contain;
  /* Ensures the whole star fits in the box */
  background-repeat: no-repeat;
  background-position: center;

  /* Remove clip-path if your PNG already has a star shape */
  /* clip-path: polygon(...); */

  z-index: 5;
}

.third-star {
  position: absolute;
  width: 60px;
  /* Increased size slightly so you can see them better */
  height: 60px;

  /* Image Fixes */

  background-image: url("assets/star-two.png");
  background-size: contain;
  /* Ensures the whole star fits in the box */
  background-repeat: no-repeat;
  background-position: center;

  /* Remove clip-path if your PNG already has a star shape */
  /* clip-path: polygon(...); */

  z-index: 5;
}

/* Star breathing – strong opacity + scale so effect is clearly visible */
@keyframes star-breathe {

  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.38);
  }
}

/* Opacity-only breathing for scaled stars – wider range so it shows */
@keyframes star-breathe-opacity {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* Moon glow – bigger pulse so it’s noticeable */
@keyframes moon-breathe {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Get In Touch dot – stronger pulse */
@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1.35);
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
}

.star-1 {
  top: 25%;
  left: 15%;
  animation: star-breathe 2.2s ease-in-out infinite;
}

.star-2 {
  bottom: 20%;
  right: 15%;
  animation: star-breathe 2.5s ease-in-out infinite 0.4s;
}

.star-3 {
  top: 20%;
  left: 20%;
  transform: scale(1.5);
  animation: star-breathe-opacity 2s ease-in-out infinite 0.2s;
}

.star-4 {
  bottom: 30%;
  right: 20%;
  transform: scale(2);
  animation: star-breathe-opacity 2.3s ease-in-out infinite 0.5s;
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  position: relative;
  z-index: 10;
  border-top: 4px solid #bdb0c6;
}

.logo-main {
  font-weight: bold;
  font-size: 18px;
}

.logo-sub {
  font-size: 10px;
  color: #555;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  background-color: #b09393;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.social-icon i {
  font-size: 14px;
  color: #e6dfdd;
}

/* Hover effect to make it feel premium */
.social-icon:hover {
  background-color: #fff;
  border-color: var(--text-gold);
}

.social-icon:hover i {
  color: var(--text-gold);
}

/* --- RESPONSIVE DESIGN --- */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {

  .hero h1,
  .coming-soon-text {
    font-size: clamp(60px, 10vw, 90px);
  }

  .hero h2 {
    font-size: clamp(30px, 5vw, 45px);
  }

  .moon-glow {
    width: 400px;
    height: 400px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {

  /* Navigation adjustments */
  nav {
    padding: 15px 20px;
    flex-direction: column;
    /* Stack logo and links if needed */
    gap: 10px;
  }

  .nav-links {
    gap: 1rem;
    font-size: 10px;
  }

  .logo-image {
    width: 7rem;
    height: auto;
  }

  /* Main Typography */
  .hero h1,
  .coming-soon-text {
    font-size: 50px;
    /* Scaled down for mobile width */
    letter-spacing: 2px;
  }

  .hero h2 {
    font-size: 24px;
    letter-spacing: 3px;
  }

  /* Repositioning stars so they don't cover text */
  .star-1 {
    top: 15%;
    left: 5%;
    width: 40px;
    height: 40px;
  }

  .star-2 {
    bottom: 15%;
    right: 5%;
    width: 40px;
    height: 40px;
  }

  .star-3 {
    top: 10%;
    left: 10%;
  }

  .star-4 {
    bottom: 20%;
    right: 10%;
  }

  .moon-glow {
    width: 300px;
    height: 300px;
  }

  /* Footer adjustments */
  .site-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 30px 20px;
  }

  .social-links {
    justify-content: center;
  }

  /* Shrink viewfinders on mobile */
  .corner {
    width: 25px;
    height: 25px;
  }
}

/* Landscape Mobile Fix */
@media (max-height: 500px) {
  section {
    height: auto;
    padding: 100px 20px;
  }
}