/* ============================================================
   GET DHOLERA — Main Stylesheet
   ============================================================ */

:root {
    --primary: #1a5276;
    --primary-dark: #0e3650;
    --primary-light: #2980b9;
    --accent: #C8963E;
    --accent-dark: #B8862D;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --dark: #1a1a2e;
    --gray-900: #2d2d44;
    --gray-700: #555;
    --gray-500: #888;
    --gray-300: #ccc;
    --gray-100: #f5f6fa;
    --white: #fff;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-700); line-height: 1.7; background: var(--white); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* ---- Buttons ---- */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
    transition: var(--transition); text-align: center;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---- Section ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--dark); color: var(--white); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 2rem; color: var(--dark); margin-bottom: 12px; font-weight: 700; }
.section-dark .section-title h2 { color: var(--white); }
.section-title p { color: var(--gray-500); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-title .divider { width: 60px; height: 3px; background: var(--accent); margin: 16px auto 0; border-radius: 2px; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
    background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky; top: 0; z-index: 1000;
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 0; padding-bottom: 0; min-height: 72px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 45px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    padding: 8px 16px; color: var(--gray-700); font-weight: 500;
    font-size: 0.92rem; border-radius: var(--radius-sm);
}
.nav a:hover, .nav a.active { color: var(--primary); background: rgba(26,82,118,0.06); }
.nav .btn { margin-left: 8px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 6px 0; transition: var(--transition); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { font-weight: 600; color: var(--primary); font-size: 0.9rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white); padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 650px; }
.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat .label { font-size: 0.85rem; opacity: 0.7; margin-top: 4px; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; }
.project-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card-img {
    height: 220px; background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex; align-items: center; justify-content: center; color: var(--white);
    font-size: 3rem; position: relative;
}
.project-card-img img { width: 100%; height: 100%; object-fit: cover; }
.project-card-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--success); color: var(--white);
    padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.project-card-badge.upcoming { background: var(--warning); }
.project-card-badge.sold-out { background: var(--danger); }
.project-card-body { padding: 24px; }
.project-card-body h3 { font-size: 1.15rem; color: var(--dark); margin-bottom: 8px; font-weight: 700; }
.project-card-body .location { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.project-card-meta { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--gray-100); margin-top: 12px; }
.project-card-meta .meta-item { text-align: center; }
.project-card-meta .meta-label { font-size: 0.75rem; color: var(--gray-500); }
.project-card-meta .meta-value { font-size: 0.95rem; font-weight: 700; color: var(--primary); }
.project-card-footer { padding: 0 24px 24px; display: flex; gap: 12px; }

/* ============================================================
   FEATURES / WHY INVEST
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--white); border-radius: var(--radius); padding: 32px 24px;
    text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; font-weight: 600; }
.feature-card p { color: var(--gray-500); font-size: 0.9rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.testimonial-card {
    background: var(--white); border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow); position: relative;
}
.testimonial-card::before {
    content: '"'; position: absolute; top: 16px; right: 24px;
    font-size: 4rem; color: var(--primary); opacity: 0.1; font-family: Georgia, serif;
}
.testimonial-stars { color: var(--warning); margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-text { color: var(--gray-700); font-style: italic; margin-bottom: 20px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary-light); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.testimonial-name { font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.testimonial-designation { color: var(--gray-500); font-size: 0.82rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white); padding: 60px 0; text-align: center;
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 16px; font-weight: 700; }
.cta-banner p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ============================================================
   CONTACT / INQUIRY FORM
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--dark); font-size: 0.9rem; }
.form-control {
    width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font);
    transition: var(--transition); background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,82,118,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.inquiry-form-box {
    background: var(--white); border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow-lg);
}
.inquiry-form-box h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 4px; }
.inquiry-form-box p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 24px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.blog-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; background: var(--primary-light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-category { font-size: 0.78rem; font-weight: 600; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 8px; font-weight: 600; }
.blog-card-body p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 12px; }
.blog-card-date { color: var(--gray-500); font-size: 0.82rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq-question {
    padding: 20px 24px; font-weight: 600; color: var(--dark); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition); font-size: 0.95rem;
}
.faq-question:hover { color: var(--primary); }
.faq-question .arrow { transition: var(--transition); font-size: 1.2rem; color: var(--gray-500); }
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding-bottom: 20px; color: var(--gray-700); font-size: 0.92rem; }
.faq-item.active .faq-answer { max-height: 500px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item {
    border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3;
    background: var(--gray-100); position: relative; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-cards { display: grid; gap: 16px; }
.contact-info-card {
    background: var(--white); border-radius: var(--radius-sm); padding: 24px;
    display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow);
}
.contact-info-icon { font-size: 1.5rem; width: 50px; height: 50px; background: rgba(26,82,118,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card h4 { font-size: 0.85rem; color: var(--gray-500); font-weight: 500; }
.contact-info-card p { font-size: 0.95rem; color: var(--dark); font-weight: 600; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: 1.8rem; color: var(--dark); margin-bottom: 16px; font-weight: 700; }
.about-text p { margin-bottom: 16px; color: var(--gray-700); }
.about-image { border-radius: var(--radius); overflow: hidden; background: var(--primary-light); min-height: 350px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 4rem; }
.about-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.about-counter { text-align: center; padding: 24px; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.about-counter .count { font-size: 2rem; font-weight: 800; color: var(--primary); }
.about-counter .label { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.project-hero { background: var(--gray-100); padding: 40px 0; }
.project-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.project-detail-main {}
.project-detail-sidebar {}
.project-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.project-highlight {
    background: rgba(26,82,118,0.08); color: var(--primary); padding: 6px 14px;
    border-radius: 20px; font-size: 0.82rem; font-weight: 600;
}
.project-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.project-amenity { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--gray-700); }
.project-amenity::before { content: '✓'; color: var(--success); font-weight: 700; }

.project-price-card {
    background: var(--white); border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow-lg); position: sticky; top: 90px;
}
.project-price-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 16px; }
.project-price-card .price { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.project-price-card .price-unit { font-size: 0.85rem; color: var(--gray-500); font-weight: 400; }
.project-price-card .meta-list { margin: 20px 0; }
.project-price-card .meta-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.project-price-card .meta-row .label { color: var(--gray-500); }
.project-price-card .meta-row .value { font-weight: 600; color: var(--dark); }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
    padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px;
    font-size: 0.92rem; font-weight: 500;
}
.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash-info { background: #cce5ff; color: #004085; border: 1px solid #b8daff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; font-weight: 600; }
.footer-about p { font-size: 0.9rem; line-height: 1.8; }
.footer-links a { display: block; padding: 4px 0; color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 0.82rem; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; background: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3); color: var(--white);
    font-size: 1.6rem; transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs { padding: 16px 0; font-size: 0.85rem; color: var(--gray-500); }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs span { margin: 0 8px; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white); padding: 48px 0; text-align: center;
}
.page-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.page-header p { opacity: 0.8; font-size: 1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .project-detail-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .about-counters { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow-lg); gap: 4px; }
    .nav.active { display: flex; }
    .nav a { padding: 12px 16px; }
    .hamburger { display: block; }

    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; }

    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.6rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-counters { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}
