/* =========================================================
PRIYA PROPERTIES — PREMIUM REAL ESTATE WEBSITE (MASS EDITION)
========================================================= */

:root {
--green: #04140f;
--green-light: #0e3a2c;
--green-glow: #1f6b4f;
--gold: #b8860b;
--gold-light: #e8c15c;
--gold-glow: #ffdf80;
--copper: #a8551f;
--copper-light: #d97c3f;
--cream: #faf6ec;
--white: #ffffff;
--text: #22271f;
--muted: #6b6357;
--border: #e9dfc4;
--shadow: 0 20px 55px rgba(4, 20, 15, 0.15);
--shadow-gold: 0 12px 35px rgba(184, 134, 11, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: "DM Sans", sans-serif;
color: var(--text);
background: var(--cream);
overflow-x: hidden;
}

img {
max-width: 100%;
}

a {
text-decoration: none;
}

button {
font-family: inherit;
}

.hero {
min-height: 780px;
position: relative;
background:
linear-gradient(115deg,
rgba(4, 20, 15, .95),
rgba(14, 58, 44, .72),
rgba(4, 20, 15, .35)),
url("images/headerphoto.png");
background-size: cover;
background-position: center;
color: white;
border-bottom: 5px solid;
border-image: linear-gradient(90deg, var(--gold), var(--copper-light), var(--gold)) 1;
}

.navbar {
position: relative;
z-index: 20;
height: 108px;
padding: 0 7%;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid rgba(255,255,255,.15);
background: rgba(4,20,15,.25);
backdrop-filter: blur(6px);
}

.brand {
display: flex;
align-items: center;
gap: 16px;
color: white;
height: 100%;
}

.brand img {
width: 95px;
height: 95px;
object-fit: contain;
flex-shrink: 0;
display: block;
filter: drop-shadow(0 4px 10px rgba(0,0,0,.5));
}

.brand div {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 2px;
}

.brand span {
font-family: "Playfair Display", serif;
font-size: 30px;
font-weight: 800;
letter-spacing: 2px;
line-height: 1;
display: block;
}

.brand small {
font-family: "Playfair Display", serif;
color: var(--gold-glow);
font-size: 13px;
font-weight: 700;
letter-spacing: 4px;
line-height: 1;
text-transform: uppercase;
display: block;
}

.nav-links {
list-style: none;
display: flex;
align-items: center;
gap: 10px;
}

.nav-links a {
color: white;
padding: 10px 16px;
border-radius: 30px;
font-size: 14px;
font-weight: 600;
transition: .3s;
}

.nav-links a:hover {
color: var(--green);
background: linear-gradient(90deg, var(--gold), var(--gold-glow));
box-shadow: 0 6px 16px rgba(184,134,11,.4);
}

.nav-links .nav-contact {
border: 1px solid var(--gold);
color: var(--gold-glow);
}

.nav-links .nav-contact:hover {
background: linear-gradient(90deg, var(--copper), var(--copper-light));
color: white;
}

.menu-toggle {
display: none;
background: none;
border: 0;
color: white;
font-size: 28px;
cursor: pointer;
}

.hero-content {
position: relative;
z-index: 5;
max-width: 850px;
padding: 130px 7%;
}

.hero-tag {
display: inline-block;
color: var(--gold-glow);
font-size: 12px;
font-weight: 800;
letter-spacing: 3px;
margin-bottom: 22px;
padding: 6px 16px;
border: 1px solid var(--gold);
border-radius: 20px;
}

.hero h1 {
font-family: "Playfair Display", serif;
font-size: clamp(48px, 6vw, 78px);
line-height: 1.05;
font-weight: 800;
margin-bottom: 25px;
text-shadow: 0 4px 25px rgba(0,0,0,.4);
}

.hero h1 span {
background: linear-gradient(90deg, var(--gold-glow), var(--copper-light));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.hero-content > p {
max-width: 600px;
font-size: 18px;
line-height: 1.7;
color: rgba(255,255,255,.85);
}

.hero-buttons {
display: flex;
gap: 15px;
margin-top: 35px;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 14px 25px;
border-radius: 30px;
font-weight: 700;
transition: .3s;
}

.btn-gold {
background: linear-gradient(90deg, var(--gold), var(--copper-light));
color: white;
box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
background: linear-gradient(90deg, var(--gold-light), var(--gold-glow));
color: var(--green);
transform: translateY(-4px);
box-shadow: 0 18px 40px rgba(184,134,11,.45);
}

.btn-outline {
border: 1px solid rgba(255,255,255,.5);
color: white;
}

.btn-outline:hover {
border-color: var(--gold);
color: var(--gold-glow);
transform: translateY(-3px);
}

.hero-stats {
display: flex;
gap: 45px;
margin-top: 65px;
}

.hero-stats div {
display: flex;
flex-direction: column;
}

.hero-stats strong {
color: var(--gold-glow);
font-family: "Playfair Display", serif;
font-size: 30px;
}

.hero-stats span {
font-size: 12px;
color: rgba(255,255,255,.7);
text-transform: uppercase;
letter-spacing: 1px;
}

section {
padding: 100px 7%;
}

.section-heading {
margin-bottom: 55px;
}

.section-heading > span {
color: var(--copper);
font-size: 12px;
font-weight: 800;
letter-spacing: 3px;
}

.section-heading h2 {
font-family: "Playfair Display", serif;
color: var(--green);
font-size: clamp(36px, 4vw, 55px);
line-height: 1.15;
margin-top: 12px;
position: relative;
}

.section-heading.center h2::after {
margin-left: auto;
margin-right: auto;
}

.section-heading h2::after {
content: "";
display: block;
width: 80px;
height: 4px;
background: linear-gradient(90deg, var(--gold), var(--copper-light));
margin-top: 15px;
border-radius: 2px;
}

.section-heading em {
color: var(--gold);
font-style: normal;
}

.section-heading p {
max-width: 600px;
margin: 18px auto 0;
color: var(--muted);
line-height: 1.7;
}

.center {
text-align: center;
}

.about-section {
background: #fff;
}

.about-grid {
max-width: 1200px;
margin: auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: center;
}

.about-image-wrap {
position: relative;
}

.about-image-wrap > img {
width: 100%;
border-radius: 24px;
display: block;
box-shadow: var(--shadow);
}

.experience-card {
position: absolute;
right: -25px;
bottom: 25px;
background: linear-gradient(135deg, var(--green), var(--green-glow));
color: white;
padding: 22px 30px;
border-radius: 15px;
box-shadow: 0 18px 40px rgba(0,0,0,.3);
border: 1px solid rgba(232,193,92,.3);
}

.experience-card strong {
display: block;
color: var(--gold-glow);
font-family: "Playfair Display", serif;
font-size: 25px;
}

.experience-card span {
font-size: 11px;
letter-spacing: 2px;
}

.about-lead {
font-family: "Playfair Display", serif;
color: var(--green);
font-size: 27px;
margin-bottom: 15px;
}

.about-content > p:not(.about-lead) {
color: var(--muted);
line-height: 1.8;
}

.about-features {
margin-top: 30px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}

.about-features div {
display: flex;
gap: 12px;
}

.about-features span {
width: 27px;
height: 27px;
flex-shrink: 0;
display: grid;
place-items: center;
border-radius: 50%;
background: linear-gradient(135deg, rgba(184,134,11,.2), rgba(168,85,31,.15));
color: var(--copper);
font-weight: 800;
}

.about-features p {
color: var(--muted);
font-size: 13px;
line-height: 1.5;
}

.about-features strong {
color: var(--green);
}

.text-button {
display: inline-block;
margin-top: 30px;
color: var(--green);
font-weight: 800;
border-bottom: 2px solid var(--gold);
padding-bottom: 5px;
transition: .3s;
}

.text-button:hover {
color: var(--copper);
border-color: var(--copper);
}

/* ================= GALLERY SECTION ================= */

.gallery-section {
background: #fff;
}

.gallery-tabs {
display: flex;
justify-content: center;
gap: 14px;
margin-bottom: 45px;
flex-wrap: wrap;
}

.gallery-tab {
border: 1px solid var(--border);
background: var(--cream);
color: var(--green);
padding: 13px 26px;
border-radius: 30px;
font-weight: 700;
font-size: 14px;
cursor: pointer;
transition: .3s;
}

.gallery-tab:hover {
border-color: var(--gold);
color: var(--copper);
}

.gallery-tab.active {
background: linear-gradient(90deg, var(--gold), var(--copper-light));
color: white;
border-color: transparent;
box-shadow: var(--shadow-gold);
}

.gallery-panel {
display: none;
}

.gallery-panel.active {
display: block;
animation: imageFade .4s ease;
}

.gallery-grid {
max-width: 1200px;
margin: auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.gallery-item {
border-radius: 16px;
overflow: hidden;
aspect-ratio: 4 / 3;
background: linear-gradient(135deg, #f2ead2, #e9dfc4);
border: 1px solid var(--border);
box-shadow: 0 8px 25px rgba(4,20,15,.08);
transition: .3s;
}

.gallery-item:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-gold);
border-color: var(--gold);
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
cursor: zoom-in;
}

/* If an image path is missing, keep the tile visible instead of a broken icon */
.gallery-item img::before {
content: "";
}

.properties-section {
background: linear-gradient(180deg, #f6f2e6, #f4f5f0);
}

.property-list {
max-width: 1250px;
margin: auto;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}

.property-card {
background: white;
border-radius: 20px;
overflow: hidden;
border: 1px solid var(--border);
box-shadow: 0 8px 30px rgba(4,20,15,.08);
transition: .35s;
}

.property-card:hover {
transform: translateY(-10px);
box-shadow: 0 28px 60px rgba(4,20,15,.2);
border-color: var(--gold);
}

.property-image {
height: 280px;
position: relative;
overflow: hidden;
background: #ddd;
}

.property-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: none;
cursor: zoom-in;
}

.property-image img.active {
display: block;
animation: imageFade .4s ease;
}

@keyframes imageFade {
from {
opacity: .4;
transform: scale(1.03);
}
to {
opacity: 1;
transform: scale(1);
}
}

.property-badge {
position: absolute;
left: 18px;
top: 18px;
background: linear-gradient(90deg, var(--gold), var(--copper-light));
color: white;
font-size: 10px;
font-weight: 800;
letter-spacing: 1px;
padding: 7px 12px;
border-radius: 20px;
box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
border-radius: 50%;
border: 1px solid rgba(255,255,255,.6);
background: rgba(4,20,15,.55);
color: white;
cursor: pointer;
transition: .3s;
z-index: 5;
}

.slider-btn:hover {
background: var(--gold);
color: var(--green);
}

.slider-btn.prev {
left: 15px;
}

.slider-btn.next {
right: 15px;
}

.view-photo {
position: absolute;
right: 15px;
bottom: 15px;
background: rgba(4,20,15,.65);
border: 1px solid rgba(255,255,255,.4);
color: white;
padding: 8px 13px;
border-radius: 20px;
font-size: 10px;
font-weight: 700;
cursor: pointer;
z-index: 5;
}

.property-content {
padding: 25px;
}

.property-title {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 15px;
}

.property-type {
color: var(--copper);
font-size: 10px;
font-weight: 800;
letter-spacing: 1.5px;
}

.property-title h3 {
font-family: "Playfair Display", serif;
color: var(--green);
font-size: 26px;
margin-top: 5px;
}

.verified {
color: #1f7a44;
font-size: 11px;
font-weight: 800;
white-space: nowrap;
}

.location {
color: var(--text);
font-size: 14px;
margin-top: 18px;
}

.nearby,
.road-base {
color: var(--muted);
font-size: 13px;
margin-top: 5px;
}

.property-details {
display: flex;
gap: 45px;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
margin-top: 20px;
padding: 18px 0;
}

.property-details div {
display: flex;
flex-direction: column;
}

.property-details span {
color: var(--muted);
font-size: 9px;
font-weight: 800;
letter-spacing: 1px;
}

.property-details strong {
color: var(--green);
font-size: 17px;
margin-top: 4px;
}

.property-details small {
color: var(--muted);
font-size: 10px;
}

.no-brokerage {
color: #1f7a44;
font-size: 12px;
font-weight: 700;
margin: 15px 0;
}

.property-button {
display: block;
text-align: center;
background: linear-gradient(90deg, var(--green), var(--green-light));
color: white;
padding: 13px;
border-radius: 10px;
font-weight: 700;
transition: .3s;
}

.property-button:hover {
background: linear-gradient(90deg, var(--gold), var(--copper-light));
color: white;
}

.property-video {
width: 100%;
line-height: 0;
background: #000;
}

.property-video video {
display: block;
max-height: 320px;
object-fit: cover;
}

.why-section {
background: white;
}

.why-grid {
max-width: 1100px;
margin: auto;
display: grid;
grid-template-columns: repeat(4,1fr);
gap: 20px;
}

.why-card {
padding: 35px 25px;
text-align: center;
border: 1px solid var(--border);
border-radius: 18px;
transition: .3s;
background: linear-gradient(180deg, #fff, #f9f4e8);
}

.why-card:hover {
transform: translateY(-8px);
border-color: var(--gold);
box-shadow: var(--shadow-gold);
}

.why-icon {
font-size: 35px;
margin-bottom: 18px;
width: 65px;
height: 65px;
line-height: 65px;
margin-left: auto;
margin-right: auto;
border-radius: 50%;
background: linear-gradient(135deg, rgba(184,134,11,.18), rgba(168,85,31,.1));
}

.why-card h3 {
color: var(--green);
font-family: "Playfair Display", serif;
margin-bottom: 10px;
}

.why-card p {
color: var(--muted);
font-size: 13px;
line-height: 1.6;
}

.testimonial-section {
background: linear-gradient(180deg, #f4f5f0, #f6f2e6);
}

.testimonial-list {
max-width: 1150px;
margin: auto;
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 25px;
}

.testimonial-card {
background: white;
padding: 30px;
border-radius: 18px;
box-shadow: 0 8px 25px rgba(4,20,15,.08);
border-left: 4px solid var(--gold);
transition: .3s;
}

.testimonial-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-gold);
border-left-color: var(--copper);
}

.stars {
color: var(--gold);
letter-spacing: 3px;
margin-bottom: 18px;
}

.testimonial-card > p {
color: var(--muted);
line-height: 1.8;
font-style: italic;
}

.customer {
display: flex;
align-items: center;
gap: 12px;
margin-top: 25px;
}

.customer-avatar {
width: 42px;
height: 42px;
border-radius: 50%;
background: linear-gradient(135deg, var(--green), var(--green-glow));
color: var(--gold-glow);
display: grid;
place-items: center;
font-weight: 800;
}

.customer strong {
display: block;
color: var(--green);
}

.customer span {
color: var(--muted);
font-size: 11px;
}

.faq-section {
background: white;
}

.faq-list {
max-width: 800px;
margin: auto;
}

.faq-item {
border-bottom: 1px solid var(--border);
}

.faq-question {
width: 100%;
border: 0;
background: none;
padding: 23px 5px;
display: flex;
justify-content: space-between;
text-align: left;
color: var(--green);
font-size: 16px;
font-weight: 700;
cursor: pointer;
transition: .3s;
}

.faq-question:hover {
color: var(--copper);
}

.faq-question span {
color: var(--gold);
font-size: 22px;
}

.faq-answer {
display: none;
padding: 0 5px 22px;
color: var(--muted);
line-height: 1.7;
}

.faq-item.open .faq-answer {
display: block;
}

.contact-section {
background: linear-gradient(135deg, #04140f, #0e3a2c, #04140f);
color: white;
position: relative;
}

.contact-section::before {
content: "";
position: absolute;
top: 0; left: 0; right: 0;
height: 4px;
background: linear-gradient(90deg, var(--gold), var(--copper-light), var(--gold));
}

.contact-container {
max-width: 1150px;
margin: auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: center;
}

.contact-intro > span {
color: var(--gold-glow);
font-size: 11px;
letter-spacing: 3px;
font-weight: 800;
}

.contact-intro h2 {
font-family: "Playfair Display", serif;
font-size: clamp(38px, 4vw, 55px);
line-height: 1.15;
margin-top: 15px;
}

.contact-intro h2 em {
color: var(--gold-glow);
font-style: normal;
}

.contact-intro > p {
color: rgba(255,255,255,.7);
line-height: 1.8;
max-width: 500px;
margin-top: 20px;
}

.contact-buttons {
display: flex;
gap: 12px;
margin-top: 30px;
}

.contact-call,
.contact-whatsapp {
padding: 13px 20px;
border-radius: 30px;
font-weight: 700;
transition: .3s;
}

.contact-call {
background: linear-gradient(90deg, var(--gold), var(--copper-light));
color: white;
}

.contact-call:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-gold);
}

.contact-whatsapp {
border: 1px solid rgba(255,255,255,.3);
color: white;
}

.contact-whatsapp:hover {
background: #25d366;
border-color: #25d366;
transform: translateY(-3px);
}

.contact-card {
background: rgba(255,255,255,.07);
border: 1px solid rgba(255,255,255,.15);
border-radius: 20px;
padding: 35px;
backdrop-filter: blur(10px);
}

.contact-row {
display: flex;
gap: 15px;
padding: 18px 0;
border-bottom: 1px solid rgba(255,255,255,.1);
align-items: flex-start;
}

.contact-row:last-of-type {
border-bottom: 0;
}

.contact-row > span {
font-size: 22px;
line-height: 1;
}

.contact-row small {
display: block;
color: var(--gold-glow);
font-size: 9px;
letter-spacing: 2px;
}

.contact-row strong {
display: block;
margin-top: 4px;
font-size: 14px;
color: white;
font-weight: 700;
line-height: 1.5;
}

.map-button {
display: block;
margin-top: 25px;
text-align: center;
padding: 13px;
border-radius: 10px;
background: white;
color: var(--green);
font-weight: 800;
transition: .3s;
}

.map-button:hover {
background: linear-gradient(90deg, var(--gold), var(--copper-light));
color: white;
}

footer {
background: #030f0b;
color: white;
padding: 35px 7% 20px;
border-top: 3px solid var(--gold);
}

.footer-main {
max-width: 1200px;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 25px;
flex-wrap: wrap;
gap: 20px;
}

.footer-brand {
display: flex;
align-items: center;
gap: 15px;
}

.footer-brand img {
width: 50px;
height: 50px;
object-fit: contain;
}

.footer-brand h3 {
font-family: "Playfair Display", serif;
color: var(--gold-glow);
}

.footer-brand p {
color: var(--gold-glow);
font-size: 11px;
}

.footer-links {
display: flex;
gap: 25px;
flex-wrap: wrap;
}

.footer-links a {
color: rgba(255,255,255,.7);
font-size: 13px;
transition: .3s;
}

.footer-links a:hover {
color: var(--gold-glow);
}

.footer-bottom {
max-width: 1200px;
margin: auto;
padding-top: 20px;
border-top: 1px solid rgba(255,255,255,.1);
display: flex;
justify-content: space-between;
color: rgba(255,255,255,.45);
font-size: 11px;
flex-wrap: wrap;
gap: 10px;
}

.lightbox {
position: fixed;
inset: 0;
background: rgba(2,10,7,.96);
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
}

.lightbox.active {
display: flex;
}

.lightbox img {
max-width: 88%;
max-height: 85%;
object-fit: contain;
border-radius: 10px;
box-shadow: 0 0 70px rgba(184,134,11,.35);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
position: absolute;
background: rgba(255,255,255,.1);
border: 1px solid rgba(255,255,255,.3);
color: white;
cursor: pointer;
border-radius: 50%;
transition: .3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
background: linear-gradient(90deg, var(--gold), var(--copper-light));
color: white;
border-color: var(--gold);
}

.lightbox-close {
top: 25px;
right: 30px;
width: 45px;
height: 45px;
font-size: 30px;
}

.lightbox-prev,
.lightbox-next {
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
font-size: 25px;
}

.lightbox-prev {
left: 25px;
}

.lightbox-next {
right: 25px;
}

.floating-buttons {
position: fixed;
right: 20px;
bottom: 20px;
z-index: 500;
display: flex;
flex-direction: column;
gap: 10px;
}

.floating-buttons a {
width: 52px;
height: 52px;
border-radius: 50%;
display: grid;
place-items: center;
color: white;
font-size: 22px;
box-shadow: 0 8px 20px rgba(0,0,0,.3);
transition: .3s;
}

.floating-buttons a:hover {
transform: scale(1.1);
}

.float-whatsapp {
background: #25d366;
animation: pulse 2s infinite;
}

@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.float-call {
background: linear-gradient(135deg, var(--green), var(--green-light));
border: 2px solid var(--gold);
}

@media (max-width: 900px) {

.navbar {
    padding: 0 5%;
}

.menu-toggle {
    display: block;
}

.nav-links {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--green);
    display: none;
    flex-direction: column;
    padding: 20px;
    gap: 5px;
    z-index: 30;
}

.nav-links.show {
    display: flex;
}

.nav-links a {
    display: block;
    width: 100%;
    text-align: center;
}

.hero-content {
    padding: 100px 5%;
}

.about-grid,
.contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
}

.property-list {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.why-grid {
    grid-template-columns: 1fr 1fr;
}

.testimonial-list {
    grid-template-columns: 1fr;
}

.gallery-grid {
    grid-template-columns: repeat(2, 1fr);
}

.footer-main,
.footer-bottom {
    flex-direction: column;
    text-align: center;
}
}

@media (max-width: 560px) {

.hero-stats {
    gap: 25px;
    flex-wrap: wrap;
}

.about-features {
    grid-template-columns: 1fr;
}

.why-grid {
    grid-template-columns: 1fr;
}

.gallery-grid {
    grid-template-columns: 1fr;
}

.property-image {
    height: 220px;
}
}