/* ============================================
   Dreamhome Constructions - Main Stylesheet
   ============================================ */

/* ============ CSS VARIABLES ============ */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #c9a227;
    --accent-hover: #b8941f;
    --text-dark: #2d2d2d;
    --text-light: #666;
    --text-muted: #888;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --border: #dee2e6;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
    --radius-lg: 16px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.logo-text {
    color: var(--white);
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    position: relative;
    opacity: 0.9;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(22,33,62,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 24px;
    animation: fadeInUp 1s ease;
}

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

.hero-logo .logo-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin: 0 auto 16px;
}

.hero-logo h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 8px;
}

.hero-logo span {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-dark:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid #25d366;
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
}

.btn-brochure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.btn-brochure:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-view {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* ============ SCROLL DOWN INDICATOR ============ */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.7;
}

.scroll-down a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============ FEATURED PROJECTS ============ */
.projects-section {
    background: var(--off-white);
}

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

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,46,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 24px;
}

.project-type {
    display: inline-block;
    background: var(--light-gray);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.project-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.project-location i {
    color: var(--accent);
    margin-right: 6px;
}

.project-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============ SERVICES SECTION ============ */
.services-section {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============ ABOUT SECTION ============ */
.about-section {
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent);
    opacity: 0.05;
    border-radius: 50%;
}

.about-section .section-header h2,
.about-section .section-header p {
    color: var(--white);
}

.about-section .section-header h2::after {
    background: var(--accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
}

.experience-badge span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    opacity: 0.85;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item .counter {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
    display: block;
}

.stat-item span:last-child {
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ WHY CHOOSE US ============ */
.why-section {
    background: var(--off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.why-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-icon i {
    font-size: 1.3rem;
    color: var(--accent);
}

.why-card:hover .why-icon {
    background: var(--accent);
}

.why-card:hover .why-icon i {
    color: var(--white);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ ENQUIRY SECTION ============ */
.enquiry-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.enquiry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=80') center/cover;
    opacity: 0.1;
}

.enquiry-section .container {
    position: relative;
    z-index: 1;
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.enquiry-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.enquiry-info p {
    opacity: 0.85;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.enquiry-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.enquiry-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.enquiry-features li i {
    color: var(--accent);
    font-size: 1.2rem;
}

.enquiry-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}

.enquiry-form h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px;
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .icon i {
    color: var(--accent);
    font-size: 1.1rem;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============ SOCIAL SECTION ============ */
.social-section {
    background: var(--off-white);
    text-align: center;
    padding: 40px 0;
}

.social-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--primary);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-brand .social-links {
    justify-content: flex-start;
}

.footer-brand .social-links a {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-brand .social-links a:hover {
    background: var(--accent);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact p i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    opacity: 0.6;
    font-size: 0.85rem;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-hover);
    border: none;
    font-size: 1.1rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
}

/* ============ PAGE HEADER ============ */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 80px;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,46,0.75);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 12px;
}

.page-header-content p {
    font-size: 1.1rem;
    opacity: 0.85;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
}

.breadcrumb a {
    opacity: 0.7;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--accent);
}

.breadcrumb span {
    opacity: 0.5;
}

/* ============ PROJECTS PAGE ============ */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ============ PROJECT MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeInUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    z-index: 10;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent);
    color: var(--white);
}

.modal-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-gallery {
    padding: 30px;
    background: var(--off-white);
}

.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-thumbs img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--accent);
}

.modal-details {
    padding: 30px;
}

.modal-type {
    display: inline-block;
    background: var(--light-gray);
    color: var(--text-light);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modal-details h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.modal-location {
    color: var(--text-light);
    margin-bottom: 8px;
}

.modal-location i {
    color: var(--accent);
    margin-right: 6px;
}

.modal-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.modal-status .badge {
    display: inline-block;
    background: #27ae60;
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.modal-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.modal-section h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-section p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--off-white);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.amenity-tag i {
    color: var(--accent);
    font-size: 0.75rem;
}

.floor-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.floor-plan {
    text-align: center;
}

.floor-plan img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.floor-plan p {
    font-size: 0.85rem;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ============ SERVICES PAGE ============ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.service-features li i {
    color: var(--accent);
}

/* ============ ABOUT PAGE ============ */
.about-hero {
    background: var(--off-white);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-hero-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.value-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ CONTACT PAGE ============ */
.contact-page-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-page-form h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--off-white);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    background: var(--primary);
    color: var(--white);
}

.info-card:hover h4,
.info-card:hover p,
.info-card:hover a {
    color: var(--white);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.info-card p,
.info-card a {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============ NO PROJECTS ============ */
.no-projects {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-projects p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

/* ============ LOADING STATES ============ */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* ============ SELECTION ============ */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}


/* ============ ENQUIRY POPUP ============ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-content {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--off-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 10;
}

.popup-close:hover {
    background: var(--accent);
    color: var(--white);
}

.popup-header {
    text-align: center;
    padding: 40px 30px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.popup-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.popup-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.popup-header p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.popup-form {
    padding: 30px;
}

.popup-form .form-group {
    margin-bottom: 18px;
}

.popup-form .form-group:last-child {
    margin-bottom: 0;
}

.popup-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--off-white);
}

.popup-form input:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
    background: var(--white);
}

.popup-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Popup responsive */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 10px;
        align-items: flex-end;
    }

    .popup-content {
        max-height: 85vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        transform: translateY(100%);
    }

    .popup-overlay.active .popup-content {
        transform: translateY(0);
    }

    .popup-header {
        padding: 30px 20px 16px;
    }

    .popup-header h3 {
        font-size: 1.4rem;
    }

    .popup-form {
        padding: 20px;
    }
}


/* ============ MAP TABS ============ */
.contact-map-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.map-tab {
    flex: 1;
    padding: 14px 20px;
    background: var(--light-gray);
    color: var(--text-light);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-bottom: 3px solid transparent;
}

.map-tab:hover {
    background: var(--border);
    color: var(--text-dark);
}

.map-tab.active {
    background: var(--white);
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.contact-map-tabs + .contact-map {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ============ LOGO IMAGE ============ */
.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.navbar .logo-img {
    max-height: 45px;
}

.footer-brand .logo-img {
    max-height: 40px;
}

/* ============ VIEW ON MAP BUTTON ============ */
.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.btn-map:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-map i {
    color: var(--accent);
}

.btn-map:hover i {
    color: var(--white);
}

.logo-image {
    height: 50px;
    width: auto;
    transform: scale(3);
    transform-origin: right center;
    margin-top:20px;
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .logo-image {
        transform: scale(1.5);
        transform-origin:center;
        margin-left:20px;
    }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}