/* Components CSS - Skybelt Şemsiye */

/* Header Component Styles */
.header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-scrolled nav {
    padding: 0.5rem 0;
}

/* Enhanced Mobile Menu Styles */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px);
}

#mobileMenu.show {
    max-height: 800px;
    opacity: 1;
    transform: translateY(0);
}

#mobileMenuBtn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenuBtn.active {
    background-color: rgba(239, 68, 68, 0.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

#mobileMenuBtn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

#mobileMenuBtn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobileMenuBtn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Navigation Links */
.mobile-nav-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.05), transparent);
    transition: left 0.6s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mobile-nav-link .icon-container {
    transition: all 0.3s ease;
}

.mobile-nav-link:hover .icon-container {
    transform: scale(1.1);
}

.mobile-nav-link .chevron {
    transition: all 0.3s ease;
}

.mobile-nav-link:hover .chevron {
    transform: translateX(4px);
    color: #ef4444;
}

/* Mobile CTA Buttons */
.mobile-cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Logo Animation */
.logo-container:hover .logo-icon {
    transform: scale(1.05);
}

.logo-icon {
    transition: transform 0.3s ease;
}

/* Logo White Background Styles */
.logo-white-bg {
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo-white-bg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

/* Enhanced Logo Styles for Better Visibility */
.logo-container img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.1) brightness(1.05);
}

/* Responsive Logo Sizes */
@media (max-width: 768px) {
    .logo-container {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .logo-container {
        transform: scale(0.8);
    }
}

/* Navigation Link Hover Effects */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

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

/* Footer Component Styles */
.footer-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

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

.social-link::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;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Newsletter Form */
#newsletterForm {
    position: relative;
}

#newsletterForm input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

#newsletterForm button {
    position: relative;
    overflow: hidden;
}

#newsletterForm button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#newsletterForm button:hover::before {
    width: 300px;
    height: 300px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4);
}

/* Back to Top Button */
#backToTop {
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

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

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

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

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

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

.hero-image {
    animation: fadeInRight 1s ease-out 1s both;
}

/* Feature Cards */
.feature-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-red);
    color: white;
}

/* Product Cards */
.product-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

/* Hero Badge Z-Index Fix */
.hero-badge {
    z-index: 9999 !important;
    position: relative;
}

.hero-badge-premium {
    z-index: 10000 !important;
    position: relative;
}

/* New Hero Showcase Styles */
.hero-showcase {
    position: relative;
    overflow: hidden;
}

.hero-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hero-image-frame {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #ef4444, #3b82f6, #10b981, #f59e0b);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.feature-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::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;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Product Card Enhancements */
.product-card-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card-enhanced::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.6s;
    z-index: 1;
}

.product-card-enhanced:hover::before {
    left: 100%;
}

.product-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    position: relative;
    overflow: hidden;
}

.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-enhanced:hover .product-card-image::after {
    opacity: 1;
}

/* Blur Background Effect */
.blur-background {
    filter: blur(2px);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.product-card-enhanced:hover .blur-background {
    filter: blur(1px);
    transform: scale(1.05);
}

/* Header and Mobile Menu Styles */
.nav-link.active {
    color: #dc2626 !important;
    font-weight: 600;
}

.nav-link.active div {
    width: 100% !important;
}

.mobile-nav-link.active {
    color: #dc2626 !important;
    font-weight: 600;
    background-color: #fef2f2 !important;
}

/* Smooth transitions for sticky header */
#mainNav {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

#mainNav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced hover effects */
.nav-link:hover {
    transform: translateY(-1px);
}

.mobile-nav-link:hover {
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

/* Enhanced mobile menu animations */
#mobileMenu {
    transform-origin: top;
}

/* Hamburger button animations */
#mobileMenuBtn.active {
    background-color: rgba(239, 68, 68, 0.1);
}

.hamburger-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo animations */
#logoLink:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Mobile menu slide animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced mobile nav link hover effects */
.mobile-nav-link {
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.05), transparent);
    transition: left 0.6s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #mobileMenu {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .mobile-nav-link {
        margin: 0 0.5rem;
        border-radius: 0.75rem;
    }
}

/* Hero Slider Styles */
.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-dot.active {
    background-color: white !important;
}

/* Slider animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* Slider button hover effects */
.slider-prev:hover,
.slider-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Slider dot hover effects */
.slider-dot:hover {
    transform: scale(1.2);
}

/* Responsive slider adjustments */
@media (max-width: 768px) {
    .slider-prev,
    .slider-next {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::after {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.product-image {
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

/* Stats Section */
.stats-item {
    animation: fadeInUp 0.8s ease-out both;
}

.stats-item:nth-child(1) { animation-delay: 0.1s; }
.stats-item:nth-child(2) { animation-delay: 0.2s; }
.stats-item:nth-child(3) { animation-delay: 0.3s; }
.stats-item:nth-child(4) { animation-delay: 0.4s; }

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #fecaca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.05), rgba(37, 99, 235, 0.05));
    z-index: -1;
}

.cta-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Form Enhancements */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-25px) scale(0.85);
    color: var(--primary-red);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    animation: slideInDown 0.3s ease-out;
}

.message.success {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.message.error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

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

/* Mobile Menu Animations */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Enhanced Mobile Menu Responsive */
@media (max-width: 768px) {
    #mobileMenu {
        margin: 0 -1rem;
        border-radius: 0 0 1rem 1rem;
    }
    
    .mobile-nav-link {
        margin: 0 0.5rem;
        border-radius: 0.75rem;
    }
    
    .mobile-nav-link .icon-container {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .mobile-nav-link .font-semibold {
        font-size: 1rem;
    }
    
    .mobile-nav-link .text-sm {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    #mobileMenu {
        margin: 0 -0.5rem;
    }
    
    .mobile-nav-link {
        margin: 0 0.25rem;
        padding: 0.75rem;
    }
    
    .mobile-nav-link .icon-container {
        width: 2rem;
        height: 2rem;
        margin-right: 0.75rem;
    }
    
    .mobile-cta-button {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .product-card {
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-card {
        min-height: 550px;
    }
}

/* Print Styles for Components */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    #backToTop {
        display: none !important;
    }
    
    .hero-section {
        page-break-after: always;
    }
    
    .feature-section,
    .product-section {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .feature-card,
    .product-card {
        border: 2px solid #000000;
    }
    
    .social-link {
        border: 2px solid #ffffff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .product-card,
    .social-link,
    .cta-button,
    .mobile-nav-link,
    .mobile-cta-button {
        transition: none;
    }
    
    .hero-badge,
    .hero-headline,
    .hero-description,
    .hero-buttons,
    .hero-features,
    .hero-image {
        animation: none;
    }
    
    #mobileMenu {
        transition: none;
    }
    
    .hamburger-line {
        transition: none;
    }
}
