/**
 * @package     Dr. Muhsin Yilmaz - Deep Plane Facelift Landing Page
 * @version     1.0.0
 * @author      AjansFix Development Team
 * @copyright   Copyright (c) 2025 AjansFix.com
 * @license     MIT License
 * @link        https://ajansfix.com
 * @since       2025-02-20
 */


html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Base Styles */
:root {
    --primary: #0B1B3D;
    --primary-light: #152851;
    --accent: #3B82F6;
    --accent-light: #60A5FA;
    --text-dark: #1F2937;
    --text-light: #F3F4F6;
    --surface: #FFFFFF;
    --transition-base: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    will-change: transform;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* Deep Plane Section */
.deep-plane-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.result-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition-base);
    will-change: transform;
}

.result-card:hover {
    transform: translateY(-5px);
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 1rem;
}

/* Image Slider */
.image-slider {
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}

/* FAQ Styles */
.faq-item {
    background-color: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.faq-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    text-align: left;
    background-color: white;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.faq-button:hover {
    background-color: rgba(11, 27, 61, 0.05);
}

.faq-button[aria-expanded="true"] {
    background-color: rgba(11, 27, 61, 0.05);
}

.faq-button-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s ease;
    flex: 1;
    padding-right: 1rem;
}

.faq-button:hover .faq-button-text {
    color: var(--accent);
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon.rotate-45 {
    transform: rotate(45deg);
}

.faq-panel {
    padding: 0 1.5rem 1.25rem 1.5rem;
    background-color: white;
}

.faq-panel p {
    color: #4B5563;
    line-height: 1.625;
    margin: 0;
}

/* FAQ Animations */
.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

.transform {
    transform: translateY(0);
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.-translate-y-2 {
    transform: translateY(-0.5rem);
}

.translate-y-0 {
    transform: translateY(0);
}

/* FAQ Mobile Styles */
@media (max-width: 768px) {
    .faq-button {
        padding: 1rem 1.25rem;
    }

    .faq-button-text {
        font-size: 1rem;
    }

    .faq-panel {
        padding: 0 1.25rem 1rem 1.25rem;
    }
}

/* Deep Plane Content */
.deep-plane-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.video-wrapper {
    flex: 1;
    max-width: 50%;
}

.text-content {
    flex: 1;
    padding-left: 2rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .deep-plane-content {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 0.5rem;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 40;
    }

    .image-slider {
        min-height: 300px;
    }

    .deep-plane-content {
        flex-direction: column;
    }
    
    .video-wrapper {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .text-content {
        padding-left: 0;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 33.333%;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Performance Optimizations */
[x-cloak] {
    display: none !important;
}

/* Video Play Button Styles */
.video-play-button {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-play-button .play-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-button:hover .play-icon {
    transform: scale(1.1);
}

.video-play-button .play-icon i {
    color: var(--primary);
    font-size: 24px;
    margin-left: 4px;
}



/* Video Play Button Styles 2 */
.video-play-button2 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-play-button2 .play-icon2 {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-button2:hover2 {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-button2:hover .play-icon2 {
    transform: scale(1.1);
}

.video-play-button2 .play-icon2 i {
    color: var(--primary);
    font-size: 24px;
    margin-left: 4px;
}

/* Mobile Bottom Menu */
.fixed-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 0.5rem;
}

/* Adjust content padding for mobile bottom menu */
@media (max-width: 768px) {
    section {
        padding-bottom: calc(4rem + 60px) !important;
    }
    
    footer {
        padding-bottom: calc(4rem + 60px) !important;
    }

    #cookieBanner {
        bottom: 60px !important;
    }

    #backToTop {
        bottom: 80px !important;
    }
}

