/* ==========================================================================
   CONTACT PAGE CSS – Aesthetic Interior
   Matches main site structure: dark luxury theme, starry background ready
   ========================================================================== */

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

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Georgia', serif;
  background: #000;
  color: #131212;
  line-height: 1.6;
}

/* Images fit perfectly */

/* Starry background – same as main site (add divs in HTML if needed) */
.stars, .stars2, .stars3 {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  z-index: -2;
  filter: blur(0.5px);
}

.stars {
  background-image: radial-gradient(circle at 20px 30px, #fff 1px, transparent 1px),
                    radial-gradient(circle at 80px 70px, #ddd 1px, transparent 1px);
  background-size: 150px 150px;
  opacity: 0.4;
  animation: drift 120s linear infinite;
}

.stars2 {
  background-image: radial-gradient(circle at 150px 100px, #fff 1.2px, transparent 1.2px),
                    radial-gradient(circle at 250px 180px, #eee 1.2px, transparent 1.2px);
  background-size: 220px 220px;
  opacity: 0.3;
  animation: drift 180s linear infinite reverse;
}

.stars3 {
  background-image: radial-gradient(circle at 300px 200px, #fff 1.5px, transparent 1.5px);
  background-size: 350px 350px;
  opacity: 0.2;
  animation: drift 240s linear infinite;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(100px, 100px); }
}

/* Hero Header – Poliform-inspired with luxurious starry/night aesthetic */
.hero-header{
  position: relative;
  height: 100vh;       /* FULL screen height */
  min-height: 100vh;   /* force full height */
  
  padding: 0;
}




/* Top Navigation Bar */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  z-index: -10;
  background: transparent;
  white-space: nowrap;
  
}

.logo-img {
  
  height: 10vh;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo a:hover .logo-img {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Nav Menu – Always on right, no cutoff on mobile */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  font-size: 1.1rem;
}

.nav-menu a {
  color: #ddd;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a:hover {
  color: #fff;
}

.hero-header {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;

  /* Hero background image – fills full screen */
  background-image: url("images/entire_home_renovation_a.png");
  background-repeat: no-repeat;
  background-attachment: fixed;     /* Optional: subtle parallax feel on scroll */
  animation: subtleShift 80s ease-in-out infinite;
}
/* Gentle position shift – makes edges feel less "cut off" */
@keyframes subtleShift {
  0%, 100% { background-position: center 100%; background-size: 105%; }
  20%      { background-position: center 10%; background-size: 108%; }
}

/* === Curtain / framing effect: dark soft sides like draped curtains === */
.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;                           /* above bg, below content/nav */
  pointer-events: none;

  background-image:
    /* Horizontal curtains: dark fade from sides toward center */
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.75) 0%,           /* strong left "curtain" */
      transparent 25%,                   /* fade to center */
      transparent 75%,
      rgba(0, 0, 0, 0.75) 100%          /* strong right "curtain" */
    ),
    /* Optional extra center focus (soft vignette) */
    radial-gradient(
      ellipse at 50% 50%,
      transparent 40%,
      rgba(0, 0, 0, 0.4) 80%
    );
}


/* === Larger / wider screens: reduce zoom + shift position to show more sides === */
@media (min-width: 1400px) {   /* start at ~large desktop */
  .hero-header {
    background-position: center 18%;   /* pulls image up a bit – try 12%–25% */
    /* OR use top priority if ceiling/details are important */
    /* background-position: center top; */
  }
}

@media (min-width: 1800px) {   /* ultrawide / very large monitors */
  .hero-header {
    background-size: 105% auto;     /* slight horizontal over-scale + auto height → less side crop */
    background-position: center 20%;  /* adjust % based on your image content */
    /* Alternative: background-position: 50% 20%; for more downward shift */
  }
}

@media (min-width: 2200px) and (min-aspect-ratio: 18/9) {  /* very ultrawide like 21:9+ */
  .hero-header {
    
    background-size: 110% auto;       /* more horizontal breathing room */
    background-position: center ;  /* fine-tune: smaller % = more top visible */
  }
}

/* Make sure overlay covers everything */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.65));
  z-index: 2;
  pointer-events: none;
}

/* Hero content stays centered */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 90%;
  max-width: 720px;
  color: white;
  text-align: center;
  pointer-events: auto;
}





/* Optional: slight zoom on hover for premium feel */

.hero-title{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(3rem, 10vw, 6rem); 
}



/* Description Wrapper – No video */
.description-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.description-box p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #eee;
}




/* Circular Text */
.circular-text {
  position: absolute;
  top: 10%;
  left: 5%;
  z-index: 3;
  width: 150px;
  height: 150px;
  animation: rotate-text 20s linear infinite;
  will-change: transform;
  transform-origin: center center;
}

.circular-text svg {
  width: 100%;
  height: 100%;
  fill: none;
}

.circular-text text {
  fill: #ddd;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  top: 100%;
  left: 95%;
  
}

@keyframes rotate-text {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero-header { min-height: 70vh; }

  .hero-content {
    
    left: 50%;
    transform: translate(-50%, -50%);
    
  
    text-align: center;
  }

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

  .description-wrapper { align-items: center; }

  .circular-text {
    top: 65%;
    left: 60%;
    transform: translateX(-50%);
  }
  .circular-text svg {
    width: 100%;
    height: 100%;
    fill: none;
  }

  .top-nav {
    padding: 3px 3%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu { gap: 1rem; flex-shrink: 0; }
  .nav-menu a { font-size: 0.8rem; }

  .top-nav::-webkit-scrollbar { display: none; }

  .logo-img { height: 80px; }

  
}

@media (max-width: 480px) {
  .nav-menu {
    flex-wrap: nowrap;
    justify-content: flex-end;       
    gap: 1rem;
                                                                                                                 
  }
  .nav-menu a {
      color: #ddd;
      text-decoration: none;
      font-size: 1.1rem;
      transition: color 0.3s;
    }
}

/* Floating Showcase Section */
/* ==========================================================================
   Floating Showcase Section – Layered & Floating Images
   ========================================================================== */

.floating-showcase {
  background: transparent;
  padding: 120px 0 220px;          /* Extra bottom space for overlap */
  position: relative;
  z-index: 1;
}

.showcase-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  color: #c00;
  text-align: center;
  margin-bottom: 1rem;
}

.showcase-subtitle {
  font-size: 1.3rem;
  color: #ddd;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.floating-images {
  position: relative;
  height: 1000px;                  /* Enough height for overlap & tilt */
  margin: 0 auto;
  max-width: 1600px;               /* Wider on large screens */
}

/* Base styles for all floating wrappers */
.floating-image-wrapper {
  position: absolute;
  width: 480px;
  height: 680px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  transition: all 0.6s ease;
  background: #111;
}

/* Left image – tilted left, slightly behind */
.floating-image-wrapper.left {
  left: 5%;
  top: 80px;
  transform: rotate(-7deg) scale(0.94);  /* Tilt + slight scale for depth */
  z-index: 1;
}

/* Center image – main focus, centered, slightly larger & forward */
.floating-image-wrapper.center {
  left: 50%;
  top: 40px;
  transform: translateX(-50%) scale(1.15);  /* Perfect center + bigger */
  z-index: 3;                            /* On top */
}

/* Right image – tilted right, slightly behind */
.floating-image-wrapper.right {
  right: 5%;
  top: 140px;
  transform: rotate(7deg) scale(0.94);
  z-index: 2;
}

/* Hover effect – lift & straighten any card */
.floating-image-wrapper:hover {
  transform: translateY(-40px) scale(1.18) rotate(0deg) !important;
  box-shadow: 0 50px 120px rgba(0,0,0,0.95);
  z-index: 4;
}

.floating-image-wrapper:hover .floating-image {
  transform: scale(1.2);
}

/* Image inside wrapper */
.floating-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

/* Caption – below image */
.floating-caption {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  color: #eee;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  transition: all 0.4s ease;
  pointer-events: none;
}

.floating-image-wrapper:hover .floating-caption {
  bottom: -50px;
  opacity: 0.95;
}

@media (max-width: 1200px) {
  .floating-images {
    height: 950px;
    max-width: 1100px;
  }

  .floating-image-wrapper {
    width: 400px;
    height: 560px;
  }

  .floating-image-wrapper.center {
    transform: scale(0.1);
  }

  .floating-image-wrapper.left {
    left: 3%;
    top: 40px;
    transform: rotate(-8deg) scale(0.94);
  }

  .floating-image-wrapper.right {
    right: 3%;
    top: 100px;
    transform: rotate(8deg) scale(0.94);
  }
}

@media (max-width: 900px) {
  .floating-images {
    height: 800px;
    max-width: 900px;
  }

  .floating-image-wrapper {
    width: 320px;
    height: 460px;
  }

  .floating-image-wrapper.center {
    transform: translateX(-50%) ;
    top: 30px;
  }

  .floating-image-wrapper.left {
    left: 2%;
    top: 40px;
    transform: rotate(-5deg) scale(0.94);
  }

  .floating-image-wrapper.right {
    right: 2%;
    top: 80px;
    transform: rotate(20deg) scale(0.94);
  }

  .floating-caption {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 600px) {
  .floating-showcase {
    padding: 80px 0 160px;
  }

  .floating-images {
    height: 700px;
  }

  .floating-image-wrapper {
    width: 280px;
    height: 400px;
  }

  .floating-image-wrapper.center {
    transform: translateX(-50%) scale(0.9);
  }

  .floating-image-wrapper.left {
    left: 1%;
    top: 70px;
    transform: rotate(-20deg) scale(0.88);
  }

  .floating-image-wrapper.right {
    right: 1%;
    top: 70px;
    transform: rotate(20deg) scale(0.88);
  }

  .floating-caption {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    bottom: -35px;
  }
}

/* Reviews Section */
.reviews-section {
  background: transparent;
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
}

.reviews-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #ddd;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-wrapper {
  background: transparent;
  backdrop-filter: none;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.9),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  max-width: 1100px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.review-card {
  background: rgba(30,30,30,0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.review-card:hover { transform: translateY(-8px); }

.review-stars {
  color: rgb(90, 2, 10);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 1.15rem;
  color: #969090;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-author {
  display: block;
  font-size: 1rem;
  color: rgb(48, 15, 101);
  font-style: italic;
}

.reviews-note {
  text-align: center;
  font-size: 1.1rem;
  color: #ccc;
}

.reviews-note a {
  color: rgb(90, 2, 10);
  text-decoration: none;
}

.reviews-note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .reviews-wrapper { padding: 2rem 1.5rem; }
  .reviews-grid { grid-template-columns: 1fr; gap: 2rem; }
  .review-card { padding: 1.8rem; }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

/* Contact Page Content (merged + cleaned) */
/* =========================================
   CONTACT PAGE – Layout Redesign (matches your HTML)
   Luxury dark / glass / premium spacing
   ========================================= */

/* page spacing */
.contact-page{
  padding: 120px 0 90px;
  background: transparent;
  position: relative;
  z-index: 2;
}

/* title + subtitle tune */
.page-title{
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: rgb(90, 2, 10);
  text-align: center;
  margin-bottom: 1.2rem;
  text-shadow: 0 12px 45px rgba(0,0,0,0.85);
}

.page-subtitle{
  font-size: 1.15rem;
  color: #bdbdbd;
  text-align: center;
  margin: 0 auto 3.6rem;
  max-width: 820px;
  line-height: 1.7;
}

/* ✅ MAIN GRID */
.contact-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: stretch;
  background: rgba(20,20,20,0.72);
  border-radius: 24px;
  padding: 2.2rem;
  backdrop-filter: blur(16px);
  box-shadow:
    0 26px 80px rgba(0,0,0,0.88),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

/* subtle glow */
.contact-grid::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(90,2,10,0.10), transparent 45%);
  pointer-events:none;
}

/* left side stack */
.contact-left{
  display:flex;
  flex-direction: column;
  gap: 1.6rem;
  position: relative;
  z-index: 1;
}

/* contact details card */
.contact-details{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.8rem 1.8rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}

.contact-details h3{
  font-size: 2rem;
  font-weight: 300;
  color: rgb(51, 22, 25);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.contact-details ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details li{
  color: #cfcfcf;
  font-size: 1.08rem;
  line-height: 1.55;
}

.contact-details strong{
  color:#9a9a9a;
  font-weight: 600;
}

.contact-details a{
  color:#dedede;
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: color .25s ease, border-color .25s ease;
}

.contact-details a:hover{
  color: rgb(90, 2, 10);
  border-color: rgba(90,2,10,0.6);
}

/* ✅ form card */
#contactForm{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.8rem;
  display:flex;
  flex-direction: column;
  gap: 1.05rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}

/* inputs */
#contactForm input,
#contactForm textarea{
  width:100%;
  background: rgba(0,0,0,0.48);
  color:#e8e8e8;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 1.05rem 1.15rem;
  font-size: 1.05rem;
  outline:none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .15s ease;
}

#contactForm textarea{
  min-height: 170px;
  resize: vertical;
  line-height: 1.6;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder{
  color: rgba(255,255,255,0.35);
}

#contactForm input:focus,
#contactForm textarea:focus{
  border-color: rgba(204,0,0,0.75);
  box-shadow: 0 0 18px rgba(204,0,0,0.32);
  transform: translateY(-1px);
}

/* button */
#contactForm button{
  margin-top: 0.25rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(48,15,101,0.85), rgba(90,2,10,0.75));
  color:#fff;
  font-size: 1.12rem;
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

#contactForm button:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.75);
  filter: brightness(1.06);
}

.contact-details a[href^="mailto:"] {
  color: #c00;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.contact-details a[href^="mailto:"]:hover {
  color: #fff;
}

.contact-details a[href^="mailto:"]::after {
  content: " (click to email)";
  font-size: 0.85rem;
  color: #aaa;
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-details a[href^="mailto:"]:hover::after {
  opacity: 1;
}

/* status text */
#formStatus{
  margin-top: -0.6rem;
  padding-left: 0.2rem;
  color:#cfcfcf;
  font-size: 1rem;
}

/* ✅ WhatsApp section styled like a luxury CTA */
.whatsapp-section{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.4rem 1.8rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}

.whatsapp-text{
  margin: 0 0 0.9rem;
  color:#bdbdbd;
  font-size: 1.05rem;
}

.whatsapp-btn{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  color:#eee;
  text-decoration:none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.whatsapp-btn img{
  width: 28px;
  height: 28px;
}

.whatsapp-btn:hover{
  background: rgba(116,0,170,0.28);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.65);
}

/* ✅ Map panel */
.contact-map{
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow:hidden;
  min-height: 100%;

  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 50px rgba(0,0,0,0.7);
}

/* map polish */
.contact-map iframe{
  width:100%;
  height:100%;
  min-height: 100%;
  border:0;
  filter: contrast(1.05) saturate(0.95) brightness(0.92);
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
    padding: 1.7rem;
  }

  .contact-map{
    height: 420px;   /* fixed height on stacked layout */
    min-height: 420px;
  }

  #contactForm textarea{
    min-height: 150px;
  }
}

@media (max-width: 520px){
  .contact-page{ padding: 90px 0 70px; }

  .contact-grid{
    border-radius: 20px;
    padding: 1.2rem;
  }

  .contact-details,
  #contactForm,
  .whatsapp-section{
    padding: 1.2rem;
    border-radius: 16px;
  }

  #contactForm input,
  #contactForm textarea{
    padding: 0.95rem 1rem;
    font-size: 1rem;
  }

  #contactForm button{
    padding: 1.05rem 1.1rem;
    border-radius: 14px;
  }
}
img {
    -webkit-touch-callout: none !important;   /* iOS Safari: disables long-press menu */
    touch-action: manipulation !important;    /* Improves touch, blocks unwanted drag/long-press tricks */
    user-select: none !important;             /* Prevents selection/copy (extra safety) */
}
