/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ===== TRABZONSPOR COLORS ===== */
:root {
    --trabzon-bordo: #4e0727;
    --trabzon-mavi: #82c8fc;
    --trabzon-bordo-light: rgba(78, 7, 39, 0.1);
    --trabzon-mavi-light: rgba(130, 200, 252, 0.1);
}

/* ===== GRADIENTS ===== */
.gradient-bg {
    background: linear-gradient(135deg, #4e0727 0%, #82c8fc 100%);
}

.text-gradient,
.gradient-text {
    background: linear-gradient(135deg, #4e0727 0%, #82c8fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4e0727, #82c8fc);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #3a0520, #6ab0e8);
    }

/* ===== NAVIGATION ===== */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #4e0727, #82c8fc);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .nav-link:hover {
        color: #4e0727;
    }

    .nav-link.active {
        color: #4e0727;
        font-weight: 600;
    }

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #4e0727 0%, #1a0310 50%, #0a2a4a 100%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
}

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu a {
        font-size: 1.8rem;
        color: white;
        font-weight: 700;
        margin: 12px 0;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s ease;
        text-decoration: none;
    }

    .mobile-menu.active a {
        opacity: 1;
        transform: translateY(0);
    }

        .mobile-menu.active a:nth-child(1) {
            transition-delay: 0.1s;
        }

        .mobile-menu.active a:nth-child(2) {
            transition-delay: 0.2s;
        }

        .mobile-menu.active a:nth-child(3) {
            transition-delay: 0.3s;
        }

        .mobile-menu.active a:nth-child(4) {
            transition-delay: 0.4s;
        }

        .mobile-menu.active a:nth-child(5) {
            transition-delay: 0.5s;
        }

        .mobile-menu.active a:nth-child(6) {
            transition-delay: 0.6s;
        }

        .mobile-menu.active a:nth-child(7) {
            transition-delay: 0.7s;
        }

    .mobile-menu a:hover {
        color: #82c8fc;
        transform: scale(1.05);
    }

/* ===== FLOATING SHAPES ===== */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatShape 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-40px) rotate(180deg);
    }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 90;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
    text-decoration: none;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
    }

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 90;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4e0727, #82c8fc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(78, 7, 39, 0.3);
}

    .back-to-top.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .back-to-top:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(78, 7, 39, 0.4);
    }

/* ===== GLASS EFFECTS ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    background: linear-gradient(-45deg, #4e0727, #82c8fc, #4e0727, #82c8fc);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== FLOAT ANIMATION ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* ===== GLOW EFFECT ===== */
.glow {
    box-shadow: 0 0 20px rgba(130, 200, 252, 0.5), 0 0 40px rgba(78, 7, 39, 0.3);
}

/* ===== CTA BUTTON ===== */
.cta-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
        z-index: -1;
    }

    .cta-button:hover::before {
        left: 100%;
    }

/* ===== SERVICE CARD ===== */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

    .service-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 25px 50px rgba(78, 7, 39, 0.2);
    }

/* ===== PROJECT CARD ===== */
.project-card {
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(78, 7, 39, 0.2);
    }

    .project-card img {
        transition: transform 0.6s ease;
    }

    .project-card:hover img {
        transform: scale(1.1);
    }

/* ===== BLOG CARD ===== */
.blog-card {
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
}

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(78, 7, 39, 0.2);
    }

    .blog-card img {
        transition: transform 0.6s ease;
    }

    .blog-card:hover img {
        transform: scale(1.1);
    }

/* ===== FAQ ACCORDION ===== */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

    .faq-item:hover {
        background-color: rgba(78, 7, 39, 0.02);
    }

.faq-question {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

    .faq-question:hover {
        color: #4e0727;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

    .faq-answer.active {
        max-height: 1000px;
        transition: max-height 1s ease-in-out;
    }

.faq-icon {
    transition: transform 0.3s ease;
}

    .faq-icon.active {
        transform: rotate(180deg);
    }

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

/* ===== SWIPER CUSTOMIZATION ===== */
.swiper-pagination-bullet {
    background: #82c8fc;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #4e0727;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #4e0727;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: #4e0727;
        color: white;
        transform: scale(1.1);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px;
        font-weight: bold;
    }

/* ===== COUNTER ===== */
.counter {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.counter-box {
    transition: transform 0.3s ease;
}

    .counter-box:hover {
        transform: translateY(-8px);
    }

/* ===== PROCESS CARD ===== */
.process-card {
    transition: all 0.4s ease;
}

    .process-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(78, 7, 39, 0.15);
    }

/* ===== VALUE CARD ===== */
.value-card {
    transition: all 0.4s ease;
}

    .value-card:hover {
        border-color: #82c8fc;
        transform: scale(1.03);
    }

/* ===== ORB FLOAT ANIMATION ===== */
@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.orb-float {
    animation: orbFloat 10s ease-in-out infinite;
}

/* ===== CTA FLOAT ANIMATION ===== */
@keyframes ctaFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-40px) scale(1.5);
        opacity: 0.8;
    }
}

.cta-float {
    animation: ctaFloat 6s ease-in-out infinite;
}

/* ===== PARALLAX SECTION ===== */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* ===== BADGE ===== */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .badge:hover {
        transform: scale(1.05);
    }

/* ===== ICON CONTAINER ===== */
.icon-container {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .icon-container:hover {
        transform: scale(1.1) rotate(6deg);
    }

/* ===== SECTION TITLE ===== */
.section-title {
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #4e0727, #82c8fc);
        border-radius: 2px;
    }

/* ===== FORM STYLES ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    transition: all 0.3s ease;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: #4e0727;
        box-shadow: 0 0 0 3px rgba(78, 7, 39, 0.1);
    }

/* ===== BUTTON STYLES ===== */
button,
.btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

    button:hover,
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    button:active,
    .btn:active {
        transform: translateY(0);
    }

/* ===== LINK STYLES ===== */
a {
    transition: all 0.3s ease;
}

/* ===== IMAGE STYLES ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 1024px) {
    .counter {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .counter {
        font-size: 2rem;
    }

    .mobile-menu a {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .counter {
        font-size: 1.75rem;
    }
}

/* ===== LOADING ANIMATION ===== */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* ===== FADE IN ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== SCALE IN ANIMATION ===== */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* ===== SLIDE IN ANIMATION ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-trabzon-bordo {
    color: #4e0727;
}

.text-trabzon-mavi {
    color: #82c8fc;
}

.bg-trabzon-bordo {
    background-color: #4e0727;
}

.bg-trabzon-mavi {
    background-color: #82c8fc;
}

.border-trabzon-bordo {
    border-color: #4e0727;
}

.border-trabzon-mavi {
    border-color: #82c8fc;
}

/* ===== HOVER EFFECTS ===== */
.hover-scale {
    transition: transform 0.3s ease;
}

    .hover-scale:hover {
        transform: scale(1.05);
    }

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

/* ===== PRINT STYLES ===== */
@media print {
    .whatsapp-float,
    .back-to-top,
    .mobile-menu,
    nav {
        display: none !important;
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid #4e0727;
    outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection {
    background-color: #4e0727;
    color: white;
}

::-moz-selection {
    background-color: #4e0727;
    color: white;
}
