/* Saklı Bahçe Esenköy - İletişim Sayfası Özel Stilleri */

/* Global Overflow Fix */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Contact Hero Section */
.contact-hero {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(179, 69, 18, 0.1) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(75, 103, 88, 0.1) 100%
    );
    z-index: 1;
}

/* Hero Badge Animation */
.hero-badge {
    animation: heroFloat 3s ease-in-out infinite;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Floating Elements Animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float[style*="animation-delay: 2s"] {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.animate-float[style*="animation-delay: 4s"] {
    animation: float 6s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    33% {
        transform: translateY(-20px) scale(1.05);
    }
    66% {
        transform: translateY(10px) scale(0.95);
    }
}

/* Scroll Mouse Animation */
.scroll-mouse-contact {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(179, 69, 18, 0.6);
    border-radius: 15px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.scroll-wheel-contact {
    width: 4px;
    height: 8px;
    background: rgba(179, 69, 18, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelContact 2s infinite ease-in-out;
}

@keyframes scrollWheelContact {
    0%, 100% { 
        opacity: 0.4; 
        transform: translateX(-50%) translateY(0);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(12px);
    }
}

/* Contact Methods Cards */
.contact-method-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-method-card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

.contact-method-card .w-20 {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-method-card .w-20::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.contact-method-card:hover .w-20::after {
    width: 100%;
    height: 100%;
}

/* Contact Form Styling */
.contact-form-container {
    position: relative;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    color: #9ca3af;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 10;
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transform-origin: left center;
}

.form-input {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 5;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(179, 69, 18, 0.1);
    border-color: #b34512;
}

/* Floating Label States - Move to border when focused/filled */
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-label.focused,
.form-label.has-value {
    top: -0.75rem;
    left: 0.75rem;
    color: #b34512;
    font-weight: 600;
    background: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(179, 69, 18, 0.15);
    border: 1px solid rgba(179, 69, 18, 0.2);
    transform: scale(0.95);
}

/* Empty state - label inside input */
.form-input:placeholder-shown + .form-label:not(.focused):not(.has-value) {
    top: 1.25rem;
    left: 1rem;
    color: #9ca3af;
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-size: 0.95rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transform: scale(1);
}

/* Icon states - icons remain visible but change color */
.form-input:focus + .form-label i,
.form-input:not(:placeholder-shown) + .form-label i,
.form-label.focused i,
.form-label.has-value i {
    color: #b34512;
    transform: scale(1.1);
}

.form-label i {
    transition: all 0.3s ease;
    color: #9ca3af;
}

/* Textarea specific adjustments - same floating behavior */
textarea.form-input:focus + .form-label,
textarea.form-input:not(:placeholder-shown) + .form-label,
textarea + .form-label.focused,
textarea + .form-label.has-value {
    top: -0.75rem;
    left: 0.75rem;
    color: #b34512;
    font-weight: 600;
    background: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(179, 69, 18, 0.15);
    border: 1px solid rgba(179, 69, 18, 0.2);
    transform: scale(0.95);
}

/* Contact Stat Cards */
.contact-stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-stat-card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

.contact-stat-card .w-12 {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-stat-card .w-12::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.contact-stat-card:hover .w-12::after {
    width: 100%;
    height: 100%;
}

/* Form Validation States */
.form-input.error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.form-input.success {
    border-color: #22c55e;
    background-color: rgba(34, 197, 94, 0.05);
}

.form-error {
    animation: errorSlide 0.3s ease-out;
}

@keyframes errorSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit Button Effects */
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.submit-btn:hover {
    box-shadow: 0 20px 40px rgba(179, 69, 18, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Success Message Animation */
.success-message {
    animation: successSlide 0.5s ease-out;
}

@keyframes successSlide {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Conditional Fields Animation */
.reservation-field {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.reservation-field.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.reservation-field:not(.hidden) {
    max-height: 200px;
    opacity: 1;
    animation: fieldSlide 0.4s ease-out;
}

@keyframes fieldSlide {
    0% {
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        max-height: 200px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Stats Animation */
.contact-counter {
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-counter.counting {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(179, 69, 18, 0.3);
    animation: countBounce 0.6s ease-out;
}

@keyframes countBounce {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Location Cards */
.location-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

/* Business Info Cards */
.business-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

.business-card .w-20 {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.business-card .w-20::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.business-card:hover .w-20::after {
    width: 100%;
    height: 100%;
}

/* FAQ Section - Premium Card Design */
.faq-premium-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.faq-premium-card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

.faq-premium-card .w-16 {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faq-premium-card .w-16::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.faq-premium-card:hover .w-16::after {
    width: 100%;
    height: 100%;
}

/* More FAQs Initial State */
#moreFAQs {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    opacity: 1;
}

#moreFAQs.hidden {
    max-height: 0 !important;
    opacity: 0;
    transform: translateY(-20px);
}

/* Modern FAQ System */
.faq-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-item.active {
    border-color: rgba(179, 69, 18, 0.3);
    box-shadow: 0 8px 25px rgba(179, 69, 18, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.faq-header {
    transition: all 0.3s ease;
    position: relative;
}

.faq-header:hover {
    background: rgba(179, 69, 18, 0.03) !important;
}

.faq-content {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: max-height;
}

.faq-icon {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-icon i {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-icon {
    background: rgba(179, 69, 18, 0.15) !important;
    transform: scale(1.1);
}

.faq-item.active .faq-icon i {
    color: #b34512 !important;
    transform: rotate(45deg);
}

.faq-item.active .faq-header h4 {
    color: #b34512;
    font-weight: 600;
}

/* FAQ Animation */
@keyframes faqContentExpand {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-content > div {
    animation: faqContentExpand 0.4s ease-out 0.1s both;
}

/* FAQ Section Z-index */
.faq-section {
    position: relative;
    z-index: 1;
}

.faq-premium-card,
.faq-item {
    position: relative;
    z-index: 2;
}

/* Fixed elements z-index */
.fixed {
    z-index: 9999 !important;
}

/* Scroll to top button fix */
#scrollToTop {
    z-index: 10000 !important;
    position: fixed !important;
}

@keyframes faqSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Map Container */
.map-container iframe {
    transition: all 0.3s ease;
    filter: grayscale(0.2);
}

.map-container:hover iframe {
    filter: grayscale(0);
    transform: scale(1.02);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* Smooth Scroll Behavior */
.scroll-to {
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Button Shimmer Effects */
.group .absolute.inset-0 {
    transition: transform 1s ease;
}

/* Contact Page Specific Backgrounds */
.contact-methods-section,
.contact-form-section,
.location-section,
.business-info-section,
.faq-section {
    position: relative;
    overflow: hidden;
}

/* Real-time Status Indicator */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Mobile Responsive Enhancements */
@media (max-width: 1024px) {
    .contact-hero {
        background-attachment: scroll;
        min-height: 80vh;
    }
    
    .contact-methods-section .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-form-container {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-methods-section .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-section .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-section .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .business-info-section .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method-card,
    .business-card,
    .location-card {
        padding: 1.5rem;
    }
    
    .contact-form-container .bg-white\/90 {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 60vh;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-hero button,
    .contact-hero a {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-methods-section,
    .contact-form-section,
    .location-section,
    .business-info-section,
    .faq-section {
        padding: 3rem 0;
    }
    
    .contact-method-card,
    .business-card,
    .location-card {
        padding: 1rem;
    }
    
    .contact-method-card .w-20,
    .business-card .w-20 {
        width: 4rem;
        height: 4rem;
    }
    
    .contact-method-card h3,
    .business-card h3 {
        font-size: 1.125rem;
    }
    
    .contact-form-container .bg-white\/90 {
        padding: 1rem;
    }
    
    .form-input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .contact-hero {
        background: white;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .animate-on-scroll,
    .contact-method-card,
    .business-card,
    .location-card,
    .faq-item {
        opacity: 1;
        transform: none;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .absolute {
        display: none;
    }
    
    .contact-form-section {
        display: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .contact-method-card,
    .business-card,
    .location-card,
    .faq-item {
        border: 2px solid #000;
        background: #fff;
    }
    
    .form-input {
        border: 2px solid #000;
    }
    
    .submit-btn {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-on-scroll,
    .contact-counter,
    .scroll-wheel-contact,
    .hero-badge {
        animation: none;
        transition: none;
    }
    
    .contact-method-card:hover,
    .business-card:hover,
    .location-card:hover {
        transform: none;
    }
}

/* Focus Styles for Accessibility */
.form-input:focus,
.submit-btn:focus,
.faq-question:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Dark Mode Compatibility (if implemented) */
@media (prefers-color-scheme: dark) {
    .contact-method-card,
    .business-card,
    .location-card,
    .faq-item {
        background: rgba(30, 30, 30, 0.9);
        border-color: rgba(255, 255, 255, 0.1);
        color: #f5f5f5;
    }
    
    .form-input {
        background: rgba(30, 30, 30, 0.8);
        border-color: rgba(255, 255, 255, 0.2);
        color: #f5f5f5;
    }
    
    .text-gray-600 {
        color: #d1d1d1;
    }
    
    .text-gray-800 {
        color: #f5f5f5;
    }
}

/* Contact Page Loading Animation */
.contact-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.contact-loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.contact-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(179, 69, 18, 0.1);
    border-top: 3px solid #b34512;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 40;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-100%);
    opacity: 0;
    padding: 0.75rem 0;
}

.breadcrumb-nav.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: breadcrumbSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.breadcrumb-nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
    animation: fadeInScale 0.6s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
    transform: scale(0.8);
}

.breadcrumb-nav a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav a:hover {
    color: #2d5a27;
    background: rgba(45, 90, 39, 0.08);
    border-color: rgba(45, 90, 39, 0.15);
    transform: translateY(-1px);
    text-decoration: none;
}

.breadcrumb-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2d5a27, #8bab2f);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.breadcrumb-nav a:hover::after {
    width: 80%;
}

.breadcrumb-nav a i {
    margin-right: 0.375rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.breadcrumb-nav .text-primary {
    color: #2d5a27;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(139, 164, 47, 0.08) 100%);
    border: 1px solid rgba(45, 90, 39, 0.2);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

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

.breadcrumb-nav .text-primary:hover::before {
    left: 100%;
}

.breadcrumb-nav .fas.fa-chevron-right {
    color: #9ca3af;
    font-size: 0.7rem;
    margin: 0 0.25rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

@keyframes breadcrumbSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact hero section adjustments */
.contact-hero {
    margin-top: 0;
    padding-top: 120px;
}

/* Focus States for Accessibility */
.breadcrumb-nav a:focus {
    outline: 2px solid #2d5a27;
    outline-offset: 2px;
    background: rgba(45, 90, 39, 0.08);
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
    .contact-hero {
        padding-top: 140px;
    }
    
    .breadcrumb-nav {
        z-index: 40;
        top: 80px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
        backdrop-filter: blur(16px);
        padding: 0.625rem 0;
    }
    
    .breadcrumb-nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .breadcrumb-nav .text-primary {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding-top: 160px;
        min-height: 100dvh;
    }
    
    .breadcrumb-nav {
        top: 80px;
        padding: 0.65rem 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
        backdrop-filter: blur(18px);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    }
    
    .breadcrumb-nav a,
    .breadcrumb-nav .text-primary {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Enhanced Form Loading States */
.form-loading-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeInOverlay 0.4s ease-out;
    border-radius: 1.5rem; /* Match form border radius */
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.1);
}

/* Contact form container enhancements */
.contact-form-container {
    transition: all 0.3s ease;
}

.contact-form-container.loading {
    transform: scale(0.99);
    filter: brightness(0.98);
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Form Message Alert */
.form-message-alert {
    animation: slideInMessage 0.5s ease-out;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Loading Spinner */
.form-loading-overlay .animate-spin {
    animation: spin 1s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(179, 69, 18, 0.2));
}

/* Loading overlay content animations */
.form-loading-overlay h3 {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.form-loading-overlay p:first-of-type {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.form-loading-overlay p:last-of-type {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.form-loading-overlay .inline-flex {
    animation: fadeInUp 0.6s ease-out 0.8s both, pulseStatus 2s infinite 1.5s;
}

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

/* Pulsing effect for SMTP status (after fadeIn completes) */
@keyframes pulseStatus {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}


/* Form Disabled State */
.form-input:disabled {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

/* Submit Button Loading State */
.submit-btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.9;
    transform: scale(0.98) !important;
    cursor: not-allowed;
}

.submit-btn.loading .absolute {
    display: none; /* Hide shimmer effect when loading */
}

/* Enhanced submit button disabled state */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Success State Enhancement */
.form-input.success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2) !important;
}

/* Error State Enhancement */
.form-input.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2) !important;
}

/* reCAPTCHA Styling */
.recaptcha-container {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.recaptcha-container .g-recaptcha {
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.3s ease;
}

/* reCAPTCHA Responsive Design */
@media (max-width: 480px) {
    .recaptcha-container .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}

@media (max-width: 380px) {
    .recaptcha-container .g-recaptcha {
        transform: scale(0.75);
        transform-origin: center;
    }
}

/* reCAPTCHA Error Styling */
.recaptcha-error {
    animation: shake 0.5s ease-in-out;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* reCAPTCHA Focus State */
.recaptcha-container:focus-within {
    transform: scale(1.02);
}

/* reCAPTCHA Form Integration */
.form-group .recaptcha-container {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(179, 69, 18, 0.05) 100%);
    border-radius: 1rem;
    border: 2px solid rgba(179, 69, 18, 0.1);
    transition: all 0.3s ease;
}

.form-group .recaptcha-container:hover {
    border-color: rgba(179, 69, 18, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(179, 69, 18, 0.08) 100%);
}

/* Loading state for reCAPTCHA */
.form-loading-overlay ~ .recaptcha-container {
    pointer-events: none;
    opacity: 0.5;
}

/* reCAPTCHA Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    .recaptcha-container {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(179, 69, 18, 0.1) 100%);
        border-color: rgba(179, 69, 18, 0.2);
    }
}

