* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden; /* prevent scrolling */
    background: url('assets/temizodaslide.jpg') no-repeat center center/cover;
}

/* Prevent image dragging */
.nodrag, img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
}

/* Fog overlay */
.background-fog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* 50% opacity */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100% - 150px); /* Leave space for marquee */
    color: #1a1a1a;
    text-align: center;
    padding: 0 20px;
}

.logo {
    max-width: 350px;
    margin-bottom: 40px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
    animation: fadeInDown 1s ease-out;
}

.title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(255,255,255,0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #444;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.contact-boxes {
    display: flex;
    gap: 30px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 20px 30px;
    border-radius: 12px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.contact-box:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.contact-box svg {
    color: #0056b3;
    stroke: currentColor;
    transition: all 0.3s ease;
}

.contact-box:hover svg {
    transform: scale(1.1);
}

/* Marquee Bar */
.marquee-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.marquee {
    display: flex;
    width: max-content; /* important for perfect smooth loop */
    animation: scroll 40s linear infinite; /* slower for more logos */
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 80px; /* Use gap instead of space-around */
    padding-right: 80px; /* Match the gap so the loop is seamless */
}

.marquee-content img {
    height: 90px;
    max-width: 250px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.marquee-content img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .contact-boxes {
        flex-direction: column;
        gap: 15px;
    }
    .contact-box {
        width: 100%;
        justify-content: center;
    }
}
