/* ===============================
   GLOBAL RESET
================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #543e1f;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===============================
   TYPOGRAPHY
================================== */
h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

p {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* ===============================
   NAVIGATION
================================== */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.brand img {
  width: 50px;
}

/* Menu Button */
.menu-btn {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);

  width: 60px;
  height: 70px;
  border: none;
  cursor: pointer;
  background: #c9a34e;

  display: grid;
  place-items: center;

  z-index: 3000;
}

/* ===============================
   HERO
================================== */
.hero {
  padding-top: 150px;
  padding-bottom: 60px;
  position: relative;
  height: 100vh;
  /*background: url("../images/interior1.jpg") center/cover no-repeat; marcar*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/interior1.jpg") center/cover no-repeat;
  transition: transform 1s ease, filter 1s ease;
  z-index: 0;
}

.hero:hover::after {
  transform: scale(1.07);
  filter: sepia(25%) saturate(120%) brightness(105%) hue-rotate(-10deg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(55, 51, 51, 0.55);
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

.hero-logo {
  width: 280px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg,
      #f5e6b3 0%,
      #d4af37 25%,
      #b8962e 50%,
      #f5e6b3 75%,
      #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow:
    0 4px 8px rgba(125, 129, 128, 0.7),
    0 10px 25px rgba(214, 196, 196, 0.6),
    0 20px 50px rgba(231, 228, 228, 0.5);
}

.title {
  text-shadow:
    0 0 5px rgba(255, 215, 120, 0.8),
    0 0 20px rgba(212, 175, 55, 0.6),
    0 0 40px rgba(184, 134, 11, 0.5);
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* ===============================
   GENERAL SECTIONS
================================== */
section {
  padding: 100px 80px;
}

.section-light {
  background: #f4f4f4;
  color: #111;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid img {
  width: 100%;
  display: block;
}

.btn {
  background: #c9a34e;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  transition: 0.3s ease;
}

.btn:hover {
  opacity: 0.85;
}

/* ===============================
   FOOTER
================================== */

.footer {
  background: linear-gradient(135deg, #2b3035, #543e1f);
  color: #cfd2d6;
  padding: 70px 60px;
}

.footer-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

/* LEFT SIDE */

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 35px;
  min-width: 280px;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-icon {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: #e16a3b;
}

.footer-small {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 3px;
}

.footer-strong {
  font-weight: 700;
  color: #ffffff;
}

.footer-email {
  color: #e16a3b;
  font-weight: 700;
}

/* RIGHT SIDE */

.footer-right {
  max-width: 420px;
}

.footer-right h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-right p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.85;
}

/* SOCIAL ICONS */

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  width: 80px;
  height: 80px;
  background: rgba(227, 187, 27, 0.329);
  display: grid;
  place-items: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #c9a34e;
  transform: translateY(-3px);
}

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

@media (max-width: 768px) {

  .footer-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .footer {
    padding: 60px 30px;
  }
}


/* ===============================
   MENU OVERLAY (JS COMPATIBLE)
================================== */

body.no-scroll {
  overflow: hidden;
}

.menu-icon {
  width: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-icon span {
  height: 2px;
  width: 100%;
  background: #fff;
  display: block;
}

/* Overlay container */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(121, 110, 110, 0.85);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* When JS adds .is-open */
.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sliding panel */
.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(520px, 88vw);
  background: #81175c58;
  padding: 80px 70px;
  transform: translateX(100%);
  transition: transform 0.45s ease;
}

.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 56px;
  height: 56px;
  border: none;
  cursor: pointer;
  background: #c9a34e;
  display: grid;
  place-items: center;
}

.menu-close span {
  color: #fff;
  font-size: 32px;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu-link {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  text-decoration: none;
  color: #f2f2f2;
}

.menu-link.active {
  color: #c9a34e;
}

.menu-link:hover {
  opacity: 0.85;
}

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

@media (max-width: 992px) {
  section {
    padding: 80px 30px;
  }

  .navbar {
    padding: 20px 25px;
  }
}

@media (max-width: 600px) {
  .menu-panel {
    padding: 70px 32px;
  }

}

.menu-link {
  font-size: 46px;
}

.menu-close {
  top: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
}

/* ===============================
   ABOUT page
================================== */
.about-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 100vh;
}

/* LEFT SIDE GRID */
.about-left {
  display: grid;
  grid-template-rows: 65% 35%;
  grid-template-columns: 50% 50%;
}

.about-feature {
  grid-column: 1 / 3;
}

.about-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom Left Dark Block */
.about-info {
  background: #1a1a1a;
  color: #ffffff;
  padding: 40px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 2px;
  line-height: 1.8;
}

/* Bottom Right Accent Block */
.about-accent {
  background: #c9a34e;
  color: black;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-accent h3 {
  font-size: 2rem;
  margin: 0 0 10px 0;
}

/* RIGHT SIDE TYPOGRAPHY */
.about-right {
  background: #111111;
  color: #ffffff;
  padding: 120px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-right h1 {
  font-size: 5rem;
  line-height: 1.05;
  margin: 0;
}

.about-right .accent-text {
  color: #c9a34e;
}

.about-description {
  margin-top: 50px;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.9;
}

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

@media (max-width: 992px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-left {
    grid-template-rows: 400px 200px;
  }

  .about-right {
    padding: 80px 40px;
  }

  .about-right h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 600px) {
  .about-right h1 {
    font-size: 2.5rem;
  }

  .about-description {
    font-size: 0.95rem;
  }
}

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

.projects-section {
  background: #f1f1f1;
  padding: 120px 60px;
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
}

.projects-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  color: #2f3f34;
  /* architectural green */
  margin-bottom: 80px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #2f3f34;
}

.project-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.project-image {
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Subtle luxury hover */
.project-card:hover img {
  transform: scale(1.05);
}

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

@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-title {
    font-size: 3rem;
  }

  .projects-section {
    padding: 80px 30px;
  }
}

/* ===============================
   SERVICES PAGE
================================== */

.services-section {
  background: #f2f2f2;
  padding: 120px 60px;
}

.services-container {
  max-width: 1600px;
  margin: 0 auto;
}

.service-title {
  font-size: 7em;
  position: absolute;
  z-index: 0;
  right: 150px;
  top: 0.5px;
  color: #7a7a07;

  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 15px 40px rgba(0, 0, 0, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.service-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 25px;
  transition: transform 0.6s ease;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2f3f34;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Subtle luxury hover */
.service-card:hover img {
  transform: scale(1.05);
}

.services-bottom-text {
  margin-top: 100px;
}

.services-bottom-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: #2f3f34;
  line-height: 1.2;
}

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

@media (max-width: 1400px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-bottom-text h2 {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 80px 30px;
  }

  .services-bottom-text h2 {
    font-size: 2.2rem;
  }
}

/* ===============================
   GALLERY OVERLAY (LIGHTBOX) page services
================================== */

.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: grid;
  place-items: center;
  padding: 30px;
}

.gallery-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-figure {
  max-width: min(1100px, 92vw);
  max-height: min(720px, 82vh);
  display: grid;
  place-items: center;
}

.gallery-figure img {
  width: 100%;
  height: 100%;
  max-height: min(720px, 82vh);
  object-fit: contain;
  border-radius: 8px;
}

.gallery-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 54px;
  height: 54px;
  border: none;
  cursor: pointer;
  background: #c9a34e;
  display: grid;
  place-items: center;
}

.gallery-close i {
  font-size: 24px;
  color: #fff;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 70px;
  border: none;
  cursor: pointer;
  background: rgba(201, 163, 78, 0.9);
  display: grid;
  place-items: center;
}

.gallery-nav i {
  font-size: 26px;
  color: #fff;
}

.gallery-nav.prev {
  left: 24px;
}

.gallery-nav.next {
  right: 24px;
}

@media (max-width: 600px) {
  .gallery-nav.prev {
    left: 10px;
  }

  .gallery-nav.next {
    right: 10px;
  }

  .gallery-close {
    top: 14px;
    right: 14px;
  }
}

/* =========================
   CONTACT PAGE
========================= */

.contact-section{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    overflow:hidden;
    padding-left:8vw;
    font-family:'Playfair Display', serif;
    color:rgb(58, 5, 5);
}

/* Background Image */

.contact-section::before{
    content:"";
    position:absolute;
    inset:0;

    background:url("../images/houseBlueprint1.jpg") center/cover no-repeat;

    animation: blueprintZoom 20s ease-in-out infinite alternate;

    z-index:0;
}

/* Olive overlay */

.contact-section::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(138,148,131,0.35);
    z-index:1;
}

/* Content container */

.contact-content{
    position:relative;
    z-index:2;
    max-width:1200px;
    width:100%;
}

/* Title */

.contact-title{
    font-size:70px;
    font-weight:400;
    letter-spacing:2px;
    margin-bottom:40px;
}

.contact-title em{
    font-style:italic;
}

/* Layout Grid */

.contact-grid{
    display:grid;
    grid-template-columns:0.8fr 1.2fr;
    gap:30px;
}

/* Left Text */

.contact-text p{
    font-size:48px;
    line-height:1.2;
    max-width:320px;
}

/* =========================
   FORM PANEL
========================= */

.contact-form{
    font-family:Arial, sans-serif;

    background:rgba(71,102,50,0.35);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);

    padding:80px 80px;
    border-radius:6px;

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

    max-width:720px;
    width:100%;

    transition:transform .35s ease, box-shadow .35s ease;
}

.handwriting{
  font-family: 'Caveat', cursive;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgb(160, 92, 14);
}

label::after {
  content: "*";
  color: #532408;
  margin-left: 4px;
}

/* Hover lift effect */

.contact-form:hover{
    transform:translateY(-4px);
    box-shadow:0 25px 50px rgba(0,0,0,0.15);
}

/* Form rows */

.form-row{
    display:flex;
    gap:30px;
}

/* Form group */

.form-group{
    margin-bottom:28px;
    width:100%;
}

/* Labels */

.form-group label{
    font-size:25px;
    margin-bottom:8px;
    display:block;
}

/* Inputs */

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    border:none;
    border-bottom:1px solid rgba(255,255,255,0.7);
    background:transparent;

    color:rgb(126,42,6);

    padding:12px 0;
    font-size:17px;

    outline:none;

    transition:border-color .3s ease;
}

/* Input focus animation */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-bottom:2px solid rgb(68, 23, 4);
}

/* =========================
   BUDGET BUTTONS
========================= */

.budget-options{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.budget-btn{
    border:1px solid rgb(126,42,6);
    background:transparent;

    padding:8px 18px;

    border-radius:20px;

    color:rgb(126,42,6);
    cursor:pointer;

    font-size:15px;

    transition:.3s;
}

.budget-btn:hover,
.budget-btn.active{
    background:white;
    color:#6e7669;
}

/* =========================
   SUBMIT BUTTON
========================= */

.submit-btn{
    margin-top:40px;

    background:rgb(126,42,6);
    border:none;

    color:white;

    letter-spacing:3px;

    padding:16px 38px;

    font-size:25px;

    cursor:pointer;

    transition:all .25s ease;
}

.submit-btn:hover{
    background:#9b4a1c;
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,0.25);
}

/* =========================
   BACKGROUND ANIMATION
========================= */

@keyframes blueprintZoom{
    from{ transform:scale(1); }
    to{ transform:scale(1.05); }
}

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

@media(max-width:900px){

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

.contact-text p{
    font-size:32px;
}

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

}