﻿
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
/* Prevent horizontal scroll */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    min-height: 90px;
}

    .navbar.scrolled {
        background: rgba(0, 0, 0, 0.95);
        padding: 20px 0;
        border-bottom-color: rgba(255, 107, 53, 0.3);
        min-height: 80px;
    }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px;
    border-radius: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo {
    width: 75px;
    height: 75px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 20px;
    border: 2px solid #ff6b35;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 16px;
        transition: all 0.4s ease;
    }

.logo-text {
    font-size: 1.9rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    border-radius: 8px;
}

    .nav-link:hover {
        color: #ff6b35;
        background: rgba(255, 107, 53, 0.1);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 2px;
        left: 50%;
        background-color: #ff6b35;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }

    .nav-link.active {
        color: #ff6b35;
        background: rgba(255, 107, 53, 0.15);
    }

.login-btn {
    all: unset;
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

    .login-btn:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, #ff8c42, #ffaa5a);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 140, 66, 0.1) 0%, transparent 50%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.05) rotate(1deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    width: 100%; /* Ekle */
    display: flex; /* Ekle */
    flex-direction: column; /* Ekle */
    align-items: center; /* Ekle */
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: #cccccc;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    animation: fadeInUp 1s ease-out 0.4s both;
    width: 100%; 
    box-sizing: border-box; 
}

.platform-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .platform-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .platform-card:hover::before {
        left: 100%;
    }

    .platform-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
        border-color: #ff6b35;
    }

.card-icon {
    font-size: 2.5rem;
    color: #ff6b35;
    min-width: 60px;
    transition: all 0.3s ease;
}

.platform-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-content p {
    color: #cccccc;
    font-size: 1rem;
}

.card-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    color: #ff6b35;
    transition: transform 0.3s ease;
}

.platform-card:hover .card-arrow {
    transform: translateX(10px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #111111, #1a1a1a);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease-out;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 30px;
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.working-hours {
    animation: fadeInRight 1s ease-out 0.3s both;
}

    .working-hours h3 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        color: #ff6b35;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .working-hours h3 i {
            animation: clockTick 2s ease-in-out infinite;
        }

@keyframes clockTick {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-15deg);
    }
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

    .hour-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .hour-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .hour-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .hour-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .hour-item:nth-child(5) {
        animation-delay: 0.5s;
    }

    .hour-item:nth-child(6) {
        animation-delay: 0.6s;
    }

    .hour-item:nth-child(7) {
        animation-delay: 0.7s;
    }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hour-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.hour-item.closed {
    border-left-color: #666666;
    opacity: 0.7;
}

.day {
    font-weight: 600;
    color: #ffffff;
}

.time {
    color: #cccccc;
    font-weight: 500;
}

.closed .time {
    color: #999999;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.phone-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.phone-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.contact-icon {
    font-size: 2rem;
    color: #ff6b35;
    min-width: 50px;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
    color: #ff8c42;
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-details p {
    color: #cccccc;
    line-height: 1.6;
}

.contact-details a {
    color: #ff6b35;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .contact-details a:hover {
        color: #ff8c42;
        text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    }

.map-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-link {
    display: block;
    width: 100%;
    height: 350px;
    text-decoration: none;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

    .map-link:hover {
        border-color: #ff6b35;
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
    }

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #ffffff;
    font-size: 3rem;
    transition: all 0.3s ease;
}

    .map-placeholder:hover {
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 140, 66, 0.2));
    }

    .map-placeholder i {
        animation: mapPulse 2s ease-in-out infinite;
    }

@keyframes mapPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.map-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #000000;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .footer p {
        color: #999999;
        font-size: 0.9rem;
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .about-content {
        gap: 40px;
    }

    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 25px;
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 107, 53, 0.3);
    }

        .nav-menu.active {
            left: 0;
        }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logo {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .navbar {
        padding: 15px 0;
    }

        .navbar.scrolled {
            padding: 12px 0;
        }

    /* Hero Section Mobile Fix */
    .hero {
        padding-top: 90px;
        min-height: calc(100vh - 90px); /* height yerine min-height kullan */
        height: auto; /* Ekle - içeriğe göre genişleyebilsin */
        justify-content: flex-start;
        align-items: flex-start;
        padding-bottom: 40px; /* Ekle - alt boşluk */
    }

    .hero-content {
        padding: 40px 20px 40px; /* Alt padding ekle */
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

  
    .hero-title {
        font-size: 2.5rem;
        margin-top: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .platform-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px; /* Ekle - alt margin */
        justify-items: center;
        padding: 0 30px;
        place-items: center;
    }

    .platform-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        max-width: 280px; /* 320px'den küçült */
        width: 100%;
        margin: 0 auto; /* Ekle */
    }

    .card-arrow {
        margin-left: 0;
        margin-top: 10px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phone-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .phone-card {
        padding: 20px 15px;
    }

    .map-link {
        height: 250px;
    }

    .working-hours h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 15px 0;
        min-height: 75px;
    }

        .navbar.scrolled {
            padding: 12px 0;
            min-height: 70px;
        }

    .logo {
        width: 45px;
        height: 45px;
        padding: 3px;
        border-radius: 16px;
        border-width: 2px;
    }

        .logo img {
            border-radius: 12px;
        }

    .logo-text {
        font-size: 1.3rem;
    }

    /* Hero Section Mobile Fix for smaller screens */
    .hero {
        padding-top: 75px;
        min-height: calc(100vh - 75px); /* height yerine min-height kullan */
        height: auto; /* Ekle - içeriğe göre genişleyebilsin */
        justify-content: flex-start;
        align-items: flex-start;
        padding-bottom: 30px; /* Ekle - alt boşluk */
    }

    .hero-content {
        padding: 30px 15px 30px; /* Alt padding ekle */
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
        margin-top: 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .platform-cards {
        margin-top: 25px;
        margin-bottom: 25px; 
        justify-items: center;
        padding: 0 25px;
        place-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .platform-card {
        padding: 15px;
        max-width: 300px;
        width: 100%;
    }

    .contact-item {
        padding: 15px;
    }

    .about-text {
        font-size: 1.1rem;
    }

    .nav-menu {
        top: 75px;
        padding: 20px 0;
        gap: 20px;
    }

    .login-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}