/* Reset ve Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a237e;
    --secondary-color: #ff6d00;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 26%;
}

.logo img {
    height: 5vh;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.language-switch {
    display: flex;
    gap: 0.5rem;
}

.language-switch button {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.language-switch button:hover {
    background: var(--primary-color);
    color: white;
}

.language-switch button.current-lang {
    background: var(--primary-color);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* iPhone 15 ve benzeri cihazlar için özel kurallar */
@media screen and (max-width: 430px) {
    .header .container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.8vh 1.5vw !important;
        gap: 1.5vw !important;
    }

    .logo {
        max-width: 48% !important;
        flex-shrink: 1 !important;
    }

    .logo img {
        height: 4vh !important;
        max-width: 100% !important;
        width: auto !important;
    }

    .hamburger {
        display: flex !important;
        width: 25px !important;
        height: 18px !important;
    }

    .hamburger span {
        height: 2px !important;
    }
}

/* iPhone 15 Pro ve benzeri cihazlar */
@media screen and (max-width: 393px) {
    .header .container {
        padding: 0.6vh 1vw !important;
        gap: 1vw !important;
    }

    .logo {
        max-width: 52% !important;
    }

    .logo img {
        height: 3.8vh !important;
    }
}

/* iPhone 15 Pro Max ve benzeri cihazlar */
@media screen and (max-width: 430px) and (min-width: 394px) {
    .header .container {
        padding: 0.3rem 0.5rem !important;
        gap: 0.4rem !important;
    }

    .logo {
        max-width: 70px !important;
    }

    .logo img {
        height: 22px !important;
        max-width: 70px !important;
    }
}

/* Mobil Görünüm */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1vh 2vw;
        gap: 2vw;
    }

    .logo {
        max-width: 40%;
        flex-shrink: 1;
    }

    .logo img {
        height: 4.2vh;
        max-width: 100%;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 1rem 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 0.5rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .language-switch {
        margin-top: 1rem;
    }
}

/* Hero Bölümü */
.hero {
    background-color: var(--light-gray);
    color: var(--text-color);
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Hizmetler Grid */
.services {
    padding: 8rem 0;
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

/* Footer Stili */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.footer-info p {
    text-align: center;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Tasarım - Yüzde değerleri ile */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo {
        max-width: 30%;
    }
    
    .logo img {
        height: 4.6vh;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1vh 2vw;
        gap: 2vw;
    }

    .logo {
        max-width: 40%;
        flex-shrink: 1;
    }

    .logo img {
        height: 4.2vh;
        max-width: 100%;
    }

    .nav ul {
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 45%;
    }
    
    .logo img {
        height: 4vh;
    }
    
    .header .container {
        padding: 0.8vh 1.5vw;
        gap: 1.5vw;
    }
}

@media (max-width: 360px) {
    .logo {
        max-width: 50%;
    }
    
    .logo img {
        height: 3.8vh;
    }
    
    .header .container {
        padding: 0.6vh 1vw;
        gap: 1vw;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Ürün Kartları */
.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.product-card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    transition: all 0.3s ease;
}

.product-card:hover .product-card-content {
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.product-card:hover h3 {
    transform: translateY(-5px);
    color: var(--secondary-color);
}

.product-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.product-card:hover p {
    transform: translateY(-5px);
} 