/* Temel Ayarlar */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --accent: #000000;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
    padding-bottom: 80px; /* Mobil cihazlarda fixed butonlar için padding */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0; /* Desktop'ta padding'i kaldır */
    }
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    padding: 18px 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 400;
}

nav a:hover {
    border-bottom: 1px solid var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
}

.hero h1 {
    font-size: 40px;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.about p {
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat span {
    display: block;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
}

/* Swiper Slider Düzenlemeleri */
.swiper-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.swiper-slide .container {
    position: relative;
    z-index: 2;
}

.swiper-button-next, 
.swiper-button-prev {
    color: white !important;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #2442e6;
}

/* Scrollbar Gizleme */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE ve Edge */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Video Carousel Düzenlemeleri */
.video-carousel-container {
    position: relative;
    perspective: 1000px;
    margin: 2rem auto;
    max-width: 6xl;
    overflow: visible !important;
}

.video-stage {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: transition-all 700ms;
    margin-bottom: 2.5rem;
    position: relative;
    aspect-ratio: 16/9;
}

.video-thumbs-swiper {
    padding-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .video-carousel-container {
        margin: 3rem auto;
    }
    
    .video-stage {
        margin-bottom: 1.5rem;
    }
    
    .video-thumbs-swiper .swiper-slide {
        height: auto !important;
    }
}

/* Slider Form Styles */
#randevuForm {
    position: absolute;
    right: 10%;
    top: 20rem;
    transform: translateY(-50%);
    width: 400px;
    transition: all 0.5s ease;
    z-index: 50;
}

/* Form hover efekti ekleme */
.relative:hover #randevuForm {
    display: block !important;
}

/* Form'un popup/modal versiyonu */
#randevuForm.modal-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 1010;
    width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: white;
    border-radius: 8px;
    opacity: 1;
    animation: formZoomIn 0.3s ease-out forwards;
}

/* Arka plan overlay */
.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 39;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.form-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Form açılış animasyonu */
@keyframes formZoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        
    }
}

/* Form kapanış animasyonu */
@keyframes formZoomOut {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0;
    }
}

#randevuForm.modal-form.closing {
    animation: formZoomOut 0.3s ease-out forwards;
}

#randevuForm.scrolled {
    position: fixed;
    top: 108px;
    right: -270px; /* Yarısı gizli */
    transform: none;
}

#randevuForm.scrolled::before {
    content: '←';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 24px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#randevuForm.scrolled:hover {
    right: 0; /* Tamamen görünür */
}

#randevuForm.scrolled:hover::before {
    opacity: 0;
}

/* Form Container Animation */
@keyframes formSlide {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#randevuForm .form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    animation: formSlide 0.5s ease forwards;
}

/* Form Hover Indicator */
#randevuForm.scrolled .form-container {
    position: relative;
    overflow: hidden;
}

#randevuForm.scrolled .form-container::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(45deg, #3B82F6, #60A5FA);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#randevuForm.scrolled:hover .form-container::after {
    opacity: 1;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Responsive Ayarlamalar */
@media (max-width: 768px) {
    .about .container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    nav {
        display: none;
    }
    
    .swiper-container {
        height: 70vh;
    }
    
    .swiper-slide h1 {
        font-size: 28px;
    }
    
    .swiper-slide p {
        font-size: 16px;
    }
}

/* Instagram Stories Section - styles.css'i güncelle */
.instagram-stories {
    margin-top: 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.story-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.story-container::-webkit-scrollbar {
    display: none;
}

.story-circle {
    position: relative;
    overflow: hidden;
    padding: 2px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.story-circle img {
    border: 2px solid white;
}

.story-circle:hover {
    opacity: 0.9;
}

/* Reels/Video Modal */
.reels-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reels-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    color: white;
    z-index: 1001;
}

.reels-header-left {
    display: flex;
    align-items: center;
}

.reels-header-left img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.reels-close {
    cursor: pointer;
    font-size: 24px;
}

.reels-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reels-iframe {
    width: 100%;
    max-width: 360px;
    height: calc(100vh - 120px);
    border: none;
}

.reels-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.2);
}

.reels-progress-bar {
    height: 100%;
    background: white;
    width: 0;
    transition: width linear;
}

.reels-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: white;
    z-index: 1001;
}

.reels-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.reels-info p {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .reels-iframe {
        height: 100vh;
        max-width: 100%;
        object-fit: contain;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .reels-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

/* 3D Design Process Section Styles */
.process-diagram {
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.process-step {
    position: relative;
    z-index: 5;
}

.process-step.active .step-circle {
    background-color: #2442e6;
    transform: scale(1.1);
}

.process-step.active .step-text {
    color: white;
    font-weight: 400;
}

.progress-line {
    position: relative;
    z-index: 1;
}

.design-point {
    width: 12px;
    height: 12px;
    background-color: #2442e6;
    border: 2px solid #a3d0f0;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.design-label {
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s forwards 0.5s;
}

.design-diagram {
    background: linear-gradient(rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.8)),
                url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.step-circle {
    transition: all 0.5s ease;
}

.step-text {
    transition: all 0.5s ease;
}

.step-content {
    opacity: 1;
    transition: opacity 0.3s ease;
    min-height: 80px;
}

.step-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.5s ease;
}

.animation-element {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards 0.2s;
}

/* Step 3: 3D Modeling Animation */
.cube-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 600px;
    width: 100px;
    height: 100px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 8s infinite linear;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #2442e6;
    opacity: 0.7;
}

.front {
    transform: translateZ(50px);
    background-color: rgba(36, 66, 230, 0.1);
}

.back {
    transform: rotateY(180deg) translateZ(50px);
    background-color: rgba(36, 66, 230, 0.1);
}

.right {
    transform: rotateY(90deg) translateZ(50px);
    background-color: rgba(36, 66, 230, 0.1);
}

.left {
    transform: rotateY(-90deg) translateZ(50px);
    background-color: rgba(36, 66, 230, 0.1);
}

.top {
    transform: rotateX(90deg) translateZ(50px);
    background-color: rgba(36, 66, 230, 0.1);
}

.bottom {
    transform: rotateX(-90deg) translateZ(50px);
    background-color: rgba(36, 66, 230, 0.1);
}

/* Step 4: Rendering Animation */
.render-animation {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.render-line {
    width: 70%;
    height: 8px;
    background: linear-gradient(90deg, #2442e6 50%, transparent 50%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: renderScan 2s infinite linear;
}

.render-line:nth-child(2) {
    animation-delay: 0.2s;
}

.render-line:nth-child(3) {
    animation-delay: 0.4s;
}

/* Step 5: Before-After Slider */
.before-after-slider {
    position: relative;
    overflow: hidden;
}

.slider-handle {
    animation: slideHandle 4s infinite alternate ease-in-out;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(36, 66, 230, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(36, 66, 230, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(36, 66, 230, 0);
    }
}

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

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

@keyframes processProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes renderScan {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: 0 0;
    }
}

@keyframes slideHandle {
    0%, 10% {
        left: 15%;
    }
    90%, 100% {
        left: 85%;
    }
}

.process-bar {
    width: 0;
    transition: width 1s ease-in-out;
}

/* Additional mobile responsiveness */
@media (max-width: 768px) {
    
    .process-diagram {
        margin-top: 2rem;
    }
    
    .absolute.-bottom-10.-right-10 {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -3rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* Interactive Design Creator */
.interactive-design-creator {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.progress-indicator {
    transition: width 0.4s ease;
}

.room-type-card {
    transition: all 0.2s ease;
}

.room-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.room-type-card.ring-primary {
    box-shadow: 0 0 0 2px var(--accent), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dimension-slider {
    -webkit-appearance: none;
    height: 6px;
    background: #e5e7eb;
    border-radius: 5px;
    outline: none;
}

.dimension-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.dimension-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}

.room-visualizer {
    transition: all 0.3s ease;
}

.room-shape {
    transition: width 0.3s ease, height 0.3s ease;
    border: 2px dashed #cbd5e1;
}

.component-selector label {
    transition: opacity 0.2s ease;
}

.component-selector label:hover {
    opacity: 0.8;
}

.color-option {
    transition: transform 0.2s ease, border 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.border-primary {
    border-color: var(--accent);
    transform: scale(1.1);
}

.design-preview {
    transition: background-color 0.3s ease;
}

#componentVisualizer {
    transition: background-color 0.3s ease;
}

.design-step {
    transition: opacity 0.3s ease;
}

.success-checkmark svg {
    animation: checkmark 0.8s ease-in-out forwards;
}

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

/* Design step transitions */
.design-step.hidden {
    display: none;
}

.next-step, .prev-step {
    transition: all 0.3s ease;
}

.next-step:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    /* Component selector */
    .component-option {
        padding: 10px;
    }
    
    /* Room dimensions */
    .room-visualizer {
        max-width: 100%;
        overflow: hidden;
    }
    
    .room-shape {
        transform: scale(0.8);
        transform-origin: center center;
    }
    
    /* Component grid for mobile */
    .component-selector .grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Hardware options */
    .hardware-option span {
        font-size: 10px;
    }
    
    /* Selected features section */
    .selected-features-list {
        max-height: 120px;
        overflow-y: auto;
    }
    
    /* Make visualizer more compact */
    #componentVisualizer {
        width: 100% !important;
        max-width: 240px;
        height: 180px !important;
        margin: 0 auto;
    }
    
    /* Smaller buttons on mobile */
    .bg-gray-50.px-6.py-4 {
        padding: 12px;
    }
    
    .next-step, .prev-step {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Room type card improvements for mobile */
    .room-type-card {
        padding: 8px;
    }
    
    .room-type-card .h-32 {
        height: 120px;
    }
    
    .room-type-card h5 {
        font-size: 14px;
    }
    
    /* Fix for broken images */
    .room-type-card img {
        min-height: 100%;
        min-width: 100%;
    }
}

/* Ensure images load properly in all browsers */
img.object-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Smooth scroll behavior for the page */
html {
    scroll-behavior: smooth;
}

/* Animasyonlar */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Hover Efektleri */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 500ms;
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

/* Gradient Metin */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* Diğer Yardımcı Sınıflar */
.mix-blend-multiply {
    mix-blend-mode: multiply;
}

.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-xl {
    --tw-blur: blur(24px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

/* Cost Calculator Styles */
.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e5e7eb;
    border-radius: 5px;
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.1);
}

.calc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.1);
}

.rotate-270 {
    transform: rotate(270deg);
}

.room-calc-option input:checked + div {
    border-color: #3b82f6;
}

.material-option input:checked + div,
.installation-option input:checked + div {
    border-color: #3b82f6;
}

.feature-option:hover,
.addon-option:hover {
    background-color: #f9fafb;
}

.feature-checkbox:checked ~ div p,
.addon-checkbox:checked ~ div p {
    color: #3b82f6;
}

.support-radio:checked + div p {
    color: #3b82f6;
}

#calcRoomShape {
    transition: all 0.5s ease-in-out;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Animation for the blobs */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Discount Price Styles */
#normalPrice {
    position: relative;
    opacity: 0.8;
}

#normalPrice::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: #f87171;
    transform: rotate(-5deg);
}

#totalPrice {
    color: #4ade80;
    font-weight: 600;
    transition: all 0.3s ease;
}

@keyframes discountPulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

#discountAmount {
    animation: discountPulse 2s infinite;
}

/* How We Work Process Styles - Updated */
.process-flow-diagram {
    position: relative;
    padding: 20px 0;
}

.process-step {
    position: relative;
    z-index: 10;
}

.process-circle {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: white;
    position: relative;
    z-index: 5;
}

.process-circle img {
    object-fit: cover;
    border-radius: 50%;
}

.process-number {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    font-weight: 600;
    transition: all 0.3s ease;
}

.process-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.process-circle:hover .process-number {
    transform: rotate(10deg) scale(1.1);
}

/* Arc connector styling */
.process-arc {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    border-bottom: none;
    pointer-events: none;
}

/* Make the arc more closely match the reference image */
@media (min-width: 768px) {
    .process-arc {
        height: 180px !important;
        top: 120px !important;
    }
    
    /* Hide individual connector lines since we have the arc */
    .process-connector-left, 
    .process-connector-right {
        display: none !important;
    }
}

/* Animation for the process arc */
@media (min-width: 768px) {
    .process-arc {
        background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
        background-size: 200% 100%;
        animation: gradientMove 4s linear infinite;
        border: none;
        height: 2px !important;
    }
}

/* Mobile process circles */
@media (max-width: 767px) {
    .process-circle {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }
    
    .process-number {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* Mobile process cards animation */
.bg-white.p-4.rounded-lg.shadow-sm {
    transition: all 0.3s ease;
}

.bg-white.p-4.rounded-lg.shadow-sm:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Showroom Styles */
.showroom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.showroom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.showroom-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #3b82f6, #60a5fa, #3b82f6);
    background-size: 200% 200%;
    animation: gradientBg 10s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    filter: blur(10px);
}

.showroom-card:hover::before {
    opacity: 0.6;
}

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

.showroom-card .rounded-lg {
    transition: all 0.5s ease;
}

.showroom-card:hover .rounded-lg {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.showroom-card h3 {
    position: relative;
    display: inline-block;
}

.showroom-card h3:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.showroom-card:hover h3:after {
    width: 100%;
}

.showroom-card a {
    position: relative;
    overflow: hidden;
}

.showroom-card a:before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: translateX(-101%);
    transition: transform 0.3s ease;
}

.showroom-card a:hover:before {
    transform: translateX(0);
}

/* Special styling for Contact Card */
.showroom-card.bg-gradient-to-br {
    position: relative;
    overflow: hidden;
}

.showroom-card.bg-gradient-to-br::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    transform: rotate(0deg);
    opacity: 0;
    transition: opacity 0.5s ease, transform 30s linear;
}

.showroom-card.bg-gradient-to-br:hover::after {
    opacity: 1;
    transform: rotate(45deg);
}

/* Map styling */
.mt-16.rounded-xl {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mt-16.rounded-xl:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.mt-16.rounded-xl iframe {
    transition: filter 0.3s ease;
}

.mt-16.rounded-xl:hover iframe {
    filter: contrast(1.1) saturate(1.1);
}

@media (max-width: 768px) {
    .showroom-card {
        transform: none !important;
    }
    
    .showroom-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .mt-16.rounded-xl:hover {
        transform: translateY(-2px);
    }
}

/* Mağaza Ziyareti Form Stilleri */
.showrooms-form-container {
    transition: all 0.3s ease;
}

.showrooms-form-container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.showrooms-form-container input[type="text"],
.showrooms-form-container input[type="email"],
.showrooms-form-container input[type="tel"],
.showrooms-form-container input[type="date"],
.showrooms-form-container select,
.showrooms-form-container textarea {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.showrooms-form-container input:focus,
.showrooms-form-container select:focus,
.showrooms-form-container textarea:focus {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.showrooms-form-container input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
    opacity: 0.7;
    cursor: pointer;
}

.showrooms-form-container button[type="submit"] {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.showrooms-form-container button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.showrooms-form-container button[type="submit"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.showrooms-form-container button[type="submit"]:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Harita ve Form Düzeni İçin Medya Sorguları */
@media (max-width: 768px) {
    .showrooms-map-form-grid {
        grid-template-columns: 1fr;
    }
    
    .showrooms-form-container {
        margin-top: 1.5rem;
    }
    
    .showrooms-map-container iframe {
        height: 350px !important;
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
}

.mobile-menu.show {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-button {
    transition: transform 0.3s ease;
}

.mobile-menu-button:hover {
    transform: scale(1.1);
}

.mobile-menu-button.active .mobile-menu-icon {
    display: none;
}

.mobile-menu-button.active .mobile-menu-close {
    display: block;
}

.mobile-menu a {
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu a:hover {
    padding-left: 1rem;
    color: #2442e6;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #2442e6;
    transition: width 0.3s ease;
}

.mobile-menu a:hover::after {
    width: 100%;
}

/* Ensure mobile menu works with the fixed header */
@media (max-width: 768px) {
    .pt-28 {
        padding-top: calc(4.5rem + 1px); /* Adjust based on your header height */
    }
    
    .mobile-menu {
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}

/* Mobile Form Modal Styles */
#mobileFormModal {
    transition: opacity 0.3s ease;
}

#mobileFormModal.hidden {
    opacity: 0;
    pointer-events: none;
}

#mobileFormModal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

#mobileFormModal form {
    max-width: 600px;
    margin: 0 auto;
}

#mobileFormModal input,
#mobileFormModal select,
#mobileFormModal textarea {
    transition: all 0.3s ease;
}

#mobileFormModal input:focus,
#mobileFormModal select:focus,
#mobileFormModal textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Header Button Styles */
@media (max-width: 768px) {
    .mobile-header-buttons {
        display: flex;
        align-items: center;
    }

    .mobile-header-buttons a,
    .mobile-header-buttons button {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .mobile-header-buttons a:active,
    .mobile-header-buttons button:active {
        transform: translateY(1px);
    }
}

/* Fixed butonlar için stil */
.fixed-buttons {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Before-After Gallery Styles */
.ba-carousel-container {
    position: relative;
    perspective: 1000px;
    margin: 2rem auto;
    max-width: 6xl;
    overflow: visible !important;
}

.ba-stage {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: transition-all 700ms;
    margin-bottom: 2.5rem;
    position: relative;
}

.ba-container {
    cursor: grab;
}

.ba-container:active {
    cursor: grabbing;
}

.ba-images {
    position: relative;
    overflow: hidden;
}

.clip-before {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    transition: clip-path 0.3s ease;
}

.ba-slider {
    backdrop-filter: blur(1px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.ba-slider-button {
    display: flex;
    flex-direction: row;
    transition: transform 0.2s ease-out;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ba-slider-button svg:first-child {
    margin-right: -2px;
}

.ba-slider-button svg:last-child {
    margin-left: -2px;
}

.ba-container:hover .ba-slider-button {
    transform: scale(1.1);
}

.ba-container:hover .ba-slider {
    width: 4px;
    background-color: rgba(255, 255, 255, 0.95);
}

.ba-thumbs-swiper {
    padding-bottom: 1.5rem;
}

.ba-thumbs-swiper .swiper-slide {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ba-thumbs-swiper .swiper-slide:hover {
    opacity: 1;
}

.ba-thumb-active {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5) !important;
    opacity: 1 !important;
}

/* Sliders için pulsating animation */
@keyframes pulse-slider {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.ba-slider-button {
    animation: pulse-slider 2s infinite;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .ba-carousel-container {
        margin: 3rem auto;
    }
    
    .ba-stage {
        margin-bottom: 1.5rem;
    }
    
    .ba-thumbs-swiper .swiper-slide {
        height: auto !important;
    }
} 