/* Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Smooth scrolling */
php {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Custom button styles */
.btn-primary {
    @apply bg-secondary text-white px-6 py-3 rounded-lg font-medium hover:bg-opacity-90 transition-colors;
}

.btn-accent {
    @apply bg-accent text-white px-6 py-3 rounded-lg font-medium hover:bg-opacity-90 transition-colors;
}

/* Custom section spacing */
.section-padding {
    @apply py-16;
}

/* Product card hover effects */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===== BEAUTIFUL MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #f7efe4 0%, #f9f3e9 100%);
    z-index: 9999;
    padding: 100px 30px 40px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 50px rgba(86, 37, 11, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #56250b;
    text-decoration: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(86, 37, 11, 0.05);
}

.mobile-nav-link:hover {
    background: #d4a574;
    color: white;
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.mobile-nav-link::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #d4a574;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover::before {
    background: white;
    transform: scale(1.5);
}

.mobile-get-started-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #d4a574 0%, #c19565 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
    border: none;
}

.mobile-get-started-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 165, 116, 0.6);
    background: linear-gradient(135deg, #c19565 0%, #d4a574 100%);
}

.mobile-get-started-btn::after {
    content: '🎵';
    font-size: 20px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(86, 37, 11, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Header with Logo */
.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: rgba(247, 239, 228, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d4a574 0%, #c19565 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.mobile-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #56250b;
    background: linear-gradient(135deg, #56250b 0%, #7a3a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Close Button */
.mobile-close-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: #d4a574;
    transform: rotate(90deg);
}

.mobile-close-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #56250b;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover span {
    background: white;
}

/* Menu Footer */
.mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    text-align: center;
}

.mobile-contact-info {
    font-size: 14px;
    color: #56250b;
    opacity: 0.8;
}

.mobile-contact-info a {
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
}

/* Hamburger Animation */
#mobile-menu-button {
    transition: transform 0.3s ease;
}

#mobile-menu-button:hover {
    transform: scale(1.1);
}

#menu-line-1, #menu-line-2, #menu-line-3 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-open #menu-line-1 {
    transform: rotate(45deg) translate(6px, 6px);
    background: #d4a574;
}

.menu-open #menu-line-2 {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-open #menu-line-3 {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #d4a574;
}

/* Body scroll lock */
body.menu-open {
    overflow: hidden;
}

/* Smooth backdrop filter for supported browsers */
@supports (backdrop-filter: blur(10px)) {
    .mobile-nav-link {
        backdrop-filter: blur(10px);
    }
    
    .mobile-menu-header {
        backdrop-filter: blur(10px);
    }
    
    .mobile-menu-footer {
        backdrop-filter: blur(10px);
    }
}

/* ===== LOGO STYLES ===== */
.logo-image {
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1);
}

.mobile-logo-image {
    transition: all 0.3s ease;
}

.footer-logo-image {
    transition: all 0.3s ease;
    /*filter: brightness(0) invert(1); /* Makes logo white for dark footer */
}

.footer-logo-image:hover {
    transform: scale(1.05);
}

/* Logo container for proper alignment */
.logo-container {
    min-height: 40px;
    display: flex;
    align-items: center;
}

/* Ensure logo doesn't get too small on mobile */
@media (max-width: 640px) {
    .logo-image {
        height: 32px;
        width: auto;
    }
    
    .mobile-logo-image {
        height: 24px;
        width: auto;
    }
}

/* Smooth loading for logo */
.logo-image, .mobile-logo-image, .footer-logo-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* If logo fails to load, show text fallback */
.logo-container:has(.logo-image[src=""])::after,
.logo-container:has(.logo-image:not([src]))::after {
    content: "Violininsta";
    font-size: 1.5rem;
    font-weight: bold;
    color: #56250b;
}
/* ===== MISSION SECTION FIXES ===== */
.mission-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(86, 37, 11, 0.1);
    transition: transform 0.3s ease;
}

.mission-image:hover {
    transform: scale(1.02);
}

/* Ensure proper image display on all devices */
@media (max-width: 767px) {
    .mission-image {
        height: 250px;
        margin-bottom: 30px;
    }
    
    /* Fix for flex layout on mobile */
    .flex-col.md\:flex-row {
        flex-direction: column;
    }
    
    .md\:w-1\/2 {
        width: 100%;
    }
}

/* Additional responsive fixes */
@media (min-width: 768px) {
    .mission-image {
        height: 400px;
    }
}

/* Image loading states */
.mission-image {
    background-color: #f7efe4;
    position: relative;
}

.mission-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(247, 239, 228, 0.3), rgba(212, 165, 116, 0.1));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-image:hover::before {
    opacity: 1;
}


/* ===== ACTIVE NAVIGATION STYLES ===== */

/* Desktop Navigation Active State */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

/* Active state for desktop */
.nav-link.text-accent {
    position: relative;
}

/* Mobile Navigation Active State */
.mobile-nav-active {
    background: #d4a574 !important;
    color: white !important;
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.mobile-nav-active::before {
    background: white !important;
    transform: scale(1.5);
}

/* Alternative: If you want a different active style */
.active-nav-dot {
    position: relative;
}

.active-nav-dot::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #d4a574;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Smooth transitions */
.nav-link, .mobile-nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.2);
    }
}

/* Debug styles - remove after testing */
.debug-current-page {
    position: fixed;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 9999;
    font-size: 12px;
}