/* =========== HERO SECTION =========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-color: var(--darker);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 10rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--metal-gradient), url('../../img/slider.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    z-index: 0;
    animation: heroBackground 30s ease infinite alternate;
}

@keyframes heroBackground {
    0% {
        background-position: 0% 30%;
    }
    100% {
        background-position: 100% 70%;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 50%, rgba(10, 10, 10, 0.8) 100%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.5s;
}

.hero-subtitle {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    padding-left: 5rem;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 2px;
    background-color: var(--primary);
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--light);
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
}

.hero-text {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

.hero-image {
    position: relative;
    z-index: 1;
    perspective: 1000px;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.8s;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    transform-style: preserve-3d;
    animation: rotateModel 20s linear infinite;
}

.hero-model-front,
.hero-model-side,
.hero-model-top {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.5);
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(252, 237, 1, 0.3);
    transform-style: preserve-3d;
    backface-visibility: visible;
}

.hero-model-front {
    transform: translateZ(100px);
    background: url('../../img/slider.jpg') center/cover;
    background-blend-mode: overlay;
}

.hero-model-side {
    transform: rotateY(90deg) translateZ(150px);
    background: url('../../img/slider1.jpg') center/cover;
    background-blend-mode: overlay;
}

.hero-model-top {
    transform: rotateX(-90deg) translateZ(150px);
    background: url('../../img/slider2.jpg') center/cover;
    background-blend-mode: overlay;
}

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

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 5rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    color: var(--light);
    opacity: 0.8;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.scroll-text {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
}

.scroll-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.experience-badge {
    position: absolute;
    right: 5%;
    bottom: 15%;
    background-color: var(--dark);
    color: var(--light);
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

.experience-badge::before {
    content: '';
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background-color: transparent;
    border: 2px solid var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

.experience-badge .number {
    font-size: 7rem;
    line-height: 1;
    color: var(--primary);
    font-weight: 800;
}

.experience-badge .text {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========== SERVICES SECTION =========== */
.services {
    position: relative;
    padding: 12rem 0;
    background-color: var(--light);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(252, 237, 1, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(252, 237, 1, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 8rem;
}

.section-subtitle {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.section-heading {
    font-size: 4.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1.5rem;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* Hizmet Kartları */
.service-card {
    position: relative;
    background-color: var(--light);
    border: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    padding: 0;
    border-radius: 0;
    transition: var(--transition);
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover::after {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon-wrapper {
    position: relative;
    background-color: var(--primary);
    padding: 5rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.service-icon img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    filter: brightness(0) saturate(100%);
}

.service-card:hover .service-icon {
    transform: scale(1.2);
}

.service-content {
    padding: 3rem;
    background-color: var(--light);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-card:hover .service-content {
    background-color: transparent;
}

.service-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--dark);
    transition: var(--transition);
}

.service-description {
    font-size: 1.6rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    transition: var(--transition);
}

.service-card:hover .service-title,
.service-card:hover .service-description {
    color: var(--light);
}

.service-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
    text-decoration: none;
    padding-right: 3.5rem;
    align-self: flex-start;
    transition: var(--transition);
}

.service-link::before {
    content: '→';
    position: absolute;
    right: 0;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--primary);
}

.service-card:hover .service-link::before {
    right: -5px;
}

/* =========== ABOUT SECTION =========== */
.about {
    position: relative;
    padding: 10rem 0;
    background-color: var(--darker);
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--metal-gradient), url('../../img/slider2.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    opacity: 0.2;
    z-index: 0;
}

.about-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 6rem;
    align-items: center;
}

.about-content {
    color: var(--light);
}

.about-subtitle {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    padding-left: 5rem;
}

.about-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 2px;
    background-color: var(--primary);
}

.about-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.about-text {
    font-size: 1.7rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.about-signature {
    margin-top: 4rem;
    display: flex;
    align-items: center;
}

.about-signature img {
    height: 8rem;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    margin-right: 2rem;
}

.about-signature-text {
    font-size: 1.6rem;
}

.about-signature-text strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary);
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image-main {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
}

.about-image-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-main::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--primary);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    transition: var(--transition);
}

.about-image-main:hover::after {
    top: 20px;
    left: 20px;
}

.about-stats {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background-color: var(--primary);
    color: var(--dark);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
    width: 200px;
    height: 120px;
}

.about-stats-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stats-text {
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* =========== CLIENTS SECTION =========== */
.clients {
    padding: 8rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 245, 245, 0.7);
    z-index: 0;
}

.clients-container {
    position: relative;
    z-index: 1;
}

.clients-wrapper {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.clients-track {
    display: flex;
    transition: transform 0.5s ease;
}

.client-item {
    flex: 0 0 200px;
    height: 120px;
    margin: 0 4rem;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-item:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

.client-item img {
    max-width: 100%;
    max-height: 80px;
}

/* =========== CTA SECTION =========== */
.cta {
    position: relative;
    padding: 10rem 0;
    background-color: var(--darker);
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 237, 1, 0.1) 0%, transparent 100%);
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--light);
}

.cta-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.cta-title span {
    color: var(--primary);
}

.cta-text {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
}

.cta-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    height: 6rem;
    padding: 0 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    font-size: 1.6rem;
    transition: var(--transition);
}

.cta-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    outline: none;
}

.cta-button {
    height: 6rem;
    padding: 0 3rem;
    background-color: var(--primary);
    border: none;
    color: var(--dark);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-dark);
}

/* =========== MOBILE ADJUSTMENTS =========== */
@media screen and (max-width: 1200px) {
    .hero-title {
        font-size: 5rem;
    }

    .section-heading {
        font-size: 4rem;
    }

    .about-title {
        font-size: 3.8rem;
    }
}

@media screen and (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .experience-badge {
        width: 150px;
        height: 150px;
        right: 10%;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 4rem;
    }

    .about-image-main {
        padding-bottom: 60%;
    }

    .about-stats {
        right: 0;
        bottom: -20px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .hero-title {
        font-size: 4.2rem;
    }

    .section-heading {
        font-size: 3.5rem;
    }

    .about-title {
        font-size: 3.2rem;
    }

    .cta-title {
        font-size: 3.5rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-input {
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: 3.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .section-heading {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        width: 120px;
        height: 120px;
        right: 5%;
        bottom: 5%;
    }

    .experience-badge .number {
        font-size: 5rem;
    }

    .experience-badge .text {
        font-size: 1.2rem;
    }
}