/* ============================================
   CUSTOM STYLES - ORGANIZED
   ============================================ */


/* ---- COLOR VARIABLES ---- */

:root {
    --primary-color: #4A5B67;
    --secondary-color: #5c6b76;
    --light-bg: #EEEEEE;
    --text-dark: #4A5B67;
    --text-light: #EEEEEE;
    --gray-100: #EEEEEE;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
}


/* ============================================
   1. GLOBAL STYLES
   ============================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
}

.pt-6 {
    padding-top: 6rem !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/* ============================================
   2. TOP INFO BAR
   ============================================ */

.top-info-bar {
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 1.15rem;
}

.top-info-bar .phone-number {
    color: var(--text-light);
    font-weight: 500;
}

.top-info-bar .cta-button {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.top-info-bar .arrow {
    font-size: 1.5rem;
}


/* ============================================
   3. NAVIGATION
   ============================================ */

.navbar-brand {
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--primary-color) !important;
}

.nav-btn {
    background: var(--primary-color) !important;
    border: none !important;
    color: var(--text-light) !important;
}


/* ============================================
   4. HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
}

.hero-title,
.hero-subtitle {
    color: var(--primary-color);
}

.hero-description {
    color: var(--secondary-color);
}

.hero-cta {
    background: var(--primary-color) !important;
    border: none !important;
    color: var(--text-light) !important;
}

.hero-cta:hover {
    background-color: var(--secondary-color) !important;
}

#typewriter {
    border-right: 2px solid var(--primary-color);
}

.hero img {
    animation: float 6s ease-in-out infinite;
}


/* ============================================
   5. BUTTONS
   ============================================ */

.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-register {
    background: #E8EFF3 !important;
    border-color: #E8EFF3 !important;
    color: #4A5B67 !important;
    box-shadow: 0 2px 4px rgba(74, 91, 103, 0.08);
}


/* ============================================
   6. CARDS
   ============================================ */

.card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ============================================
   7. PRICING CARDS
   ============================================ */

.pricing-card {
    border: none !important;
    border-radius: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(74, 91, 103, 0.1) !important;
    background: #fff !important;
    position: relative !important;
    overflow: hidden !important;
}

.pricing-card::before {
    display: none;
}

.pricing-card:hover::before {
    display: none;
}

.pricing-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(74, 91, 103, 0.15) !important;
}

.pricing-card.popular {
    position: relative !important;
    transform: scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(74, 91, 103, 0.2) !important;
    border: 2px solid rgba(74, 91, 103, 0.1) !important;
    z-index: 1 !important;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px) !important;
    box-shadow: 0 25px 45px rgba(74, 91, 103, 0.25) !important;
}

.popular::before {
    content: "En Popüler";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.pricing-title {
    color: var(--primary-color) !important;
    margin-bottom: 1rem !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
}

.pricing-price {
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: var(--text-dark) !important;
    font-size: 2.5rem !important;
    line-height: 1 !important;
}

.pricing-price small {
    font-weight: normal !important;
    font-size: 1rem !important;
    color: var(--secondary-color) !important;
    margin-left: 0.25rem !important;
}

.pricing-features {
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
}

.pricing-feature-item {
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    color: var(--secondary-color) !important;
}

.pricing-feature-item i {
    color: var(--primary-color) !important;
    margin-right: 0.75rem !important;
    font-size: 1rem !important;
    background: rgba(74, 91, 103, 0.1) !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

.pricing-btn {
    width: 100% !important;
    border-radius: 50rem !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
}

.pricing-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(74, 91, 103, 0.15) !important;
}


/* ============================================
   8. FORM CONTROLS
   ============================================ */

.form-control {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}


/* ============================================
   9. IMAGES
   ============================================ */

.img-fluid {
    transition: transform 0.6s ease;
}

.img-fluid:hover {
    transform: scale(1.02);
}


/* ============================================
   10. FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a4a55 100%);
    overflow: hidden;
    position: relative;
}

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.footer-circle-1 {
    width: 300px;
    height: 300px;
    background: rgba(238, 238, 238, 0.03);
    border-radius: 50%;
    position: absolute;
    top: -150px;
    right: -150px;
}

.footer-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(238, 238, 238, 0.03);
    border-radius: 50%;
    position: absolute;
    bottom: -100px;
    left: -100px;
}

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

.footer-title {
    color: var(--text-light);
}

.footer-description {
    color: var(--text-light);
    opacity: 0.9;
}

.footer-social-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-social-icon {
    color: var(--primary-color);
}

.footer-heading {
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-link {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-link:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-contact-icon {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-contact-text {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-divider {
    border-color: rgba(238, 238, 238, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--text-light);
    opacity: 0.7;
}

.scroll-top-btn {
    border-color: rgba(238, 238, 238, 0.3);
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    background: var(--text-light);
    color: var(--primary-color);
}


/* ============================================
   11. TESTIMONIALS
   ============================================ */

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
}

#testimonials .card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

#testimonials .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

#testimonials .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
}

#testimonials img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}


/* ============================================
   12. DESIGNS SECTION
   ============================================ */

.designs-section .card img {
    transition: all 0.3s ease;
}

.designs-section .card:hover img {
    transform: scale(1.02);
}

.designs-section .card {
    overflow: hidden;
    transition: all 0.3s ease;
}

.designs-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.designs-section .carousel-control-prev,
.designs-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.designs-section .carousel-control-prev {
    left: -25px;
}

.designs-section .carousel-control-next {
    right: -25px;
}

.designs-section .designs-nav-icon {
    width: 25px;
    height: 25px;
}

.designs-section .carousel-indicators {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 0;
}

.designs-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    border: none;
    margin: 0 5px;
}

.designs-section .carousel-indicators .active {
    opacity: 1;
}


/* ============================================
   13. TYPEWRITER & EFFECTS
   ============================================ */

.typewriter-cursor {
    border-right: 2px solid #232a36;
    padding-right: 2px;
    transition: border-color 0.2s;
}

.typewriter-cursor-blink {
    border-right-color: transparent !important;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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


/* ============================================
   14. MAP CONTAINER
   ============================================ */

.map-container {
    position: relative;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.map-container iframe {
    position: relative;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 450px !important;
    border: 0;
    max-width: none !important;
}


/* ============================================
   15. ACCORDION / FAQ
   ============================================ */

.accordion-item {
    background-color: #fff;
    border-radius: 1rem !important;
    overflow: hidden;
}

.accordion-button {
    padding: 1.25rem;
    background-color: #fff;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(74, 91, 103, 0.1);
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 1.25rem;
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.6;
}


/* ============================================
   16. RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .popular {
        transform: scale(1);
    }
    .testimonial-text {
        font-size: 0.9rem;
    }
    .designs-section .carousel-control-prev,
    .designs-section .carousel-control-next {
        display: none;
    }
    .designs-section .col-md-4 {
        margin-bottom: 1rem;
    }
    #testimonials .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    #testimonials .card-body {
        padding: 1.25rem !important;
    }
}