/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*=============== CSS VARIABLES ===============*/
:root {
  /* Colors - UPDATED PALETTE */
  --primary-color: #0A2C82;
  --secondary-color: #FFFFFF;
  --accent-color: #F9F9F9;
  --text-primary: #333333;
  --text-secondary: #808080; /* CHANGED as requested */
  --highlight-color: #1C3FAA;
  --dark-bg-color: #2c2c2c; /* NEW dark gray for backgrounds */

  /* Typography */
  --font-family: 'Poppins', sans-serif;
  --h1-size: 48px;
  --h2-size: 36px;
  --h3-size: 20px;
  --normal-font-size: 16px;
  --small-font-size: 14px;
  --line-height: 1.6;

  /* Layout */
  --header-height: 80px;
  --container-width: 1200px;
  --section-padding: 100px;
}

/*=============== BASE STYLES ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--normal-font-size);
  color: var(--text-primary);
  background-color: var(--secondary-color);
  line-height: var(--line-height);
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--text-primary);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.section {
  padding: var(--section-padding) 0;
}

.section__title {
  font-size: var(--h2-size);
  text-align: center;
  margin-bottom: 20px;
}

.section__subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 60px;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: var(--highlight-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.button--header {
  padding: 10px 24px;
}

.button--outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button--outline:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.hero__slide.active .button--outline {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.hero__slide.active .button--outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.button--link {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary-color);
    font-weight: 600;
}
.button--link:hover {
    background: none;
    box-shadow: none;
    transform: none;
    color: var(--highlight-color);
}
.button--link i {
    vertical-align: middle;
    transition: transform 0.3s ease;
}
.button--link:hover i {
    transform: translateX(5px);
}

.button--full {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 18px;
}

/*=============== HEADER & NAVIGATION ===============*/
.header {
  width: 100%;
  background-color: var(--secondary-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .nav_logo removed: empty ruleset */

.nav__logo img {
  width: 80px;
  height: auto;
  display: block;
}


.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: var(--normal-font-size);
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.nav__link:hover, .nav__link.active-link {
  color: var(--primary-color);
}

.nav__link:hover::after, .nav__link.active-link::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav__dropdown {
    position: relative;
}
.nav__dropdown-menu {
    display: none;
    position: absolute;
    top: 150%;
    left: -20px;
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 240px;
    opacity: 0;
    transition: opacity 0.3s, top 0.3s;
}
.nav__dropdown:hover .nav__dropdown-menu {
    display: block;
    opacity: 1;
    top: 100%;
}
.nav__dropdown-link {
    display: block;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.nav__dropdown-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.nav__toggle, .nav__close {
  font-size: 24px;
  cursor: pointer;
  display: none;
}

/*=============== HERO SECTION ===============*/
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 249, 249, 0.8) 40%, rgba(255, 255, 255, 0) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hero__title {
  font-size: var(--h1-size);
  margin-bottom: 20px;
  max-width: 600px;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero__buttons {
  display: flex;
  gap: 20px;
}
.hero__slide .animate-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFade 0.8s ease-out forwards;
}
.hero__title.animate-up { animation-delay: 0.2s; }
.hero__subtitle.animate-up { animation-delay: 0.4s; }
.hero__buttons.animate-up { animation-delay: 0.6s; }

@keyframes slideUpFade {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.hero__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
}

.hero__dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero__dot.active {
    background-color: var(--primary-color);
}


/*=============== SERVICES SECTION ===============*/
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.service-card {
    background-color: var(--secondary-color);
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.service-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}
.icon--blue { background-color: #e6f0ff; color: var(--primary-color); }
.icon--gray { background-color: #f0f0f0; color: var(--text-primary); }

.service-card__title {
    font-size: var(--h3-size);
    margin-bottom: 15px;
}
.service-card__text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}
.service-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-card__list i {
    color: var(--primary-color);
    font-size: 20px;
}

/*=============== STATS SECTION - UPDATED ===============*/
.stats {
    background-color: var(--dark-bg-color); /* CHANGED */
    padding: 80px 0;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat__number {
    font-size: var(--h1-size);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}
.stat__number::after {
    content: '+';
    font-size: 32px;
}
.stats__grid .stat__item:nth-child(2) .stat__number::after,
.stats__grid .stat__item:nth-child(3) .stat__number::after {
    content: '%';
}
.stat__title {
    font-size: var(--normal-font-size);
    color: rgba(255,255,255,0.8);
}

/*=============== WHY CHOOSE US SECTION ===============*/
.choose__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.choose__item {
    padding: 30px;
}
.choose__icon {
    width: 70px;
    height: 70px;
    background-color: #e6f0ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    transition: transform 0.3s, background-color 0.3s;
}
.choose__item:hover .choose__icon {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1) rotate(10deg);
}
.choose__title {
    font-size: var(--h3-size);
    margin-bottom: 10px;
}
.choose__description {
    color: var(--text-secondary);
}

/*=============== RECENT PROJECTS SECTION - UPDATED ===============*/
.projects {
    background-color: #f0f0f0; /* Slightly darker than accent-color, or you can use a custom shade like #E0E0E0 */
}
.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.project-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.project-card__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.project-card__content {
    padding: 25px;
}
.project-card__title {
    font-size: var(--h3-size);
    margin-bottom: 5px;
}
.project-card__location {
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.projects__cta {
    text-align: center;
    margin-top: 60px;
}

/*=============== INQUIRY FORM SECTION - UPDATED ===============*/
.inquiry {
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%); /* CHANGED BACK TO BLUE */
    color: var(--secondary-color);
}
.inquiry__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.inquiry__title {
    font-size: var(--h2-size);
    color: var(--secondary-color); /* CHANGED BACK TO WHITE */
    margin-bottom: 15px;
}
.inquiry__subtitle {
    color: rgba(255,255,255,0.8); /* CHANGED BACK TO LIGHT WHITE */
    font-size: 18px;
}
.inquiry__form-wrapper {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.inquiry__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form__group--full {
    grid-column: 1 / -1;
}
.form__input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: var(--font-family);
    font-size: var(--normal-font-size);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 44, 130, 0.2);
}

/*=============== FOOTER - UPDATED ===============*/
.footer {
    background-color: var(--dark-bg-color); /* CHANGED */
    color: rgba(255,255,255,0.8);
    padding-top: var(--section-padding);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}
.footer__logo {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.footer__text {
    max-width: 300px;
    margin-bottom: 20px;
}
.footer__socials {
    display: flex;
    gap: 15px;
}
.footer__social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
    transition: background-color 0.3s, transform 0.3s;
}
.footer__social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}
.footer__title {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}
.footer__links, .footer__contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer__link {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s, padding-left 0.3s;
}
.footer__link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer__contact i {
    font-size: 20px;
}
.footer__bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer__bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--small-font-size);
}
.footer__bottom-container a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}
.footer__bottom-container a:hover {
    color: var(--secondary-color);
}

/*=============== WHATSAPP FLOAT ===============*/
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 99;
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--text-primary);
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/*=============== SCROLL ANIMATIONS ===============*/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/*=============== INTERIOR DESIGN SECTION ===============*/
.interior {
    background-color: var(--secondary-color);
}

.interior__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.interior__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section__title--left {
    font-size: var(--h2-size);
    text-align: left;
    margin-bottom: 20px;
}

.interior__description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Add this rule under the existing @media screen and (max-width: 992px) block */
@media screen and (max-width: 992px) {
    .interior__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .section__title--left {
        text-align: center;
    }
    .interior__content {
        text-align: center;
    }
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media screen and (max-width: 992px) {
    :root {
        --h1-size: 36px;
        --h2-size: 28px;
        --section-padding: 80px;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: var(--secondary-color);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        padding: 100px 40px;
        transition: right 0.4s;
    }
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .nav__toggle {
        display: block;
    }
    .nav__close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
    }
    .show-menu {
        right: 0;
    }

    .hero__overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 249, 249, 0.9) 60%, rgba(255, 255, 255, 0.1) 100%);
    }

    .services__grid, .choose__grid, .projects__grid {
        grid-template-columns: 1fr;
    }
    
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .inquiry__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .inquiry__content { margin-bottom: 40px; }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer__bottom-container {
        flex-direction: column;
        gap: 10px;
    }
}



@media screen and (max-width: 576px) {
    :root {
        --h1-size: 28px;
        --h2-size: 24px;
        --section-padding: 60px;
    }
    body { font-size: 15px; }
    
    .hero { min-height: 70vh; }
    .hero__content { padding-top: var(--header-height); }
    .hero__subtitle { font-size: 16px; }
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero__buttons .button {
        text-align: center;
    }

    .section__subtitle { font-size: 16px; margin-bottom: 40px; }
    
    .stats__grid {
        grid-template-columns: 1fr;
    }

    .inquiry__form {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* Force isolation from theme overrides */
.interior__gallery {
    margin-top: 3rem;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
    position: relative;
    padding: 10px 0;
}

/* Polaroid Card */
.interior__gallery .polaroid-card {
    background: #fff !important;
    padding: 12px !important;
    width: 240px !important;        /* FIXED SIZE */
    height: auto !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border-radius: 10px !important;
    transition: 0.3s ease !important;
    transform-origin: center !important;
    overflow: hidden !important;
}

/* Image protection from global CSS */
.interior__gallery .polaroid-card img {
    display: block !important;
    width: 100% !important;
    height: 180px !important;        /* FIXED HEIGHT */
    object-fit: cover !important;
    border-radius: 6px !important;
}

/* Tilt rotations */
.polaroid-card.card1 { transform: rotate(-6deg); }
.polaroid-card.card2 { transform: rotate(5deg); }
.polaroid-card.card3 { transform: rotate(-3deg); }
.polaroid-card.card4 { transform: rotate(6deg); }
.polaroid-card.card5 { transform: rotate(-4deg); }

/* Hover effect */
.polaroid-card:hover {
    transform: rotate(0deg) scale(1.05) !important;
    z-index: 10 !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25) !important;
}

/* Responsive fix — center nicely */
@media (max-width: 600px) {
    .interior__gallery .polaroid-card {
        width: 90% !important;
        height: auto !important;
    }
    .interior__gallery .polaroid-card img {
        height: 200px !important;
    }
}

