/*====================================
  RESET & VARIABLES
====================================*/

:root {
    --primary: #d90429;
    --primary-dark: #b00020;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #555;
    --border: #ececec;

    --shadow: 0 15px 40px rgba(0, 0, 0, .08);
    --radius: 18px;
    --transition: .35s ease;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #fff;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: auto;
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text);
}

/*====================================
  BUTTONS
====================================*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #111;
}

/*====================================
  HEADER
====================================*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: .3s;
}

.header.scrolled {
    background: #111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.logo span {
    color: var(--primary);
}

.navbar {
    display: flex;
    gap: 32px;
}

.navbar a {
    color: #fff;
    font-weight: 500;
    position: relative;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .3s;
}

.navbar a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.call-btn {
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
}

.menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

/*====================================
  HERO
====================================*/

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url("images/hero.webp") center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, .82),
            rgba(0, 0, 0, .55));
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    max-width: 620px;
    color: #ddd;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 35px;
    color: #ddd;
}

.hero-features i {
    color: var(--primary);
    margin-right: 8px;
}

.hero-cards {
    display: grid;
    gap: 20px;
}

.hero-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-card.red {
    background: var(--primary);
    color: #fff;
}

.hero-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.hero-card.red i {
    color: #fff;
}

/*====================================
    SERVICES
====================================*/

.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: .4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(217, 4, 41, .1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text);
    margin-bottom: 20px;
}

.service-card ul {
    display: grid;
    gap: 10px;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.service-card li i {
    color: var(--primary);
}

.featured {
    background: linear-gradient(135deg, #d90429, #9d021e);
    color: #fff;
}

.featured p,
.featured li,
.featured h3 {
    color: #fff;
}

.featured .icon {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.featured .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: #fff;
    font-weight: 600;
}

.featured-badge {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/*====================================
    ABOUT
====================================*/

.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.experience-box {
    position: absolute;
    right: -20px;
    bottom: 30px;
    background: var(--primary);
    color: #fff;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    min-width: 180px;
}

.experience-box h3 {
    font-size: 2.6rem;
    margin-bottom: 5px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 15px 0 20px;
}

.about-content p {
    color: var(--text);
    margin-bottom: 35px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px;
    background: #fafafa;
    border-radius: 12px;
}

.about-features i {
    color: var(--primary);
}

/*====================================
    RS EXPERTİZ
====================================*/

.rs-expertiz {
    background: #111;
    color: #fff;
}

.rs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.rs-image img {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}

.rs-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 20px 0;
}

.rs-content p {
    color: #d6d6d6;
    margin-bottom: 35px;
}

.rs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.rs-list div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rs-list i {
    color: var(--primary);
}

/*====================================
    MOBILE
====================================*/

@media(max-width:992px) {

    .hero-grid,
    .about-grid,
    .rs-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .experience-box {
        position: static;
        margin-top: 20px;
        width: 100%;
    }

}

@media(max-width:768px) {

    .about-features,
    .rs-list {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .service-card,
    .hero-card {
        padding: 25px;
    }

}

/*====================================
    STATS
====================================*/

.stats {
    background: linear-gradient(135deg, #d90429, #8f001c);
    color: #fff;
    padding: 90px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: .35s;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .15);
}

.stat-card h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.stat-card p {
    color: #f3f3f3;
}

/*====================================
    PROCESS
====================================*/

.process {
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.process-card {
    position: relative;
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .35s;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-card span {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(217, 4, 41, .12);
}

.process-card i {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(217, 4, 41, .1);
    color: var(--primary);
    font-size: 2rem;
}

.process-card h3 {
    margin-bottom: 15px;
}

.process-card p {
    color: var(--text);
}

/*====================================
    GALLERY
====================================*/

.gallery {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/*====================================
    TESTIMONIALS
====================================*/

.testimonials {
    background: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.stars {
    color: #ffb400;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: var(--text);
    margin-bottom: 25px;
}

.customer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/*====================================
    RESPONSIVE
====================================*/

@media(max-width:768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-row: auto;
    }

    .stat-card h2 {
        font-size: 2.4rem;
    }

    .process-card {
        padding: 30px 20px;
    }

}

/*====================================
    CONTACT
====================================*/

.contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 25px;
}

.info-card {
    display: flex;
    gap: 18px;
    padding: 25px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid var(--border);
}

.info-card i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.info-card h4 {
    margin-bottom: 8px;
}

.info-card p,
.info-card a {
    color: var(--text);
}

.contact-form {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    transition: .3s;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/*====================================
    MAP
====================================*/

.map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/*====================================
    FOOTER
====================================*/

.footer {
    background: #111;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 70px 0;
}

.footer h3,
.footer h4 {
    margin-bottom: 18px;
}

.footer p,
.footer a {
    color: #c8c8c8;
    display: block;
    margin-bottom: 10px;
    transition: .3s;
}

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #999;
}

/*====================================
    WHATSAPP BUTTON
====================================*/

.whatsapp-btn {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    z-index: 999;
    transition: .3s;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
}

/*====================================
    SCROLL TOP
====================================*/

.scroll-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    transition: .3s;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/*====================================
    MOBILE MENU
====================================*/

@media (max-width:992px) {

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .call-btn {
        display: none;
    }

    .navbar {
        position: fixed;
        top: 82px;
        left: 0;
        width: 100%;
        background: #111;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: .35s;
    }

    .navbar.active {
        max-height: 420px;
        padding: 20px 0;
    }

    .navbar a {
        width: 100%;
        text-align: center;
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        text-align: center;
    }

}

@media (max-width:768px) {

    section {
        padding: 70px 0;
    }

    .container {
        width: 94%;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-grid,
    .testimonial-grid,
    .stats-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item.large {
        grid-row: auto;
    }

    .whatsapp-btn,
    .scroll-top {
        width: 52px;
        height: 52px;
        right: 15px;
    }

    .whatsapp-btn {
        bottom: 80px;
    }

    .scroll-top {
        bottom: 15px;
    }
}

/*====================================
        BRAND SLIDER
====================================*/

.brands {
    background: #fff;
    overflow: hidden;
}

.brand-slider {
    width: 100%;
    overflow: hidden;
    margin-top: 50px;
}

.brand-track {
    display: flex;
    width: max-content;
    animation: brandScroll 25s linear infinite;
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-item {
    width: 220px;
    height: 110px;

    margin: 0 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    font-size: 28px;

    font-weight: 700;

    color: #444;

    transition: .35s;
}

.brand-item:hover {

    background: var(--primary);

    color: #fff;

    transform: translateY(-8px);

}

@keyframes brandScroll {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-50%);

    }

}