/* Custom CSS for Sunshine Premium Properties */

/* Fonts */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Colors */
    --sunshine: #f59e0b;
    --sunshine-light: #fbbf24;
    --sunshine-dark: #d97706;
    --navy: #1e293b;
    --navy-light: #334155;
    --charcoal: #334155;
    --cream: #fef9f3;
    --warm-white: #fef9f3;
    --primary: #f59e0b;
    --primary-foreground: #ffffff;
    --foreground: #1e293b;
    --muted: #64748b;
    --background: #ffffff;
    --card: #ffffff;
    --secondary: #f1f5f9;
    --border: #e2e8f0;
}

body {
    font-family: var(--font-body);
    color: var(--foreground);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Header Styles */
#mainHeader {
    background-color: #1a365d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img {
    height: 56px;
    filter: brightness(0) invert(1); /* Keep logo white on dark background */
}

/* Button Styles */
.btn-sunshine {
    background-color: var(--sunshine);
    color: var(--primary-foreground);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-sunshine:hover {
    background-color: var(--sunshine-dark);
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-dark {
    background-color: var(--navy);
    color: var(--warm-white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--navy-light);
    color: var(--warm-white);
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.3);
}

.btn-hero {
    background-color: var(--sunshine);
    color: var(--primary-foreground);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--sunshine-dark);
    color: var(--primary-foreground);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.btn-hero-outline {
    border: 2px solid var(--warm-white);
    color: var(--warm-white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background-color: var(--warm-white);
    color: var(--navy);
}

/* Section Padding */
.section-padding {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 2rem;
    }
}

/* Headings */
.heading-xl {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .heading-xl {
        font-size: 3rem;
    }
}

@media (min-width: 992px) {
    .heading-xl {
        font-size: 3.75rem;
    }
}

.heading-lg {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .heading-lg {
        font-size: 2.5rem;
    }
}

.heading-md {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .heading-md {
        font-size: 1.875rem;
    }
}

/* Text Utilities */
.text-sunshine {
    color: var(--sunshine) !important;
}

.text-warm-white {
    color: var(--warm-white) !important;
}

.text-warm-white-70 {
    color: rgba(254, 249, 243, 0.7) !important;
}

.text-warm-white-80 {
    color: rgba(254, 249, 243, 0.8) !important;
}

.text-warm-white-60 {
    color: rgba(254, 249, 243, 0.6) !important;
}

.text-primary-foreground {
    color: var(--primary-foreground) !important;
}

.text-primary-foreground-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-primary-foreground-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-foreground {
    color: var(--foreground) !important;
}

.text-muted {
    color: var(--muted) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--sunshine), var(--sunshine-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Colors */
.bg-navy {
    background-color: var(--navy) !important;
}

.bg-navy-light {
    background-color: var(--navy-light) !important;
}

.bg-navy-light-50 {
    background-color: rgba(51, 65, 85, 0.5) !important;
}

.bg-cream {
    background-color: var(--cream) !important;
}

.bg-background {
    background-color: var(--background) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-card {
    background-color: var(--card) !important;
}

.bg-primary-10 {
    background-color: rgba(245, 158, 11, 0.1) !important;
}

.bg-primary-20 {
    background-color: rgba(245, 158, 11, 0.2) !important;
}

.bg-navy-10 {
    background-color: rgba(30, 41, 59, 0.1) !important;
}

.bg-warm-white-10 {
    background-color: rgba(254, 249, 243, 0.1) !important;
}

/* Card Styles */
.card-elevated {
    background-color: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-elevated:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.shadow-elevated {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.shadow-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Hero Section */
.hero-section {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.7) 50%, rgba(30, 41, 59, 0.5) 100%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(30, 41, 59, 0.7) 50%, rgba(30, 41, 59, 0.6) 100%);
    z-index: 0;
}

.bg-gradient-overlay {
    background: linear-gradient(to right, rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.6), rgba(30, 41, 59, 0.4));
}

.bg-gradient-contact {
    background: linear-gradient(135deg, var(--navy), var(--navy), var(--charcoal));
}

.bg-gradient-to-top {
    background: linear-gradient(to top, rgba(30, 41, 59, 0.8), transparent);
}

.bg-gradient-community {
    background: linear-gradient(to top, var(--navy), rgba(30, 41, 59, 0.2), transparent);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), rgba(245, 158, 11, 0.8), rgba(245, 158, 11, 0.6));
}

/* Listing Image */
.listing-image {
    height: 256px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .listing-image {
    transform: scale(1.1);
}

/* Community Card */
.community-image {
    transition: transform 0.5s ease;
}

.community-card:hover .community-image {
    transform: scale(1.1);
}

.community-card:hover h3 {
    color: var(--sunshine) !important;
}

/* Scroll Indicator */
.scroll-indicator {
    width: 32px;
    height: 48px;
    border: 2px solid rgba(254, 249, 243, 0.3);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator::before {
    content: '';
    width: 6px;
    height: 12px;
    background-color: var(--sunshine);
    border-radius: 9999px;
    animation: pulse 2s infinite;
}

/* Social Links */
.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(254, 249, 243, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--sunshine);
    color: var(--navy);
}

/* Compliance Logo */
.compliance-logo {
    height: 48px;
    filter: brightness(0) invert(1);
}

/* Borders */
.border-warm-white-10 {
    border-color: rgba(254, 249, 243, 0.1) !important;
}

/* Hover Effects */
.hover-sunshine:hover {
    color: var(--sunshine) !important;
}

.hover-sunshine-bg:hover {
    background-color: var(--sunshine) !important;
    color: var(--navy) !important;
}

.hover-primary:hover {
    color: var(--primary) !important;
}

.hover-warm-white-20:hover {
    background-color: rgba(254, 249, 243, 0.2) !important;
}

/* Utilities */
.letter-spacing {
    letter-spacing: 0.05em;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.w-64 {
    width: 64px;
}

.h-64 {
    height: 64px;
}

.w-96 {
    width: 96px;
}

.h-96 {
    height: 96px;
}

.w-40 {
    width: 40px;
}

.h-40 {
    height: 40px;
}

.w-48 {
    width: 48px;
}

.h-48 {
    height: 48px;
}

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

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 3rem 1rem;
    }
    
    .heading-xl {
        font-size: 2rem;
    }
    
    .heading-lg {
        font-size: 1.75rem;
    }
}

/* Form Styles */
.form-control.bg-secondary {
    background-color: var(--secondary) !important;
    border: none;
}

.form-control.bg-secondary:focus {
    background-color: var(--secondary);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
}

/* Navbar */
.navbar-dark .navbar-nav .nav-link {
    color: var(--warm-white);
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--sunshine);
}


/* Not Italic */
.not-italic {
    font-style: normal;
}

/* Circle Utility */
.circle-50 {
    width: 50px;
    height: 50px;
}



