/* Homedwell Properties - Main Styles */

/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

/* Custom Colors */
.text-homedwell-cyan { color: #00bcd4; }
.bg-homedwell-cyan { background-color: #00bcd4; }
.hover\:bg-homedwell-cyan-dark:hover { background-color: #0097a7; }
.text-homedwell-dark { color: #1a202c; }
.bg-homedwell-dark { background-color: #1a202c; }
.hover\:bg-homedwell-dark-light:hover { background-color: #2d3748; }
.border-homedwell-cyan { border-color: #00bcd4; }
.ring-homedwell-cyan { --tw-ring-color: #00bcd4; }

/* Navigation Styles */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00bcd4;
}

.nav-link.active {
    color: #00bcd4;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #00bcd4;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-link-mobile {
    font-size: 1.3rem;
    color: #1a202c;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    transition: color 0.2s, font-weight 0.2s;
    letter-spacing: 0.04em;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link-mobile.active, 
.nav-link-mobile:hover {
    color: #00bcd4;
    font-weight: bold;
}

.mobile-menu-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-close {
    color: #374151;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #00bcd4;
}

.mobile-logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-logo {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #00bcd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-brand-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1a202c;
    line-height: 1;
}

.mobile-brand-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: #00bcd4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link-mobile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: #374151;
    background-color: white;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
    color: white;
    background-color: #00bcd4;
    transform: translateX(0.25rem);
}

.nav-link-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    border-radius: 0.75rem;
    font-weight: 700;
    margin-top: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 188, 212, 0.25);
}

.mobile-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 188, 212, 0.35);
}

/* Hero Section */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

.hero-glow {
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.3), 0 0 20px rgba(0, 188, 212, 0.2);
}

.hero-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes heroLight {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Modern Cards */
.modern-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #00bcd4;
}

.modern-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.modern-card:hover .modern-card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #00bcd4, #0097a7);
}

.modern-card:hover .modern-card-icon svg {
    color: white;
}

.modern-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.modern-card-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modern-card-link {
    color: #00bcd4;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-card-link:hover {
    color: #0097a7;
    text-decoration: underline;
}

.modern-card-link:hover span {
    transform: translateX(4px);
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.property-card-content {
    padding: 1.5rem;
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 2rem 1rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Animations */
.logo-container {
    transition: all 0.3s ease-in-out;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-image {
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.brand-text {
    animation: brandGlow 2s ease-in-out infinite alternate;
}

@keyframes brandGlow {
    from { text-shadow: 0 0 5px rgba(0, 188, 212, 0.3); }
    to { text-shadow: 0 0 15px rgba(0, 188, 212, 0.6); }
}

.brand-subtitle {
    animation: subtitleSlide 1.5s ease-in-out infinite alternate;
}

@keyframes subtitleSlide {
    from { transform: translateX(0px); }
    to { transform: translateX(5px); }
}

/* Form Styles */
.form-feedback {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-card {
        padding: 1.5rem;
    }
    
    .hero-glow h1 {
        font-size: 2.5rem;
    }
    
    .mobile-menu-container {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bg-gradient-homedwell {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Founder Profile Styles */
.founder-card {
    background: white;
    border-radius: 2rem;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.1);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
}

.founder-image-container {
    position: relative;
    padding: 2rem;
}

.founder-image {
    width: 300px;
    height: 400px;
    border-radius: 2rem;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.founder-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 188, 212, 0.2);
}

.founder-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-family: 'Lato', sans-serif;
    line-height: 1.2;
}

.founder-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00bcd4;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.founder-description {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.1rem;
}

.founder-description p {
    margin-bottom: 1.5rem;
}

.founder-quote {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.05), rgba(0, 151, 167, 0.05));
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.founder-quote p {
    position: relative;
    z-index: 1;
}

.founder-rera {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
}

.founder-rera:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.achievement-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 188, 212, 0.1);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 188, 212, 0.1);
    border-color: rgba(0, 188, 212, 0.3);
}

/* Responsive adjustments for founder section */
@media (max-width: 1024px) {
    .founder-card {
        padding: 2rem;
    }
    
    .founder-image {
        width: 250px;
        height: 350px;
    }
    
    .founder-name {
        font-size: 2rem;
    }
    
    .founder-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .founder-card {
        padding: 1.5rem;
    }
    
    .founder-image {
        width: 200px;
        height: 280px;
    }
    
    .achievement-card {
        padding: 1rem;
    }
    
    .founder-quote {
        padding: 1.5rem;
    }
}