/* Custom CSS for Casa Palma Landing Page - Elegant Modern Style */

/* Font Configuration */
.font-ubuntu {
    font-family: 'Ubuntu', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Global Elegant Styles - Inspired by venue image */
body {
    background: linear-gradient(135deg, #f7f3e9 0%, #e8dcc6 50%, #d4c5a9 100%);
    color: #2d3748;
    font-family: 'Ubuntu', sans-serif;
    line-height: 1.6;
}

/* Elegant Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', serif;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #c8c9ca;
}

.elegant-title {
    font-family: 'Poppins', serif;
    font-weight: 200;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #2d3748;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #2563eb, #7c3aed);
}

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

/* Navbar Styles - Updated Color */
#navbar {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-transparent {
    background: transparent;
    border-bottom: 1px solid rgba(212, 197, 169, 0.2);
}

.navbar-scrolled {
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(212, 197, 169, 0.3);
    border-bottom: 1px solid rgba(184, 134, 89, 0.2);
}

/* Casa Palma text color change on scroll in day mode */
.navbar-scrolled .logo h2 {
    color: #AF9453 !important;
}

/* Ensure it only applies in day mode (not dark mode) */
html:not(.dark) .navbar-scrolled .logo h2 {
    color: #AF9453 !important;
}

/* Keep white color in dark mode */
html.dark .navbar-scrolled .logo h2 {
    color: white !important;
}

/* Navbar Animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#navbar {
    animation: slideDown 0.8s ease-out;
}

/* Navigation Links - Elegant */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    color: #4a5568;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #b8865a, #8b6914);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #b8865a;
}

/* CTA Button Styles - Elegant */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #AF9453, #8b6914, #4a90a4);
    border: none;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(175, 148, 83, 0.4);
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

.glow-effect {
    box-shadow: 0 0 30px rgba(175, 148, 83, 0.6);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(175, 148, 83, 0.5);
}

/* Hero Section */
.hero-title {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 1.5s both;
}

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

/* Gradient Text - Venue Inspired */
.gradient-text {
    background: linear-gradient(135deg, #AF9453, #8b6914, #4a90a4, #2c5f2d);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 300;
    letter-spacing: -0.02em;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Typewriter Effect - Venue Inspired */
.typewriter-text {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3s steps(20, end);
    font-weight: 300;
    color: #2d3748;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}



/* Service Cards - Venue Inspired */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    background: rgba(175, 175, 175, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 134, 90, 0.2);
    border-radius: 16px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #b8865a, #8b6914, #4a90a4, #2c5f2d);
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientRotate 4s ease-in-out infinite;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.08;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(184, 134, 90, 0.2);
    border-color: rgba(184, 134, 90, 0.3);
}

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Border Gradient Animation */
.border-gradient {
    position: relative;
    background: white;
    border-radius: 1rem;
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
    background-size: 400% 400%;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientRotate 3s linear infinite;
    z-index: -1;
}

.border-gradient:hover::before {
    opacity: 1;
}

/* Service Icon Animation */
.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

/* Gallery Filters - Venue Inspired */
.gallery-filter {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(247, 243, 233, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 134, 90, 0.3);
    color: #4a5568;
    font-weight: 500;
}

.gallery-filter.active {
    background: linear-gradient(45deg, #AF9453, #8b6914);
    color: white;
    box-shadow: 0 8px 25px rgba(175, 148, 83, 0.4);
    border-color: transparent;
}

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

.gallery-filter:hover::before {
    left: 100%;
}

/* Gallery Items */
.gallery-item {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-item img {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Testimonials Carousel - 3 testimonials layout */
.testimonials-carousel {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    padding: 0 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
    
    .testimonial-slide.active:not(:first-child) {
        display: none;
    }
}

.testimonial-prev,
.testimonial-next {
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-dot {
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-dot:hover {
    transform: scale(1.2);
}

/* Contact Form - Venue Inspired */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
    position: relative;
    background: rgba(247, 243, 233, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 134, 90, 0.3);
    color: #2d3748;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(184, 134, 90, 0.1), 0 0 25px rgba(184, 134, 90, 0.3);
    transform: translateY(-2px);
    border-color: #b8865a;
    outline: none;
}

/* Submit Button */
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #AF9453, #8b6914);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(175, 148, 83, 0.4);
}

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

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

/* Contact Icons */
.contact-icon {
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Social Icons */
.social-icon {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Back to Top Button - Venue Inspired */
#back-to-top {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #b8865a, #8b6914);
    border: none;
    color: white;
    backdrop-filter: blur(10px);
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(184, 134, 90, 0.5);
}

/* Lightbox */
#lightbox {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#lightbox.show {
    display: flex;
}

#lightbox img {
    animation: lightboxZoom 0.3s ease-out;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Parallax Effect */
.parallax {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

/* Loading Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Intersection Observer Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation Delays */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .typewriter-text {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .testimonial-prev,
    .testimonial-next {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* High Performance GPU Acceleration */
.service-card,
.gallery-item,
.cta-button,
.social-icon,
.contact-icon {
    will-change: transform;
    transform: translateZ(0);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}







/* Light Mode Styles */
body {
    background: linear-gradient(135deg, #f9fafb 0%, #AFAFAF 50%, #f9fafb 100%);
}

.navbar {
    background: rgba(249, 250, 251, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.logo h2 {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-card-professional h3 {
    font-weight: 600;
}

.service-card-professional p {
    font-weight: 400;
}

/* Custom Utilities - Venue Inspired */
.text-shadow {
    text-shadow: 2px 2px 8px rgba(184, 134, 90, 0.3);
}

.backdrop-blur {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.glass-effect {
    background: rgba(247, 243, 233, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(184, 134, 90, 0.3);
    box-shadow: 0 8px 32px rgba(184, 134, 90, 0.2);
}

/* Elegant Card Effect - Venue Inspired */
.elegant-card {
    background: rgba(247, 243, 233, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 134, 90, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(184, 134, 90, 0.15);
    transition: all 0.3s ease;
}

.elegant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(184, 134, 90, 0.25);
    border-color: rgba(184, 134, 90, 0.4);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

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

.pulse-animation {
    animation: pulse-effect 2s infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}

@keyframes pulse-effect {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Bounce Animation */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Contact Info Text Color */
.contact-info h4,
.contact-info p {
    color: white !important;
}

/* Custom styles for footer text to be white */
/* Custom styles for footer text to be white */
footer > div > div:first-child p.text-gray-600 {
    color: white !important;
}

footer h4.text-gray-800 {
    color: white !important;
}

footer ul.space-y-3 li a {
    color: white !important;
}


