/* Custom styles for SaccoShares */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Hero Section Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px !important;
        min-height: 60vh !important;
    }
    
    .hero-headline {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
        letter-spacing: -0.3px !important;
    }
    
    .hero-subheadline {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        letter-spacing: 0.1px !important;
    }
    
    .hero-badge {
        font-size: 0.8rem !important;
        padding: 0.75rem 1.5rem !important;
        letter-spacing: 0.3px !important;
    }
    
    .hero-cta-buttons {
        gap: 1rem !important;
    }
    
    .hero-btn {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        letter-spacing: 0.2px !important;
    }
    
    .social-proof-container {
        margin-bottom: 2rem !important;
    }
    
    .social-proof-container .d-flex img {
        width: 28px !important;
        height: 28px !important;
        margin-right: -6px !important;
    }
    
    .social-proof-container .fw-bold {
        font-size: 1rem !important;
        letter-spacing: 0.2px !important;
    }
    
    .social-proof-container .small {
        font-size: 0.8rem !important;
        letter-spacing: 0.1px !important;
    }
    
    .trust-indicators {
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .trust-indicators .d-flex {
        justify-content: center !important;
    }
    
    .trust-indicators .small {
        font-size: 0.8rem !important;
        letter-spacing: 0.1px !important;
    }
    
    .trust-indicators i {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 70px !important;
        min-height: 50vh !important;
    }
    
    .hero-headline {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        letter-spacing: -0.2px !important;
    }
    
    .hero-subheadline {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        letter-spacing: 0.05px !important;
    }
    
    .hero-badge {
        font-size: 0.75rem !important;
        padding: 0.5rem 1.25rem !important;
        letter-spacing: 0.2px !important;
    }
    
    .hero-btn {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.95rem !important;
        letter-spacing: 0.15px !important;
    }
    
    .hero-btn small {
        font-size: 0.7rem !important;
        letter-spacing: 0.05px !important;
    }
    
    .social-proof-container {
        margin-bottom: 1.5rem !important;
    }
    
    .social-proof-container .d-flex img {
        width: 26px !important;
        height: 26px !important;
        margin-right: -5px !important;
    }
    
    .social-proof-container .fw-bold {
        font-size: 0.95rem !important;
        letter-spacing: 0.15px !important;
    }
    
    .social-proof-container .small {
        font-size: 0.75rem !important;
        letter-spacing: 0.05px !important;
    }
    
    .trust-indicators {
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }
    
    .trust-indicators .small {
        font-size: 0.75rem !important;
        letter-spacing: 0.05px !important;
    }
    
    .trust-indicators i {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 65px !important;
    }
    
    .hero-headline {
        font-size: 1.75rem !important;
        letter-spacing: -0.1px !important;
    }
    
    .hero-subheadline {
        font-size: 0.9rem !important;
        letter-spacing: 0.02px !important;
    }
    
    .hero-badge {
        font-size: 0.7rem !important;
        padding: 0.5rem 1rem !important;
        letter-spacing: 0.15px !important;
    }
    
    .hero-btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.1px !important;
    }
    
    .hero-btn small {
        font-size: 0.65rem !important;
        letter-spacing: 0.02px !important;
    }
    
    .social-proof-container .d-flex img {
        width: 24px !important;
        height: 24px !important;
        margin-right: -4px !important;
    }
    
    .social-proof-container .fw-bold {
        font-size: 0.85rem !important;
        letter-spacing: 0.1px !important;
    }
    
    .social-proof-container .small {
        font-size: 0.7rem !important;
        letter-spacing: 0.02px !important;
    }
    
    .trust-indicators .small {
        font-size: 0.7rem !important;
        letter-spacing: 0.02px !important;
    }
    
    .trust-indicators i {
        font-size: 0.8rem !important;
    }
}

/* Enhanced Typography Styles */
.hero-headline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-subheadline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hero-badge {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
}

.hero-btn {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-transform: none;
}

.trust-indicators .small {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Text shadow enhancements for better readability */
.hero-headline .text-warning {
    text-shadow: 0 2px 15px rgba(255, 193, 7, 0.3), 0 0 30px rgba(255, 193, 7, 0.1);
}

.hero-subheadline .text-warning {
    text-shadow: 0 1px 5px rgba(255, 193, 7, 0.2);
}

/* Enhanced button typography */
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    letter-spacing: 0.4px !important;
}

/* Social proof typography enhancement */
.social-proof-container .fw-bold {
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Trust indicators typography enhancement */
.trust-indicators .small {
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Stats cards */
.stats-card {
    border-radius: 15px;
    overflow: hidden;
}

/* Social links hover */
.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0d6efd !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Card image placeholder */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Newsletter input styling */
.input-group .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Footer styling */
footer {
    margin-top: auto;
}

/* Navigation active state */
.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/error messages */
.alert {
    border-radius: 10px;
    border: none;
}

/* Form styling */
.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Modal styling */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    border-radius: 15px 15px 0 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 15px 15px;
}

/* Dropdown styling */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Price formatting */
.price {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Status indicators */
.status-available {
    color: #198754;
}

.status-pending {
    color: #fd7e14;
}

.status-sold {
    color: #6c757d;
}

/* Responsive grid adjustments */
@media (max-width: 992px) {
    .col-lg-4 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
} 