/* ===================================
    NEW MODERN DESIGN V2 - LIGHT & AIRY
====================================== */

:root {
    /* New Palette - Orange Core */
    --primary-blue: #FF9D5C;
    /* Lighter Orange */
    --primary-blue-dark: #EC7C2A;
    /* Main Orange */
    --secondary-blue: #FEEAD6;
    /* Light Orange */
    --text-dark: #1e293b;
    --text-light: #475569;
    /* Slightly darker for better readability */
    --white: #ffffff;
    --bg-light: #f8fafc;
    /* Clean slate-50 */

    /* Variables for Buttons */
    --btn-bg: #EC7C2A;

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ===================================
    GLOBAL RESETS & TYPOGRAPHY
====================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body) !important;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    /* Tighter line height */
    font-size: 16px;
    /* Base size */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
    /* Modern tighter spacing */
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Standard Section Padding */
.section-padding {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* ===================================
    NAVBAR REDESIGN
====================================== */
/* Clean, White, Sticky Navbar */
nav.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    padding: 12px 0;
    /* Reduced padding */
    backdrop-filter: blur(12px);
}

/* Force dark logo since navbar is light */
.logo-light {
    display: none !important;
}

.logo-dark {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    /* Ensure it's not crushed */
    max-height: 70px;
    /* Slightly smaller logo */
}

/* Header Links Color Override */
.navbar-default .navbar-nav>li>a {
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    /* Bolder links */
}

.navbar-nav>li>a {
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    /* Friendlier text */
    font-size: 1rem;
    letter-spacing: 0px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav>li>a:hover {
    background: var(--secondary-blue);
    color: var(--primary-blue-dark) !important;
    transform: translateY(-1px);
}

/* FIXED NAV LINE (UNDERLINE instead of STRIKETHROUGH) */
.nav_line li a:before {
    display: none !important;
    /* Remove old line style for cleaner look */
}



.header-appear .nav_line li a:before {
    bottom: 5px !important;
}


/* ===================================
    HERO SECTION REDESIGN
====================================== */

/* Hero with Image and Light Overlay */
.single-portfolio-item.bg3 {
    /* Restore background image with a light white overlay for readability */
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.9)), url('../images/particles-cover.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    position: relative;
    padding-top: 150px !important;
    padding-bottom: 100px !important;
}

/* Hide Particles and Overlays */
#particles-js,
.single-portfolio-item.bg3::before,
.single-portfolio-item.bg3::after {
    display: none !important;
}

.personal-cape h3 {
    color: var(--text-dark) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    font-size: 3.5rem !important;
    margin-bottom: 25px !important;
    line-height: 1.2;
}

.personal-cape p {
    color: var(--text-light) !important;
    font-weight: 400 !important;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Shape Divider at bottom (new style) */
.single-portfolio-item.bg3 {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    margin-bottom: 50px;
}

/* ===================================
    BUTTON STYLES (REQUESTED)
====================================== */

/* Standard Light Blue Button */
.btn {
    background: var(--btn-bg) !important;
    background-image: none !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 16px 40px !important;
    font-size: 1rem;
    font-weight: 600;
    border: none !important;
    box-shadow: 0 10px 20px rgba(236, 124, 42, 0.3);

    /* NO COLOR TRANSITIONS */
    transition: transform 0.2s ease !important;
}

.btn:hover {
    /* No color change */
    background: var(--btn-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(236, 124, 42, 0.4);
    opacity: 1 !important;
}

/* Remove any pseudo-elements that might cause gradients */
.btn::before,
.btn::after {
    display: none;
}


/* WHATSAPP BUTTON (Special Shimmer) */
/* Targetting specifically by href since we didn't add a class yet, 
   or we can use the btn-yellow class override if it's unique to whatsapp */
a[href*="whatsapp"],
.btn-yellow {
    background: #25D366 !important;
    /* Whatsapp Green or keep theme? User asked for "Whatsapp Destek Hattı butonları" specifically */
    /* User request implied: "Whatsapp ... buttons ... glimmer" 
       I will make it distinct from the blue buttons as per standard UX for WA */
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

a[href*="whatsapp"]:hover,
.btn-yellow:hover {
    background: #25D366 !important;
    transform: translateY(-2px);
}

/* The Shimmer Animation */
@keyframes shimmer {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

a[href*="whatsapp"]::after,
.btn-yellow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    display: block !important;
    animation: shimmer 2.5s infinite;
    z-index: 10;
}

/* ===================================
    CARDS & CONTENT (UX IMPROVEMENTS)
====================================== */

/* Service Cards - Clean Look */
.how-box-one {
    background: #ffffff !important;
    border-radius: 20px;
    padding: 40px 30px;
    border: none !important;
    box-shadow: 0 10px 40px rgba(148, 163, 184, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-box-one:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(148, 163, 184, 0.2);
}

.how-box-one .icon-box {
    background: #FFF4E6 !important;
    /* pale orange bg for icon */
    color: var(--primary-blue-dark) !important;
    border-radius: 50% !important;
    /* Circle icons */
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto 30px;
    font-size: 30px;
}

.how-box-one h4,
.how-box-one .text-large {
    font-weight: 700;
    color: var(--text-dark);
}

/* About Section Split */
.split-box .about-box {
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    /* Soft large shadow */
    border-radius: 30px;
    padding: 50px;
    border: 1px solid #f1f5f9;
}

/* ===================================
    NEW SECTIONS: SERVICES GRID & FAQ
====================================== */

/* Services Grid */
.services-grid-item {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    height: 100%;
}

.services-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: var(--secondary-blue);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #FFF4E6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    /* Centered horizontally */
    color: var(--primary-blue-dark);
    font-size: 24px;
}

.service-title {
    margin-bottom: 15px;
    /* Increased margin for button spacing */
}

.service-title-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 15px;
    background: transparent;
    border: 2px solid var(--primary-blue-dark);
    color: var(--primary-blue-dark) !important;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.service-title-btn:hover {
    background: var(--primary-blue-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 124, 42, 0.3);
}

.service-desc {
    color: var(--text-light);
    font-size: 1.2rem;
    /* Increased size by ~4px */
    font-weight: 700;
    /* Bold as requested */
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    /* Bold as requested */
    font-size: 1.15rem;
    /* Increased size */
    color: var(--text-dark);
    background: #fff;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #334155;
    /* Darker text for readability */
    font-weight: 600;
    /* Bolder as requested */
    font-size: 1.3rem;
    /* Increased size by ~4px */
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 200px;
    /* Approximate max height */
    border-top: 1px solid #f1f5f9;
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary-blue-dark);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}


/* ===================================
    FOOTER
====================================== */
/* ===================================
    FOOTER
====================================== */
footer {
    background: #1e293b !important;
    /* Slate 800 */
    padding-top: 50px;
    /* Reduced from 80px */
    padding-bottom: 30px;
    /* Reduced from 40px */
}

footer p {
    color: #94a3b8 !important;
    /* Slate 400 */
}

/* Enhancements for About Box */
.about-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
    /* Ensure internal breathing room */
    border-radius: 12px;
    /* Smooth corners */
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
    /* Light highlight on hover */
}

/* ===================================
    UTILITY & VISUAL TWEAKS
====================================== */
.sec-title h3 {
    color: var(--text-dark) !important;
    font-weight: 800;
}

.text-blue {
    color: var(--primary-blue-dark) !important;
}

/* Scrollbar beautification */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===================================
    SNOW EFFECT
====================================== */
#snow-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* Very high z-index to be on top of everything */
    pointer-events: none;
    /* Allow clicks to pass through */
    background: transparent;
}