html, body {
  overflow-x: clip; /* 'clip' unlike 'hidden' does NOT create a new scroll container */
  overflow-y: scroll; /* single authoritative scrollbar on html only */
  max-width: 100%;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
  font-family: 'Cinzel', serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

/* Disable image dragging */
img {
  pointer-events: none;
  -webkit-user-drag: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   GLOBAL BLACK BACKGROUND
========================= */


/* Fixed PNG layer */
.global-background {
  position: fixed;
  inset: 0;
  z-index: 0;

  background-image: url("assets/fixed.bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% auto;

  opacity: 0.5; /* adjust to taste */
  pointer-events: none;
}


/* =========================
   BASE
========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (max-width: 600px) {

  .container {
    padding-inline: 15px; /* 👈 consistent spacing site-wide */
  }

}

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  padding: 20px 0;
  height: 95px; /* match logo height */

  background: transparent;
  transition: all 0.4s ease;
}

/* SCROLLED STATE */
.site-header.scrolled {
  height: 55px; /* 👈 target height */

  padding: 5px 0; /* reduce spacing */

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.site-header.scrolled .main-nav a {
  color: #f5e6a6;
}

.site-header.scrolled .main-nav a:hover {
  color: gold;
  text-shadow: 0 0 8px gold;
}

.site-header.scrolled {
  padding: 12px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  padding-inline: 20px;
  justify-content: space-between; /* pushes logo left & nav right */
}

.logo img {
  height: 95px;
  transition: height 0.4s ease;
}

.site-header.scrolled .logo img {
  height: 45px; /* fits inside 55px navbar */
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: gold;
  font-size: 24px;
  font-weight: bold;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  overflow-x: clip;
}

.main-nav a {
  margin-left: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.main-nav a:hover {
  color: gold;
}

.menu-toggle {
  display: none;
}

h1 {
  font-size: clamp(48px, 8vw, 110px);
}

@media (max-width: 900px){

  .site-header .container {
    padding-inline: 15px;
  }

  .logo img {
    height: 65px;
    transition: height 0.4s ease;
  }

  .main-nav{
    position: absolute;
    top: 100%;
    right: 0;

    flex-direction: column;

    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);

    width: 240px;
    max-width: 100%;
    padding: 20px;

    transform: translateX(100%);
    transition: 0.4s ease;
  }

  .main-nav.active{
    transform: translateX(0);
  }

  .main-nav a{
    margin: 12px 0;
  }

  .menu-toggle{
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    color: gold;
    cursor: pointer;
  }

  .hero-content h1{
  font-size: 80px;
}

}
/* =========================
   NAV DROPDOWN (MEDIA)
========================= */

.nav-dropdown {
  position: relative;
}

.media-link i {
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Dropdown container */
.media-dropdown {
  position: absolute;
  top: 100%;
  left: 0;

  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255,215,0,0.4);
  border-radius: 12px;

  min-width: 160px;
  padding: 10px 0;
  max-width: 200px;
  white-space: nowrap;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: 
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0s linear 0.3s;

  visibility: hidden;

  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Dropdown links */
.media-dropdown a {
  display: block;
  padding: 12px 20px;
  color: #f5e6a6;
  text-decoration: none;
  transition: 0.3s ease;
}

.media-dropdown a:hover {
  background: rgba(255,215,0,0.15);
  color: gold;
}

/* Show on hover */
.nav-dropdown:hover .media-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;

  visibility: visible;
  transition-delay: 0s;
}

.nav-dropdown:hover .media-link i {
  transform: rotate(180deg);
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px; /* invisible bridge */
}

.nav-dropdown.open .media-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

@media (max-width: 900px) {
  /* Completely disable hover-based hiding */
  .nav-dropdown:hover .media-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Always show dropdown links on mobile — no toggle needed */
  .media-dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transition: none; /* remove transition so it never flickers */
  }

  .media-link i {
    display: none;
  }
}
/* =========================
   HERO SECTION
========================= */

.hero {
  position: relative; 
  height: 98vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
  contain: paint; /* 🔥 prevents child elements bleeding scroll context */
  box-shadow: 0 4px 22px rgba(233, 190, 21, 0.914);
}

/* Slideshow container */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide */
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* Assign images */
.slide:nth-child(1) {
  background-image: url('assets/WELCOME.webp');
}
.slide:nth-child(2) {
  background-image: url('assets/5.webp');
}
.slide:nth-child(3) {
  background-image: url('assets/Greenland.webp');
}
.slide:nth-child(4) {
  background-image: url('assets/RIVERSIDE.webp');
}
.slide:nth-child(5) {
  background-image: url('assets/ISLAND.jpg');
}
.slide:nth-child(6) {
  background-image: url('assets/3_BED.png');
}
.slide:nth-child(7) {
  background-image: url('assets/estate_2.webp');
}
.slide:nth-child(8) {
  background-image: url('assets/value.png');
}
.slide:nth-child(9) {
  background-image: url('assets/You.webp');
}

/* Active slide */
.slide.active {
  opacity: 1;
}

/* Optional diagonal fade overlay effect */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0.6) 100%
  );
}

.hero-title-wrap {
  position: relative;
  display: inline-block; /* shrink to h1 width */
}

.hero-title-wrap h1 {
  margin: 0;
}

.hero-toptext {
  position: absolute;
  top: -.5em;   /* adjust vertical spacing */
  left: 0;       /* aligns with "G" in Gray */

  font-size: clamp(14px, 1.5vw, 22px);
  color: white;
  font-weight: 500;

  text-align: left;
}

/*Text slideshow*/
.hero-subtext {
  margin-top: 10px;
  font-size: clamp(16px, 2vw, 28px);
  color: white;
  font-weight: 500;

  opacity: 0;              /* hidden by default */
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Visible state */
.hero-subtext.show {
  opacity: 1;
  transform: translateY(0);
}

.location-slider {
  display: inline-flex;   /* 🔥 allows natural width */
  position: relative;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  transition: width 0.4s ease;
}

.location {
  position: absolute;
  left: 0;
  top: 0;

  white-space: nowrap;

  opacity: 0;
  transform: translateY(100%);

  color: gold;

  transition: all 0.6s ease;
}

.location.active {
  position: relative;   /* 🔥 THIS FIXES WIDTH */
  opacity: 1;
  transform: translateY(0);
}

/* Dark overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 1;
}

/* Content above slides */
.hero-content {
  margin-top: 0;
  padding-top: 120px;
  position: relative;
  z-index: 2;
}

.hero-content h2{
  font-size: clamp(24px, 4vw, 50px);
}

@media (max-width: 900px) {
.hero-title-wrap h1 {
  padding-bottom: 70px;
  font-size:  40px;
}

}

/* =========================
   ABOUT SECTION
========================= */

.about-section {
  font-family: 'Antic Slab', serif;
  padding: 15px 0;
  position: relative;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

/* LEFT SIDE TEXT */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(20px, 4vw, 80px);

  background:
    linear-gradient(rgba(0,0,0,0.94), rgba(0,0,0,0.94)),
    url("assets/prologo.png");

  background-size: cover;
  background-position: center;

  border-top-left-radius: 150px;
  border-bottom-left-radius: 50px;
}

.about-title {
  font-size: clamp(24px, 3vw, 50px);
  color: gold;
  margin-bottom: 30px;
  text-shadow: 0 0 12px rgba(255,215,0,0.4);
}

.about-content p {
  font-size: clamp(20px, 1.1vw, 18px);
  line-height: 2;
  color: rgb(194, 193, 191);
}

/* Button */
.about-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 35px;
  border-radius: 25px;

  background: linear-gradient(45deg, gold, #d4af37);
  color: black;
  font-weight: bold;
  text-decoration: none;

  transition: all 0.4s ease;
}

.about-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255,215,0,0.6);
}

/* RIGHT SIDE IMAGE */
.about-image {
  position: relative;   
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100%;  /* ✅ ensures it fills its grid cell */

  background-image: url("assets/parallax.webp");
  background-size: cover;
  background-position: center;

  border-top-right-radius: 50px;
  border-bottom-right-radius: 100px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* important */
  border-top-right-radius: 50px;
  border-bottom-right-radius: 100px;
  box-shadow: 0 20px 60px rgba(219, 219, 219, 0.7);
}

/* ABOUT SLIDESHOW */

.about-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background-size: cover;
  background-position: center;

  opacity: 0;
  transition: opacity 1.2s ease;

  z-index: 0; /* keep behind any future content */
}

/* Images */

.about-slide:nth-child(1){
  background-image:url("assets/10.webp");
}

.about-slide:nth-child(2){
  background-image:url("assets/11.webp");
}

.about-slide:nth-child(3){
  background-image:url("assets/12.webp");
}

.about-slide:nth-child(4){
  background-image:url("assets/You.webp");
}

.about-slide.active{
  opacity:1;
}

.about-section:not(.about-pg) .about-image {
  background-image: url("assets/parallax.webp");
  background-size: cover;
  background-position: center;
}

@media (max-width: 600px) {
  .about-container {
    grid-template-columns: 1fr 1fr; /* force split */
  }

  .about-content {
    padding: 15px;
  }

  .about-title {
    font-size: 18px;
  }

  .about-content p {
    font-size: 11px;
  }

}

/* MOBILE TEXT (hidden by default) */
.about-mobile-text {
  display: none;
  padding: 20px;
  text-align: center;
}

.about-mobile-text p {
  font-size: 13px;
  line-height: 1.7;
  color: #c2c1bf;
}

@media (max-width: 600px) {

  /* Hide the long paragraph */
  .about-full-text {
    display: none;
  }

  /* Show the shorter mobile version */
  .about-mobile-text {
    display: block;
  }

  /* Reduce height of main section */
  .about-container {
    min-height: auto;
  }

}
/* =========================
   PROJECT PANEL SECTION
========================= */

.project-panels {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 0px 20px;
}

/* Individual card */
.project-card {
  position: relative;
  width: 300px;
  height: 440px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

/* Background image */
.project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease;
  z-index: 1;
}

/* Hover overlay (hidden by default) */
.project-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 2;
  pointer-events: none;
}
.peniel-overlay {
  background: rgba(88, 211, 255, 0.85);
}
.eden-overlay {
  background: rgba(15, 109, 23, 0.85);
}
.bethel-overlay {
  background: rgba(238, 193, 125, 0.85);
}

/* Logo */
.project-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  z-index: 3;
  transition: transform 0.4s ease;
  pointer-events: none;
}

/* Hover Effect */
.project-card:hover .project-bg {
  opacity: 0;
}

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

.project-card:hover .project-logo {
  transform: translate(-50%, -50%) scale(1.05);
}
.project-card:hover .project-label {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

/* Project Label */
.project-label {
  pointer-events: none;
  position: absolute;
  margin-top: 90px;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);

  color: white;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;

  opacity: 0;
  transition: all 0.5s ease;
  z-index: 3;

  text-shadow: 0 0 12px rgba(0,0,0,0.7);
}


@media (max-width: 900px) {
  .brand-panels {
    flex-direction: column;
  }

  .brand-card {
    width: 90%;
    max-width: 400px;
  }
}

@media (max-width: 900px){

  .project-panels{
    align-items: center;
    gap: 10px;
  }

  .project-card{
    width: 90%;
    max-width: 400px;
    max-height: 300px;
  }

}

/* =========================
   CARD SLIDESHOW SECTION
========================= */
.card-showcase {
  background: none;
  overflow: hidden;
  width: 100%;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.card-showcase.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Row */
.card-row {
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
}

/* Track becomes sliding container */
.card-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

/* Cards - Glassmorphism */
.card {
  flex: 0 0 33.333%;
  padding: 5px;
  margin: 20px 5px 5px 5px;
  box-sizing: border-box;

  border-radius: 18px;
  overflow: hidden;

  /* GLASS EFFECT */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 215, 0, 0.25);

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(255, 215, 0, 0.05);

  color: rgb(219, 193, 61);

  transition: all 0.4s ease;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;

}

.card h3 {
  padding: 15px;
  text-align: center;
  margin: 0;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.8),
    0 0 25px rgba(255,215,0,0.3);
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* Tablet */
@media (max-width: 992px) {
  .card {
    flex: 0 0 50%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .card {
    flex: 0 0 100%;
  }

  .card img {
    height: 200px;
  }
}

/* =========================
   STATS SECTION
========================= */
.stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item h2 {
  font-size: 60px;
  color: gold;
  text-shadow: 0 0 6px gold, 0 0 0px gold;
  transition: 0.3s ease;
}

.stat-item p {
  font-weight: 500;
  color: gold;
}
.stats-parallax {
  position: relative;
  padding: 90px 0;

  background-image: url("assets/urban_estate.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  background-attachment: fixed; /* 🔥 THIS is the key */
}
/* Dark overlay layer */
.stats-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); 
  z-index: 1;
}

.stats-title{
  display: flex;
  justify-content: center;
  color: #f5e6a6;
  position: relative;
  z-index: 2;
}

@media (max-width: 800px){

  .stats{
    flex-direction: row;              /* keep horizontal */
    justify-content: space-between;
    gap: 10px;
  }

  .stat-item{
    flex: 1;                          /* equal width */
  }

  .stat-item h2{
    font-size: 28px;                  /* scale down for small screens */
  }

  .stat-item p{
    font-size: 12px;
  }

}
/* =========================
   CONTACT SECTION
========================= */

.contact-section {
  position: relative;
  display: flex;
  flex-direction: column;   /* STACK ITEMS */
  justify-content: center;
  align-items: center;
}


/* Background */
.contact-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  z-index: 0;
}

/* Container */
.contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  padding: 40px;
  border-radius: 20px;

  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255,215,0,0.3);

  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  text-align: center;
}

/* Heading */
.contact-container h2 {
  color: gold;
  margin-bottom: 40px;
  font-size: 50px;
  text-shadow: 0 0 12px rgba(255,215,0,0.6);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.4);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 15px;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: gold;
  box-shadow: 0 0 12px rgba(255,215,0,0.5);
}

/* Button */
.contact-form button {
  padding: 18px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(45deg, gold, #d4af37);
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s ease;
  width: 5cm;
  align-self: center;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,215,0,0.6);
}

/* Dropdown Styling */
.contact-form select {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.4);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 15px;
  outline: none;
  transition: 0.3s ease;
  appearance: none;
}

.contact-form select:focus {
  border-color: gold;
  box-shadow: 0 0 12px rgba(255,215,0,0.5);
}

/* Phone Wrapper */
.phone-wrapper {
  display: flex;
  gap: 10px;
}

.phone-wrapper select {
  width: 35%;
  cursor: pointer;
}

.phone-wrapper input {
  width: 65%;
}

.custom-country {
  position: relative;
  width: 35%;
  cursor: pointer;
}

.selected-country {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.4);
  background: rgba(0,0,0,0.5);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.4s ease;
}

.selected-country:hover {
  border-color: gold;
  box-shadow: 0 0 12px rgba(255,215,0,0.5);
}

.country-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;

  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,215,0,0.4);
  border-radius: 10px;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: 0.4s ease;
  z-index: 100;
}

.country-options.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.country-option {
  padding: 10px 14px;
  color: white;
  transition: 0.3s ease;
}

.country-option:hover {
  background: rgba(255,215,0,0.2);
}

@media (max-width: 600px){

  .contact-section {
    padding: 0 35px; /* 👈 side breathing space */
  }

  .contact-container {
    width: 100%;
    max-width: 100%;
    padding: 25px 18px; /* 👈 reduce but keep spacing */
    border-radius: 15px;
  }

  .contact-container h2 {
    font-size: 28px; /* 👈 scale heading */
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 12px;
    padding: 12px;
  }

  .contact-form button {
    width: 100%;          /* 👈 full width button */
    max-width: 150px;     /* 👈 prevents over-stretch */
  }

  .phone-wrapper {
    flex-direction: column;
    gap: 12px; /* 👈 add spacing */
  }

  .custom-country,
  .phone-wrapper input {
    width: 70%;
  }

}
/* =========================
   SOCIAL SECTION
========================= */

.blurbg {
  backdrop-filter: blur(20px);
  padding: 15px;
  border-radius: 15px;
}

/* Scroll Fade In */
.contact-container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.contact-container.visible{
  opacity: 1;
  transform: translateY(0);
}

.contact-socials.visible{
  opacity: 1;
  transform: translateY(0);
  background: #000000;
}

.contact-socials {
  width: 100%;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,215,0,0.3);
  text-align: center;
}

.social-intro {
  color: #f5e6a6;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Social Icons Container */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.4);

  background: rgba(0,0,0,0.6);
  color: gold;
  font-size: 20px;

  transition: all 0.4s ease;
}

/* Gold Ring */
.social-icons a::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid gold;
  opacity: 0;
  transition: all 0.4s ease;
  transform: scale(0.8);
}

.social-icons a:hover::after {
  opacity: 1;
  transform: scale(1);
}

.social-icons a:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255,215,0,0.6);
}

@media (max-width: 600px) {

  .contact-socials {
    padding: 25px 15px;  /* 👈 side spacing */
  }

  .contact-socials .social-intro {
    font-size: 13px;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto 20px auto; /* 👈 centered text block */
  }

  .social-icons {
    gap: 18px; /* 👈 tighter spacing */
  }

  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

}

/* =========================
   FOOTER
========================= */
.site-footer {
  text-align: center;
  background: #000;
  color: white;
  padding: 20px 0;
}
/* Fade In Animation */
.site-footer {
  text-align: center;
  background: #000;
  color: white;
  padding: 20px 0;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.site-footer.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   ABOUT PAGE
========================= */
.about-pg{
  padding-top: 150px;
}

.about-pg .about-image {
  position: relative;
  overflow: hidden;
}

.about-pg .about-slide {
  position: absolute;
  inset: 0;
}

/* =========================
   ABOUT RESPONSIVE FIX
========================= */

/* Tablet */
@media (max-width: 1100px) {

  .about-container {
    gap: 20px;
  }

  .about-title {
    font-size: 40px;
  }

  .about-content p {
    font-size: 15px;
  }

}

.about-content,
.about-image {
  flex: 1 1 0;     /* equal flex basis */
  min-width: 0;    /* 🔥 CRITICAL: allows shrinking */
}

/* Small tablets */
@media (max-width: 900px) {

  .about-container {
    flex-direction: column;
  }

  .about-content,
  .about-image {
    flex: 1 1 50%;
    min-width: 0;
  }

  .about-content {
    border-radius: 30px 30px 0 0;
  }

  .about-image {
    min-height: 350px;
    border-radius: 0 0 30px 30px;
  }

}

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

  .about-section {
    padding: 60px 0;
  }

  .about-content {
    padding: 30px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-content p {
    font-size: 14px;
  }

}
/* =========================
   MEDIA PAGES (NEWS)
========================= */

.media-hero {
  padding-top: 80px;
  text-align: center;
  color: gold;
}

.media-hero h1 {
  font-size: 50px;
  text-shadow: 0 0 15px rgba(255,215,0,0.6);
}

.news-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* News Cards */
.news-card {
  display: flex;
  gap: 30px;

  height: 260px; /* ✅ FIXED HEIGHT */

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 20px;

  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);

  transition: 0.4s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.8);
}

/* Image */
.news-card img {
  width: 40%;
  height: 100%; /* ✅ MATCH CARD HEIGHT */
  object-fit: cover; /* ✅ PREVENT STRETCHING */
}

/* Content */
.news-content {
  padding: 30px;
  color: #ddd;

  display: flex;              /* ✅ FLEX FOR CONTROL */
  flex-direction: column;
  justify-content: center;   /* ✅ VERTICAL ALIGN */
  overflow: hidden;          /* ✅ PREVENT OVERFLOW */
}

.news-content h3 {
  color: gold;
  margin-bottom: 15px;
}
/* =========================
   MEDIA PAGES (GALLERY)
========================= */

.gallery-section {
  padding: 0px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* =========================
   FEATURED VIDEO (LARGE)
========================= */

.gallery-card.featured {
  width: 92%;
  max-width: 1300px;

  display: flex;
  flex-direction: column;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 30px;

  padding: 3px;

  box-shadow: 0 25px 80px rgba(0,0,0,0.7);
}

.gallery-card.featured:hover {
  transform: none;
}

.gallery-card.featured .gallery-content {
  flex-shrink: 0;
  text-align: left;
}

.gallery-card.featured h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.gallery-card.featured p {
  font-size: 14px;
  line-height: 1.4;
}

.gallery-card.featured video {
  width: 100%;
  height: 75vh;            /* Cinematic scaling */
  min-height: 420px;       /* Prevents too small on short screens */
  max-height: 800px;       /* Prevents absurd stretching on huge monitors */
  object-fit: cover;

  border-radius: 30px;
  margin-bottom: 15px;
}

/* =========================
   GRID (SMALLER VIDEOS)
========================= */

.gallery-grid {
  width: 100%;
  max-width: 1100px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

/* Standard Cards */
.gallery-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 25px;

  padding: 2px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: 0.4s ease;

  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

.gallery-card video {
  width: 100%;
  height: 38vh;            /* Responsive scaling */
  min-height: 250px;
  max-height: 450px;
  object-fit: cover;

  border-radius: 25px;
  margin-bottom: 18px;
}

.gallery-content h3 {
  color: gold;
  margin-bottom: 10px;
}

.gallery-content p {
  color: #ccc;
  line-height: 1.6;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  padding: 30px 20px;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.4),
    transparent
  );

  color: gold;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .gallery-card.featured video {
    height: 55vh;
  }

  .gallery-card video {
    height: 32vh;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    width: 92%;
  }
}

 /* activate hover behavior on larger screens only */
@media (min-width: 992px) {

  /* Hide bottom description on laptops */
  .gallery-content {
    display: none;
  }

  .video-wrapper:hover .video-overlay {
    opacity: 1;
    transform: translateY(0);
  }

}

@media (max-width: 991px) {

  .video-overlay {
    display: none;
  }

}

/* =========================
   PROJECTS PAGE
========================= */

.project-modal{
  position: fixed !important;
  inset: 0;

  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);

  padding-top: 50px;
  display: flex;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;

  z-index: 9999;
  overflow-y: hidden;
}

.project-modal::before{
  content:"";
  position:absolute;
  inset:0;

  background-image: var(--modal-bg);

  background-size: cover;
  background-position: center;

  opacity:0.5;

  z-index:1;
}

.project-modal.active{
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  overflow-y: auto;
}

.project-modal.active .modal-img{
  opacity: 1;
}

.modal-container{
  width: 85%;
  max-width: 1200px;
  display: flex;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.modal-text{
  flex: 1;
  color: #ddd;
}

.modal-text h2{
  color: gold;
  font-size: 40px;
  margin-bottom: 20px;
}

.modal-text p{
  line-height: 1.8;
}

.modal-gallery{
  flex: 1;
  height: 90vh; /* 🔥 almost full screen */
  max-height: 700px;

  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
}

/* Pause animation trigger */
.modal-gallery:hover .modal-img{
  animation-play-state: paused;
}

/* Base image */
.modal-img{
  position: absolute;
  width: 300px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);

  opacity: 0;
  transition: all 1s ease;
}

/* ACTIVE (visible images) */
.modal-img.active{
  opacity: 1;
}

/* Vertical track */
.vertical-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scrollVertical 25s linear infinite;
  will-change: transform; /* 🔥 prevents layout bugs */
}

@keyframes scrollVertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* GOLD BORDER */
.vertical-img{
  width: 100%;
  max-width: 340px;

  border-radius: 18px;
  border: 1.5px solid rgb(173, 151, 21);

  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  cursor: pointer;
}

/* smooth infinite scroll */
@keyframes scrollVertical{
  from{
    transform: translateY(0);
  }
  to{
    transform: translateY(-50%);
  }
}

/* Pause on hover */
.modal-gallery:hover .vertical-track{
  animation-play-state: paused;
}

/* Images */
.vertical-img{
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* Smooth vertical scroll */
@keyframes scrollVertical{
  from{
    transform: translateY(0);
  }
  to{
    transform: translateY(-50%);
  }
}

.image-viewer{
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.95);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;

  z-index: 3000;
}

.image-viewer.active{
  opacity: 1;
  pointer-events: auto;
}

#viewerImage{
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

/* CLOSE BUTTON */
.viewer-close{
  position: absolute;
  top: 20px;
  right: 30px;

  font-size: 40px;
  color: gold;
  cursor: pointer;
}

/* NAV BUTTONS */
.viewer-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  font-size: 40px;
  color: gold;
  background: none;
  border: none;
  cursor: pointer;
}

.viewer-btn.prev{
  left: 30px;
}

.viewer-btn.next{
  right: 30px;
}

/* =========================
   BROCHURE CIRCLE
========================= */

.brochure-circle{
  position: relative;

  width: 160px;
  height: 160px;

  border-radius: 50%;
  overflow: hidden;

  display: block;

  margin-top: 40px;

  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  cursor: pointer;
}

/* brochure preview */

.brochure-preview{
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 70%;
  overflow: hidden;
}

.brochure-preview iframe{
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

/* download label */

.brochure-label{
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 30%;

  background: gold;
  color: black;

  font-size: 12px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  line-height: 1.1;
}

.modal-close{
  position: absolute;
  top: 20px;
  right: 0px;

  font-size: 32px;
  color: gold;
  cursor: pointer;
}

