/*
Theme Name: ddcostal
Theme URI: https://ddcoastalproperty.getfoundly.in/
Author: sounthar
Description: Your Trusted Property Partner on ECR & OMR
Version: 1.0.0
License: Private
*/

/* -------------------------------------------------------
 * 1. RESET & BASE
 * ----------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}


/* -------------------------------------------------------
 * 2. CSS VARIABLES
 * ----------------------------------------------------- */
:root {
    --navy:           #1A3C5E;
    --gold:           #C9A434;
    --blueprint-bg:   #0a2a4a;
    --blueprint-line: #4a9eff;
    --blueprint-grid: #1a4a7a;
    --blueprint-text: #8abfff;
    --border:         #e0e0e0;
    --gray-bg:        #f5f5f5;
    --wa-color:       #8abfff;
    --wa-color-dark:  #6ea8e8;
}


/* -------------------------------------------------------
 * 3. TYPOGRAPHY
 * ----------------------------------------------------- */
h1, .h1 { font-size: 70px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h2, .h2 { font-size: 50px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3, .h3 { font-size: 24px; font-weight: 700; }
body, p  { font-size: 16px; line-height: 1.6; }


/* -------------------------------------------------------
 * 4. LAYOUT UTILITIES
 * ----------------------------------------------------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
/*     padding: 0 20px; */
}
.hero-container {
    max-width: 1280px;
}

/* -------------------------------------------------------
 * 5. HEADER & NAV
 * ----------------------------------------------------- */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: rgba(10,42,74,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(74,158,255,0.3);
    transition: background 0.3s;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    font-family: 'Space Mono', monospace;
}
.logo h1 span { color: var(--blueprint-line); }

.logo p {
    font-size: 10px;
    color: var(--blueprint-text);
    letter-spacing: 1.5px;
    margin-top: 2px;
    font-family: 'Space Mono', monospace;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--blueprint-text);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    font-family: 'Space Mono', monospace;
}
.nav-links a:hover { color: var(--blueprint-line); }

.nav-wa {
    background: var(--wa-color) !important;
    color: #0a2a4a !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700 !important;
}
.nav-wa:hover {
    background: var(--wa-color-dark) !important;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}


/* -------------------------------------------------------
 * 6. HERO
 * ----------------------------------------------------- */
.hero {
    min-height: 700px;
    background:
        linear-gradient(135deg, rgba(10,43,78,0.85) 0%, rgba(26,60,94,0.75) 100%),
        url('https://images.pexels.com/photos/106399/pexels-photo-106399.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    max-width: 800px;
    color: white;
    animation: fadeInUp 1s ease;
}

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

.hero h1 {
    font-size: 70px;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Space Mono', monospace;
}

.hero .gold-text { color: var(--gold); }

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0rem;
    font-family: 'Space Mono', monospace;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-family: 'Space Mono', monospace;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    transition: all 0.3s;
}
.btn-primary:hover {
    background: #d4b844;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201,164,52,0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid white;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Space Mono', monospace;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: white;
    color: var(--navy);
    transform: translateY(-3px);
}


/* -------------------------------------------------------
 * 7. SECTIONS (shared)
 * ----------------------------------------------------- */
.section         { padding: 80px 0; background: white; }
.section-gray    { background: var(--gray-bg); }

.section-header  { text-align: center; margin-bottom: 50px; }
.section-header .label {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: block;
}
.section-header h2  { font-size: 50px; font-weight: 700; color: var(--navy); }
.section-header p   { color: #666; max-width: 600px; margin: 15px auto 0; font-size: 16px; }


/* -------------------------------------------------------
 * 8. ABOUT
 * ----------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h3            { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.about-text p             { color: #666; line-height: 1.7; margin-bottom: 20px; font-size: 16px; }

.about-info               { background: var(--gray-bg); padding: 30px; border-radius: 16px; }
.about-info p             { margin-bottom: 12px; font-size: 16px; color: #666; display: flex; align-items: center; gap: 10px; }
.about-info i             { color: var(--gold); width: 25px; margin-right: 10px; font-size: 18px; }


/* -------------------------------------------------------
 * 9. SERVICES
 * ----------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.service-img              { height: 200px; overflow: hidden; background: #e0e0e0; }
.service-img img          { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-img img { transform: scale(1.05); }

.service-content          { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-content h3       { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.service-content p        { color: #666; font-size: 16px; line-height: 1.5; margin-bottom: 1rem; flex: 1; }

.service-link {
    color: var(--blueprint-line);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}
.service-link:hover { color: var(--wa-color-dark); }


/* -------------------------------------------------------
 * 10. WHY CHOOSE US
 * ----------------------------------------------------- */
.excellence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.excellence-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.excellence-card:hover { transform: translateY(-5px); border-color: var(--gold); }

.excellence-number        { font-size: 48px; font-weight: 800; color: var(--gold); margin-bottom: 15px; }
.excellence-card h4       { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.excellence-card p        { color: #666; font-size: 16px; margin-bottom: 15px; }

.excellence-link          { color: var(--blueprint-line); text-decoration: none; font-size: 15px; font-weight: 700; }
.excellence-link:hover    { color: var(--wa-color-dark); }


/* -------------------------------------------------------
 * 11. PROPERTIES
 * ----------------------------------------------------- */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.property-img             { height: 200px; overflow: hidden; background: #d0d0d0; position: relative; }
.property-img img         { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.property-card:hover .property-img img { transform: scale(1.05); }

.property-badge           { position: absolute; top: 12px; right: 12px; padding: 0.3rem 1rem; border-radius: 40px; font-size: 0.7rem; font-weight: 700; z-index: 2; }
.property-badge.sale      { background: var(--gold); color: var(--navy); }
.property-badge.plot      { background: var(--blueprint-line); color: white; }
.property-badge.rent      { background: var(--navy); color: white; }

.property-card h3         { font-size: 20px; margin: 1rem 1.2rem 0.3rem; color: var(--navy); font-weight: 700; }
.property-location        { margin: 0 1.2rem; color: #666; font-size: 16px; display: flex; align-items: center; gap: 0.3rem; }
.property-desc            { margin: 0.6rem 1.2rem; color: #444; font-size: 16px; flex: 1; }

.property-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--wa-color);
    color: #0a2a4a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    margin: 0 1.2rem 1.2rem;
    width: fit-content;
    transition: all 0.2s;
}
.property-wa-btn:hover { background: var(--wa-color-dark); transform: scale(1.02); }


/* -------------------------------------------------------
 * 12. CONTACT
 * ----------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.contact-info h3                       { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }

.contact-detail                        { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact-detail i                      { width: 44px; height: 44px; background: var(--gray-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 20px; }
.contact-detail div p:first-child      { font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 2px; }
.contact-detail div p:last-child,
.contact-detail div a                  { color: #444; text-decoration: none; font-size: 16px; }
.contact-detail div a:hover            { color: var(--gold); }

.contact-map                           { border-radius: 20px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid var(--border); height: 100%; min-height: 380px; }
.contact-map iframe                    { width: 100%; height: 100%; min-height: 380px; border: none; display: block; }


/* -------------------------------------------------------
 * 13. FOOTER
 * ----------------------------------------------------- */
.footer { background: var(--navy); color: white; padding: 50px 0 20px; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4                  { font-size: 18px; margin-bottom: 20px; color: var(--gold); }
.footer-col p,
.footer-col a                   { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; display: block; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover             { color: var(--gold); }

.footer-bottom                  { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-bottom a                { color: var(--gold); text-decoration: none; }
.footer-bottom a:hover          { text-decoration: underline; }


/* -------------------------------------------------------
 * 14. WHATSAPP FLOAT
 * ----------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 25px; right: 25px;
    background: var(--wa-color);
    width: 55px; height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.whatsapp-float:hover { transform: scale(1.08); background: var(--wa-color-dark); }
.whatsapp-float i     { font-size: 30px; color: #0a2a4a; }


/* -------------------------------------------------------
 * 15. AOS OVERRIDES
 * ----------------------------------------------------- */
[data-aos]                          { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-aos].aos-animate              { opacity: 1; transform: translateY(0); }
[data-aos][data-aos-delay="100"]    { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"]    { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"]    { transition-delay: 0.3s; }
[data-aos][data-aos-delay="400"]    { transition-delay: 0.4s; }
[data-aos="fade-right"]             { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"]              { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }


/* -------------------------------------------------------
 * 16. RESPONSIVE
 * ----------------------------------------------------- */
@media (max-width: 992px) {
    .services-grid,
    .properties-grid,
    .excellence-grid,
    .footer-grid       { grid-template-columns: repeat(2, 1fr); }
    .about-grid,
    .contact-grid      { grid-template-columns: 1fr; }
    .hero h1           { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .mobile-menu       { display: block; }

    .nav-links {
        position: fixed;
        top: 70px; left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--blueprint-bg);
        flex-direction: column;
        padding: 40px;
        transition: left 0.3s;
        gap: 20px;
    }
    .nav-links.active  { left: 0; }

    .services-grid,
    .properties-grid,
    .excellence-grid   { grid-template-columns: 1fr; }

    .footer-grid       { grid-template-columns: 1fr; text-align: center; }

    .btn-group         { flex-direction: column; align-items: flex-start; }

    .contact-map,
    .contact-map iframe { min-height: 300px; }

    .hero h1           { font-size: 2rem !important; }
    .hero-subheadline  { font-size: 1.1rem; }
    .section-header h2 { font-size: 32px; }
}