/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette - Inspired by PropClick Logo */
    /* Logo Colors: Red, Orange, Green, Blue */
    --primary-color: #1a1a1a; /* Deep Black */
    --primary-dark: #000000; /* Pure Black */
    
    /* Logo-Inspired Premium Colors */
    --logo-red: #DC143C; /* Premium Red - from logo left wall */
    --logo-orange: #FF6B35; /* Vibrant Orange - from logo roof */
    --logo-green: #2D8659; /* Rich Green - from logo right outline */
    --logo-blue: #2563EB; /* Trust Blue - from logo center/door */
    
    /* Refined Accent Colors */
    --accent-red: #E63946; /* Softer red for accents */
    --accent-orange: #FF8C42; /* Warm orange */
    --accent-green: #228B22; /* Forest green */
    --accent-blue: #1E40AF; /* Deep blue */
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, var(--logo-red) 0%, var(--logo-orange) 50%, var(--logo-green) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--logo-blue) 0%, var(--logo-green) 100%);
    --gradient-warm: linear-gradient(135deg, var(--logo-red) 0%, var(--logo-orange) 100%);
    --gradient-cool: linear-gradient(135deg, var(--logo-blue) 0%, var(--logo-green) 100%);
    --gradient-premium: linear-gradient(135deg, var(--logo-red) 0%, var(--logo-orange) 25%, var(--logo-green) 50%, var(--logo-blue) 100%);
    
    /* Text Colors */
    --text-dark: #1a1a1a; /* Charcoal */
    --text-light: #6b6b6b; /* Soft Gray */
    --text-luxury: #2c2c2c; /* Rich Dark */
    
    /* Background Colors */
    --bg-light: #fafafa; /* Off White */
    --bg-white: #ffffff; /* Pure White */
    --bg-cream: #f8f9fa; /* Light Cream */
    --bg-dark: #0a0a0a; /* Deep Black Background */
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    
    /* Border Colors */
    --border-color: #e8e8e8; /* Subtle Border */
    --border-accent: rgba(37, 99, 235, 0.2); /* Blue border accent */
    
    /* Shadows - Premium with color hints */
    --shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
    --shadow-red: 0 8px 24px -4px rgba(220, 20, 60, 0.25);
    --shadow-orange: 0 8px 24px -4px rgba(255, 107, 53, 0.25);
    --shadow-green: 0 8px 24px -4px rgba(45, 134, 89, 0.25);
    --shadow-blue: 0 8px 24px -4px rgba(37, 99, 235, 0.25);
    --shadow-premium: 0 20px 60px -12px rgba(37, 99, 235, 0.15), 0 8px 24px -4px rgba(220, 20, 60, 0.1);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-luxury);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid;
    border-image: var(--gradient-primary) 1;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 3px solid;
    border-image: var(--gradient-primary) 1;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    order: 1;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-direction: row;
}

.logo img {
    height: 50px;
    width: auto;
    min-width: 50px;
    max-width: 200px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    order: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    order: 2;
    justify-content: center;
}

.logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-transform: lowercase;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-tagline {
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--logo-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid transparent;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

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

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

.btn-primary:hover {
    background: var(--gradient-premium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-blue), var(--shadow-red);
    color: white;
    filter: brightness(1.05);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-luxury);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--logo-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: linear-gradient(white, white) padding-box,
                var(--gradient-primary) border-box;
    border: 2px solid transparent;
}

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

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Lead Modal */
.lead-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lead-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-luxury);
    position: relative;
    padding-bottom: 1rem;
}

.modal-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-light);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-premium), 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.fab:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-blue), var(--shadow-red);
    background: var(--gradient-premium);
    filter: brightness(1.1);
}

.fab:active {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f0f 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 1.5rem;
    margin-top: 6rem;
    border-top: 3px solid transparent;
    border-image: var(--gradient-primary) 1;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-premium);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.25rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.footer-section h3 {
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0 0 0.5rem 0;
    font-size: 0.9375rem;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li:last-child {
    margin-bottom: 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9375rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--logo-blue);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 6px;
    border: none;
    font-size: 0.9375rem;
    display: inline-block;
    width: fit-content;
}

.social-links a:hover {
    color: white;
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--logo-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .logo h2 {
        font-size: 1.5rem;
    }
    
    .logo-tagline {
        font-size: 0.6875rem;
        letter-spacing: 0.06em;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        gap: 0.2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .fab {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: left;
    }

    .social-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

