/* ========================================
   Good Property Management — Custom Styles
   Charcoal + Coral | Vibrant Modern
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #141414;
    color: #e0e0e0;
    overflow-x: hidden;
}

::selection {
    background-color: #E85D4A;
    color: #fff;
}

/* ---------- Geometric Decorative Shapes ---------- */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(232, 93, 74, 0.08);
    border-radius: 50%;
    top: 15%;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(232, 93, 74, 0.04);
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(232, 93, 74, 0.05);
    top: 45%;
    left: 5%;
    transform: rotate(15deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-square {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(232, 93, 74, 0.06);
    top: 70%;
    right: 8%;
    transform: rotate(45deg);
    animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(232, 93, 74, 0.15) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 30%;
    left: 3%;
    animation: float-slow 25s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

/* ---------- Navbar ---------- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(232, 93, 74, 0.1);
}

#navbar.scrolled .nav-link {
    color: #bfbfbf;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E85D4A;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-line {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 6px;
    transform: rotate(-45deg) translate(3px, -3px);
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ---------- Hero ---------- */
.hero-eyebrow {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-headline {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.5s forwards;
}

.hero-subheadline {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.7s forwards;
}

.hero-ctas {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-stats {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 1.1s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-primary {
    box-shadow: 0 4px 20px rgba(232, 93, 74, 0.3);
}

.cta-primary:hover {
    box-shadow: 0 8px 40px rgba(232, 93, 74, 0.4);
}

.cta-secondary {
    backdrop-filter: blur(10px);
}

/* Scroll Indicator */
.scroll-indicator {
    opacity: 0;
    animation: fadeIn 0.8s 1.5s forwards;
}

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

.scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Section Styles ---------- */
.section-eyebrow {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease;
}

.section-title {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s 0.1s ease;
}

.section-subtitle {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s 0.2s ease;
}

.reveal-active .section-eyebrow,
.reveal-active .section-title,
.reveal-active .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Services ---------- */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.reveal-active .service-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal-active .service-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-active .service-card:nth-child(2) { transition-delay: 0.1s; }
.reveal-active .service-card:nth-child(3) { transition-delay: 0.15s; }
.reveal-active .service-card:nth-child(4) { transition-delay: 0.2s; }
.reveal-active .service-card:nth-child(5) { transition-delay: 0.25s; }
.reveal-active .service-card:nth-child(6) { transition-delay: 0.3s; }

.tag-chip {
    transition: background 0.2s ease, color 0.2s ease;
}

.service-card:hover .tag-chip {
    background: rgba(232, 93, 74, 0.15);
    color: #f8a18f;
}

/* ---------- About ---------- */
.about-img-main {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.reveal-active .about-img-main {
    opacity: 1;
    transform: translateX(0);
}

.reveal-active .about-content {
    opacity: 1;
    transform: translateX(0);
}

.about-float-card {
    animation: float-card 4s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.value-item {
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
}

.reveal-active .value-item {
    opacity: 1;
    transform: translateX(0);
}

.reveal-active .value-item:nth-child(1) { transition-delay: 0.3s; }
.reveal-active .value-item:nth-child(2) { transition-delay: 0.4s; }
.reveal-active .value-item:nth-child(3) { transition-delay: 0.5s; }
.reveal-active .value-item:nth-child(4) { transition-delay: 0.6s; }

/* ---------- Properties ---------- */
.property-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.reveal-active .property-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal-active .property-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-active .property-card:nth-child(2) { transition-delay: 0.15s; }
.reveal-active .property-card:nth-child(3) { transition-delay: 0.25s; }

.property-cta-btn {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.reveal-active .testimonial-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-active .testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-active .testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.reveal-active .testimonial-card:nth-child(3) { transition-delay: 0.25s; }

/* ---------- CTA Banner ---------- */
.cta-shape {
    position: absolute;
    pointer-events: none;
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -80px;
    left: -80px;
}

.cta-circle-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -40px;
    right: 10%;
}

.cta-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    top: 50%;
    right: -40px;
    transform: rotate(-30deg);
}

/* ---------- Contact Form ---------- */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(232, 93, 74, 0.15);
}

.form-submit-btn {
    position: relative;
    overflow: hidden;
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.form-submit-btn:hover::before {
    left: 100%;
}

/* ---------- Contact Items ---------- */
.contact-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.reveal-active .contact-item {
    opacity: 1;
    transform: translateX(0);
}

.reveal-active .contact-item:nth-child(1) { transition-delay: 0.2s; }
.reveal-active .contact-item:nth-child(2) { transition-delay: 0.3s; }
.reveal-active .contact-item:nth-child(3) { transition-delay: 0.4s; }

/* ---------- Footer ---------- */
.social-icon {
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:not(.visible) {
    transform: translateY(20px);
}

.back-to-top:hover {
    box-shadow: 0 8px 30px rgba(232, 93, 74, 0.4);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .geo-shape { display: none; }
    
    .hero-headline {
        font-size: 2.5rem !important;
    }
    
    .hero-stats {
        gap: 6px !important;
    }
    
    .hero-stat .font-serif {
        font-size: 2rem !important;
    }
    
    .section-title {
        font-size: 2.25rem !important;
    }
    
    .about-float-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .cta-shape { display: none; }
    
    #navbar .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem !important;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .cta-primary, .cta-secondary {
        text-align: center;
        justify-content: center;
    }
    
    .properties-grid {
        gap: 1.5rem !important;
    }
}
