/* JLGS Realty Custom Styles */

/* Logo Circular Style */
.logo-circular {
    border-radius: 50%;
    background: transparent;
    object-fit: contain;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.logo-hero {
    border-radius: 50%;
    background: transparent;
    object-fit: contain;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* Enhanced Hero Logo with Premium Glow */
.logo-hero-enhanced {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    object-fit: contain;
    padding: 10px;
    box-shadow: 
        0 0 40px rgba(212, 175, 55, 0.6),
        0 0 80px rgba(212, 175, 55, 0.4),
        0 0 120px rgba(212, 175, 55, 0.2),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    filter: brightness(1.1) contrast(1.05);
    transition: all 0.5s ease;
    position: relative;
    z-index: 20;
}

.logo-hero-enhanced:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 60px rgba(212, 175, 55, 0.8),
        0 0 100px rgba(212, 175, 55, 0.5),
        0 0 140px rgba(212, 175, 55, 0.3),
        inset 0 0 30px rgba(212, 175, 55, 0.2);
    filter: brightness(1.2) contrast(1.1);
}

/* Logo Glow Container - Premium Effect */
.logo-glow-container {
    position: relative;
    padding: 15px;
    display: inline-block;
}

@media (min-width: 768px) {
    .logo-glow-container {
        padding: 20px;
    }
}

.logo-glow-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: -1;
}

.logo-glow-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
    animation-delay: 1.5s;
    z-index: -2;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #facc15;
}

/* Navbar Scroll Effect */
#navbar {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.8);
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

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

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #D4AF37 0%, #facc15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

/* Button Glow Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::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-glow:hover::before {
    left: 100%;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Loading Animation */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #D4AF37;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Focus Effects */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

/* Success/Error Message Styles */
.message-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    animation: slideUp 0.5s ease-out;
}

.message-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    animation: slideUp 0.5s ease-out;
}

/* Section Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

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

/* Gold Gradient Border */
.gold-border {
    position: relative;
    background: linear-gradient(#000, #000) padding-box,
                linear-gradient(135deg, #D4AF37, #facc15) border-box;
    border: 2px solid transparent;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Image Overlay Effect */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

/* Stats Counter Animation */
.counter {
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
}
