/* ========================================
   INAM REAL ESTATE - MASTER STYLESHEET
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0f2b4d;
    --secondary: #c5a059;
    --white: #ffffff;
    --black: #000000;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --whatsapp: #25D366;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-list a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--secondary);
}

.whatsapp-btn {
    background: var(--whatsapp);
    color: var(--white);
    padding: 10px 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 43, 77, 0.85), rgba(15, 43, 77, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn.primary {
    background: var(--whatsapp);
    color: var(--white);
}

.btn.primary:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn.secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border-radius: 4px;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--white);
    width: 35px;
    border-radius: 6px;
}

/* ========================================
   FEATURED PROPERTIES
   ======================================== */
.properties {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
}

.facebook-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    justify-items: center;
}

.fb-post-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--border);
}

.fb-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.property-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.fb-post-card:hover .property-img img {
    transform: scale(1.05);
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--whatsapp);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.property-info {
    padding: 25px;
}

.property-title {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.property-price {
    font-size: 26px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 15px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.property-location i {
    color: var(--secondary);
}

.property-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.property-features i {
    color: var(--secondary);
}

.property-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
}

.property-contact {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.contact-btn {
    flex: 1;
    background: var(--whatsapp);
    color: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contact-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.team-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--border);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.team-role {
    display: block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   FACEBOOK SECTION
   ======================================== */
.facebook-section {
    padding: 80px 0;
    background: var(--white);
}

.fb-container {
    display: flex;
    justify-content: center;
}

.fb-page {
    max-width: 100%;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.3s;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.6;
}

.contact-info strong {
    color: var(--primary);
}

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-whatsapp,
.btn-email {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-email {
    background: var(--primary);
    color: var(--white);
}

.btn-email:hover {
    background: #1a4d7a;
    transform: translateY(-2px);
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.btn-submit {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #b08d4b;
    transform: translateY(-2px);
}

.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: 1001;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav.show {
        max-height: 350px;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }


    .nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .facebook-posts-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .slider-btn {
        padding: 10px 15px;
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .properties,
    .why,
    .team-section,
    .facebook-section,
    .contact-page {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .facebook-posts-grid {
        grid-template-columns: 1fr;
    }

    .property-contact {
        flex-direction: column;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .site-footer {
        padding: 40px 0 20px;
    }

    .developer-btn {
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}

/* Developer Credit Button */
.developer-credit {
    text-align: center;
    padding-top: 20px;
}

.developer-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--secondary) 0%, #d4a553 100%);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(198, 147, 88, 0.3);
}

.developer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.developer-btn:hover::before {
    left: 100%;
}

.developer-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(198, 147, 88, 0.5);
    background: linear-gradient(135deg, #d4a553 0%, var(--secondary) 100%);
}

.dev-icon {
    font-size: 22px;
    animation: float 2s ease-in-out infinite;
}

.dev-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.dev-label {
    font-size: 11px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.dev-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dev-arrow {
    font-size: 20px;
    transition: transform 0.3s;
}

.developer-btn:hover .dev-arrow {
    transform: translateX(5px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}