/* CSS Variables - Design System */
:root {
  --color-bg: #030e19;
  --color-gold: #caad9a;
  --color-white: #FFFFFF;
  --color-gray: #A0A0A0;
  --color-dark-gray: #16161D;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  /* cursor: none; */
  /* For custom cursor */
}

.custom-cursor {
  display: none !important;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 120px 0;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  /* cursor: none; */
  /* handeled by custom cursor */
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-bg);
}

.btn-primary:hover {
  background-color: #d8b46d;
  box-shadow: 0 0 20px rgba(200, 164, 93, 0.3);
}

.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-bg);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: var(--transition-fast);
}

.mobile-menu-toggle {
  display: none;
}

.navbar.scrolled {
  background-color: rgba(11, 11, 15, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 5%;
}

.brand-logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: zoomBg 20s infinite alternate linear;
}

@keyframes zoomBg {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.2) 0%, rgba(11, 11, 15, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 5%;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-wordmark {
  height: 40px;
  margin-bottom: 24px;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--color-gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-gray);
  max-width: 600px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 24px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: var(--color-gold);
  animation: scrollAnim 2s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(300%);
  }
}

/* Animations & Reveals */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hero {
  animation: fadeUpIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typography Details */
.section-kicker {
  font-family: var(--font-body);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 32px;
}

.section-body {
  color: var(--color-gray);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 600px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  height: 700px;
}

.about-img {
  position: absolute;
  object-fit: cover;
}

.main-img {
  width: 80%;
  height: 90%;
  bottom: 0;
  left: 0;
  z-index: 2;
  filter: grayscale(20%);
}

.accent-img {
  width: 50%;
  height: 60%;
  top: 0;
  right: 0;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: screen;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 24px;
  transition: gap 0.3s;
}

.link-arrow:hover {
  gap: 16px;
}

/* Projects Section */
.section-header {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-filters {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray);
  padding: 8px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 30px;
  /* cursor: none; */
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-gold);
  color: var(--color-white);
  background: rgba(200, 164, 93, 0.1);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.project-card {
  group: project;
  /* cursor: none; */
  transition: var(--transition-smooth);
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  margin-bottom: 24px;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 15, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.view-details {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .view-details {
  transform: translateY(0);
}

.project-name {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.project-location {
  color: var(--color-gray);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Lifestyle Section */
.lifestyle-section {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lifestyle-parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.lifestyle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 15, 0.6);
}

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

.lifestyle-quote {
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.3;
}

/* Philosophy Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.animated-line {
  height: 1px;
  background-color: var(--color-gold);
  width: 0;
  margin-top: 40px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.philosophy-text.active .animated-line {
  width: 100%;
}

.philosophy-visual {
  position: relative;
  height: 600px;
}

.abstract-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.1;
  mix-blend-mode: color-dodge;
}

.detail-img {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 70%;
  height: 80%;
  object-fit: cover;
  border: 1px solid rgba(200, 164, 93, 0.3);
}

/* Contact Section */
.contact-section {
  background-color: var(--color-dark-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details p {
  color: var(--color-gray);
}

.contact-details strong {
  color: var(--color-white);
  font-weight: normal;
  display: inline-block;
  width: 120px;
}

.luxury-form {
  background: var(--color-bg);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--color-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 0;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
}

.form-status.success {
  color: var(--color-gold);
}

/* Footer */
.footer {
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  height: 48px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--color-gray);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */

/* Laptop / Large Tablets (1024px to 1200px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
  }

  .about-grid,
  .philosophy-grid {
    gap: 40px;
  }

  .project-filters {
    flex-wrap: wrap;
  }
}

/* Tablets (768px to 1024px) */
@media (max-width: 1024px) {

  .about-grid,
  .philosophy-grid,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-image-wrapper,
  .philosophy-visual {
    height: 500px;
  }

  .about-text,
  .philosophy-text {
    order: 1;
  }

  .about-image-wrapper {
    order: -1;
  }

  /* Mobile menu logic */
  .desktop-only {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    /* cursor: none; */
    z-index: 1001;
  }

  .mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.5rem;
    margin: 15px 0;
  }
}

/* Mobile Devices (up to 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrapper,
  .philosophy-visual {
    height: 600px;
  }

  .lifestyle-section {
    height: 80vh;
    padding: 0;
  }

  .lifestyle-parallax-bg {
    background-attachment: scroll;
    height: 100% !important;
    width: 100% !important;
    top: 0;
    left: 0;
    transform: none !important;
  }

  .lifestyle-quote {
    font-size: 2rem;
    padding: 0 20px;
  }

  .desktop-br {
    display: none;
  }

  .luxury-form {
    padding: 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .project-img-wrapper {
    aspect-ratio: 1/1;
  }
}

/* Utility for disabling scroll when menu is open */
.no-scroll {
  overflow: hidden;
}
