/* ==========================================================================
   Navigation Dropdown Styles
   ========================================================================== */
.navigation .has-dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: white !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    min-width: 200px !important;
}

.navigation .has-submenu:hover .submenu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    background: white !important;
    z-index: 9999 !important;
}

body {
    font-family: 'campton', sans-serif;
    background: #ffffff;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

/* ==========================================================================
   Section 1 - Bulutlu Başlık (Hero Section)
   ========================================================================== */
@keyframes floatCloud1 {
    0% {
        transform: translateX(480px) translateY(0px);
        opacity: 0.6;
    }

    50% {
        transform: translateX(0px) translateY(-15px);
        opacity: 0.9;
    }

    100% {
        transform: translateX(480px) translateY(0px);
        opacity: 0.6;
    }
}

@keyframes floatCloud2 {
    0% {
        transform: translateX(0px) translateY(0px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(-460px) translateY(20px);
        opacity: 0.5;
    }

    100% {
        transform: translateX(0px) translateY(0px);
        opacity: 0.8;
    }
}

@keyframes driftFog {
    0% {
        transform: translateX(-2%);
    }

    50% {
        transform: translateX(2%);
    }

    100% {
        transform: translateX(-2%);
    }
}

@keyframes driftMountains {
    0% {
        transform: translateY(0px) translateZ(0);
    }

    50% {
        transform: translateY(-30px) translateZ(0);
    }

    100% {
        transform: translateY(0px) translateZ(0);
    }
}

.hero-cloud-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding-top: 5vh;
    background-color: #1a1a2e;
    background-image: url('/public/icons/hero-background.webp');
    background-size: cover;
    background-position: center;
    overflow: visible;
    height: 50vh;
    -webkit-mask-image: linear-gradient(to bottom, black 100%, transparent 0%);
    mask-image: linear-gradient(to bottom, black 100%, transparent 0%);
}

.cloud-img-1 {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 280px;
    z-index: 1;
    pointer-events: none;
    animation: floatCloud1 15s ease-in-out infinite;
}

.cloud-img-2 {
    position: absolute;
    top: 35%;
    right: 5%;
    width: 350px;
    z-index: 1;
    pointer-events: none;
    animation: floatCloud2 10s ease-in-out infinite;
}

.fog-img {
    position: absolute;
    bottom: -20px;
    left: -5%;
    width: 110%;
    height: 200px;
    object-fit: cover;
    z-index: 2;
    opacity: 0.6;
    pointer-events: none;
    animation: driftFog 5s ease-in-out infinite;
}

.mountain {
    width: 100%;
    position: relative;
    height: 640px;
    object-fit: cover;
    object-position: top center;
    z-index: 3;
    margin-top: -340px;
    -webkit-mask-image: linear-gradient(to bottom, black 100%, transparent 0%);
    mask-image: linear-gradient(to bottom, black 100%, transparent 0%);
    animation: driftMountains 10s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
}

.big-cloud {
    position: relative;
    top: 0%;
    left: 0%;
    margin-top: -450px;
    z-index: 3;
    background: linear-gradient(0deg, #f7f7f7 0%, transparent 50%);
    opacity: 1.3;
    -webkit-mask-image: linear-gradient(to bottom, black 100%, transparent 0%);
    mask-image: linear-gradient(to bottom, black 100%, transparent 0%);
    width: 100%;
    pointer-events: none;
}

.hero-badge {
    position: relative;
    z-index: 10;
    background: none;
    backdrop-filter: none;
    border: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 0.5px;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: -40px;
}

.hero-title {
    position: relative;
    z-index: 2;
    font-size: 156px;
    color: #ffffff;
    margin: 0;
    font-weight: 900;
    letter-spacing: 0px;
    margin-top: -10px;
}

/* ==========================================================================
   Section 2 - Sticky Card Projeler
   ========================================================================== */
.projects-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 80px 0;
    position: relative;
    background-color: #ffffff;
    margin-top: -50px;
}

.card-sticky {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
    border-radius: 0px;
    padding: 0px;
    margin-bottom: 80px;
    transition: transform 0.3s ease;
    position: sticky;
}

.card-sticky:nth-of-type(1) {
    top: 120px;
    z-index: 1;
}

.card-sticky:nth-of-type(2) {
    top: 150px;
    z-index: 2;
}

.card-sticky:nth-of-type(3) {
    top: 180px;
    z-index: 3;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.card-title {
    margin: 0 0 10px 0;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-left: 24px;
    text-shadow: 0 10px 25px rgba(239, 71, 111, 0.3);
}

.card-subtitle {
    margin: 0;
    color: #666;
    font-size: 1.4rem;
}

.card-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #ef476f;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(239, 71, 111, 0.3);
    margin-right: 20px;
}

.card-action-btn:hover {
    background-color: #312f2f;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
}

.card-image-wrapper {
    margin: 0;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    object-fit: cover;
    border-radius: 0px;
    position: relative;
    z-index: -1;
    margin-top: -140px;
}

.card-tag {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    font-weight: 700;
    color: #e8dfdf;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Section 3 - Contact Banner
   ========================================================================== */
.contact-banner {
    max-width: 100%;
    height: 450px;
    margin: 120px auto 80px auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    background-image: url('/public/icons/container-background.png');
    background-size: cover;
    background-position: center;
    border-radius: 0px;
    margin-top: -100px;

}

.banner-img-container {
    width: 100%;
    max-width: 1920px;
    height: 100%;
    overflow: visible;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: -30px;
    transition: all 0.5s ease-in-out;
}

.laptop-img {
    width: 420px;
    height: auto;
    margin-top: -20px;
    margin-left: -20px;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mouse-img {
    width: 350px;
    height: auto;
    object-fit: cover;
    margin-top: 50px;
    margin-right: 50px;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
}

.contact-banner:hover .mouse-img {
    transform: scale(1.05) translateX(30px) translateY(-30px) !important;
}

.contact-banner:hover .laptop-img {
    transform: scale(1.05) translateX(-30px) translateY(-30px) !important;
}

.contact-banner-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    text-align: center;
    padding: 0 40px;
    margin-top: -300px;
    position: relative;
    z-index: 100;
    text-shadow: 0 5px 15px rgba(255, 255, 255, 0.8);
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 320px;
    height: 65px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-family: 'Campton', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    background-color: #000000;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.548);
    position: relative;
    z-index: 100;
}

.contact-button:hover {
    background-color: #ffffffc1;
    color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(49, 48, 48, 0.368);
    width: 400px;
}

.contact-button-arrow {
    font-size: 24px;
}

/* ==========================================================================
   Responsive - Tablet (768px ve altı)
   ========================================================================== */
@media (max-width: 768px) {
    .hero-cloud-section {
        height: 35vh;
        padding-top: 3vh;
        gap: 12px;
    }

    .hero-badge {
        font-size: 14px;
        margin-bottom: -20px;
    }

    .hero-title {
        font-size: 64px;
        letter-spacing: -2px;
        margin-top: -5px;
    }

    .cloud-img-1 {
        width: 150px;
        top: 10%;
        left: 2%;
    }

    .cloud-img-2 {
        width: 180px;
        top: 25%;
        right: 2%;
    }

    .fog-img {
        height: 120px;
    }

    .mountain {
        height: 350px;
        margin-top: -180px;
    }

    .big-cloud {
        margin-top: -250px;
    }

    .projects-container {
        max-width: 95%;
        padding: 40px 0;
        margin-top: -30px;
    }

    .card-sticky {
        margin-bottom: 40px;
    }

    .card-sticky:nth-of-type(1) { top: 80px; }
    .card-sticky:nth-of-type(2) { top: 100px; }
    .card-sticky:nth-of-type(3) { top: 120px; }

    .card-header-flex {
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .card-title {
        font-size: 1.8rem;
        margin-left: 10px;
    }

    .card-action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin-right: 10px;
    }

    .card-image {
        height: 50vh;
        min-height: 300px;
        max-height: 450px;
        margin-top: -80px;
    }

    .card-tag {
        bottom: 15px;
        left: 15px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .contact-banner {
        height: 350px;
        margin-top: -60px;
        margin-bottom: 40px;
    }

    .banner-img-container {
        margin-top: -15px;
    }

    .laptop-img {
        width: 220px;
        margin-left: -10px;
        margin-top: -10px;
    }

    .mouse-img {
        width: 180px;
        margin-top: 30px;
        margin-right: 10px;
    }

    .contact-banner-title {
        font-size: 22px;
        margin-top: -200px;
        padding: 0 20px;
    }

    .contact-button {
        width: 260px;
        height: 55px;
        font-size: 16px;
        margin-top: 20px;
    }

    .contact-button:hover {
        width: 280px;
    }
}

/* ==========================================================================
   Responsive - Mobil (480px ve altı)
   ========================================================================== */
@media (max-width: 480px) {
    .hero-cloud-section {
        height: 28vh;
        padding-top: 2vh;
        gap: 8px;
    }

    .hero-badge {
        font-size: 11px;
        margin-bottom: -12px;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: -1px;
        margin-top: 10px;
    }

    .mountain {
        height: 250px;
        margin-top: -100px;
    }

    .big-cloud {
        margin-top: -120px;
    }

    .projects-container {
        max-width: 100%;
        padding: 20px 10px;
        margin-top: -20px;
    }

    .card-sticky {
        margin-bottom: 30px;
    }

    .card-sticky:nth-of-type(1) { top: 70px; }
    .card-sticky:nth-of-type(2) { top: 85px; }
    .card-sticky:nth-of-type(3) { top: 100px; }

    .card-header-flex {
        margin-bottom: 15px;
    }

    .card-title {
        font-size: 1.4rem;
        margin-left: 8px;
    }

    .card-action-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 5px;
    }

    .card-image {
        height: 40vh;
        min-height: 220px;
        max-height: 350px;
        margin-top: -60px;
    }

    .card-tag {
        bottom: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .contact-banner {
        height: auto;
        min-height: 300px;
        margin-top: -30px;
        margin-bottom: 20px;
        padding-bottom: 30px;
    }

    .banner-img-container {
        margin-top: -10px;
    }

    .laptop-img {
        width: 140px;
        margin-left: -5px;
    }

    .mouse-img {
        width: 120px;
        margin-top: 30px;
        margin-right: 5px;
    }

    .contact-banner-title {
        font-size: 18px;
        margin-top: -160px;
        padding: 0 15px;
        line-height: 1.4;
    }

    .contact-button {
        width: 220px;
        height: 50px;
        font-size: 15px;
        margin-top: 15px;
    }

    .contact-button:hover {
        width: 240px;
    }

    .contact-button-arrow {
        font-size: 18px;
    }
}