/* Hero Slider Widget Styles */
.hero-slider {
    position: relative;
    width: calc(100% + 20px);
    height: 100vh;
    overflow: hidden;
    margin: -10px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--background-color);
    z-index: 1;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Safari ve iOS için özel stiller */
@supports (-webkit-touch-callout: none) {
    .background-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        transform: none;
    }
}

/* Video kontrollerini gizle */
.background-video::-webkit-media-controls,
.background-video::-webkit-media-controls-panel,
.background-video::-webkit-media-controls-panel-container,
.background-video::-webkit-media-controls-start-playback-button,
.background-video::-webkit-media-controls-play-button,
.background-video::-webkit-media-controls-overlay-play-button,
.background-video::-webkit-media-controls-play-button,
.background-video::-webkit-media-controls-timeline,
.background-video::-webkit-media-controls-current-time-display,
.background-video::-webkit-media-controls-time-remaining-display,
.background-video::-webkit-media-controls-time-remaining-display,
.background-video::-webkit-media-controls-mute-button,
.background-video::-webkit-media-controls-toggle-closed-captions-button,
.background-video::-webkit-media-controls-volume-slider,
.background-video::-webkit-media-controls-fullscreen-button {
    display: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: fixed !important;
    top: -100px !important;
    left: -100px !important;
}

.background-video::-webkit-media-controls-container {
    display: none !important;
    -webkit-appearance: none !important;
}

.background-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero-background-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    pointer-events: none;
}

/* Safari için ek stiller */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .background-video {
            pointer-events: none !important;
            user-select: none !important;
            -webkit-user-select: none !important;
        }
        
        .background-video::-webkit-media-controls {
            display: none !important;
        }
        
        .video-wrapper {
            pointer-events: none !important;
        }
    }
}

/* iOS için ek stiller */
@supports (-webkit-touch-callout: none) {
    .background-video {
        pointer-events: none !important;
        user-select: none !important;
        -webkit-user-select: none !important;
    }
    
    .video-wrapper {
        pointer-events: none !important;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 0 30px;
    text-align: left;
    width: 100%;
}

.hero-content-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 4em;
    color: var(--white);
    margin: 0 0 30px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2em;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-button {
    display: inline-flex;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1em;
}

/* Navigation Wrapper */
.hero-navigation-wrapper {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
    position: relative;
    bottom: 0 !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Progress Bar */
.hero-progress {
    width: 100%;
    max-width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-progress-bar {
    height: 100%;
    width: 0;
    background: var(--primary-color);
    transition: width 0.1s linear;
}

/* Active Slide Animations */
.frontend-active.swiper-slide-active .hero-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content {
        padding: 0 50px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5em;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3em;
    }
    
    .hero-subtitle {
        font-size: 1.3em;
    }
    
    .hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.2em;
    }
    
    .hero-description {
        font-size: 1em;
    }
    
    .hero-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

/* About Section Widget Styles */
.about-section {
    padding: 100px 0;
    background-color: var(--background-color);
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-subtitle {
    font-size: 16px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.about-title {
    font-size: 48px;
    color: var(--white);
    margin: 0 0 30px;
    line-height: 1.2;
    font-weight: 700;
}

.about-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    white-space: pre-line;
}

.about-description p {
    margin: 0 0 20px 0;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.experience-counter {
    margin-top: 50px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.counter-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid var(--primary-color);
    padding: 15px 25px;
    background-color: transparent;
    min-width: 120px;
}

.counter-box::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 15px;
    height: 15px;
    border-top: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.counter-box::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: -3px;
    width: 15px;
    height: 15px;
    border-bottom: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.counter-number {
    font-size: 96px;
    color: var(--white);
    font-weight: 700;
    line-height: 1;
    position: relative;
    margin: 0;
    padding-left: 0.4em;
}

.counter-number::before {
    content: '+';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 0.6em;
}

.counter-text {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-top: 15px;
}

.about-media {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.video-container,
.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-video,
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Görsel container'ı için webkit özel stil */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .image-container {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
        mask-image: -webkit-radial-gradient(white, black);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-content {
        padding: 0 50px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 50px;
    }

    .about-text {
        max-width: 100%;
        text-align: left;
    }

    .experience-counter {
        width: 100%;
        justify-content: flex-start;
    }

    .about-media {
        width: 100%;
        min-height: 400px;
    }

    .about-title {
        font-size: 36px;
    }

    .secondary-image {
        right: 0;
        width: 70%;
        height: 70%;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        padding: 0 30px;
    }

    .about-title {
        font-size: 32px;
        text-align: left;
    }

    .about-subtitle {
        text-align: left;
    }

    .about-description {
        text-align: left;
    }

    .experience-counter {
        gap: 15px;
        justify-content: flex-start;
    }

    .counter-box {
        padding: 12px 20px;
        min-width: 100px;
    }

    .counter-number {
        font-size: 72px;
    }
    
    .counter-number::before {
        font-size: 0.5em;
        left: 0;
        top: 0.15em;
    }

    .secondary-image {
        width: 60%;
        height: 60%;
    }
}

@media (max-width: 576px) {
    .about-content {
        padding: 0 20px;
    }

    .about-title {
        font-size: 28px;
    }

    .about-description {
        font-size: 14px;
    }

    .about-description p {
        margin: 0 0 15px 0;
    }

    .about-media {
        min-height: 300px;
    }

    .experience-counter {
        gap: 12px;
        width: 100%;
        justify-content: flex-start;
    }

    .counter-box {
        padding: 10px 15px;
        min-width: 80px;
    }

    .counter-number {
        font-size: 56px;
    }
    
    .counter-number::before {
        font-size: 0.45em;
        left: 0;
        top: 0.2em;
    }

    .secondary-image {
        width: 50%;
        height: 50%;
        right: 10px;
    }
}

/* Projects Widget Styles */
.elementor-widget-projects {
    position: relative;
    z-index: 0;
}

.projects-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--background-color);
    overflow: visible;
}

.projects-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.projects-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.projects-title {
    font-size: 36px;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 15px;
}

.projects-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.project-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    padding-top: 55%; /* 2:1 Aspect Ratio */
}

.project-item:hover {
    transform: translateY(-10px);
    border-color: #fff;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.project-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 20px;
    color: var(--white);
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    z-index: 2;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.project-item:hover .project-title {
    transform: translate(-50%, -50%) scale(1.05);
}

.projects-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.projects-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.projects-button:hover {
    background-color: var(--white);
    color: var(--background-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .elementor-widget-projects {
        position: relative;
        z-index: 0;
    }

    .project-image {
        height: 120%;
        top: 50%;
        transform: translateY(-50%);
    }

    .projects-button-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Projects Background Animation */
.projects-section[data-background] .projects-background {
    background-image: var(--bg-image);
}

@keyframes continuousZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

.projects-background.hover {
    animation: continuousZoom 8s linear infinite;
}

/* Feature Cards Widget Styles */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 30px;
    width: 100%;
}

.feature-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::after {
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.feature-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 2;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.3;
    color: #fff;
    font-family: sans-serif;
}

.feature-icon {
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: var(--primary-color);
}

.feature-icon i {
    font-size: 28px;
    width: auto;
    height: auto;
    line-height: 1;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #fff;
    width: 100%;
    padding-right: 40px;
}

.feature-description {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
    padding-right: 40px;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .feature-cards {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 1200px) {
    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .feature-number {
        font-size: 64px;
    }
}

@media (max-width: 992px) {
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .feature-content {
        padding: 20px;
    }

    .feature-number {
        font-size: 56px;
        top: 15px;
        right: 20px;
        opacity: 0.25;
    }

    .feature-title {
        font-size: 22px;
        margin-bottom: 8px;
        padding-right: 30px;
    }

    .feature-description {
        font-size: 14px;
        padding-right: 30px;
    }

    .feature-icon {
        margin-bottom: 12px;
    }

    .feature-icon i,
    .feature-icon svg {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 576px) {
    .feature-card {
        aspect-ratio: 16/10;
    }

    .feature-content {
        padding: 20px;
    }

    .feature-number {
        font-size: 48px;
        top: 10px;
        right: 15px;
    }

    .feature-title {
        font-size: 20px;
        padding-right: 25px;
    }

    .feature-description {
        padding-right: 25px;
    }

    .feature-icon i,
    .feature-icon svg {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }
} 