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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header ve Navigasyon */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.7rem 2rem;
    height: 80px;
}

.logo {
    height: 55px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 218px;
    height: 55px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
}

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

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: attr(width) / attr(height);
}

/* Hero Section Modernization */
#hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(44,62,80,0.65)), url('../images/hero-image.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

#hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 1px 0 #222;
    letter-spacing: -1px;
}

#hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    color: #ffffff;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    box-shadow: 0 6px 24px rgba(52,152,219,0.25);
    position: relative;
    overflow: hidden;
}
.cta-button:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 32px rgba(52,152,219,0.25);
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}
.scroll-down a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.scroll-down a:hover {
    opacity: 1;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

@media (max-width: 900px) {
    #hero h1 { font-size: 2.2rem; }
    #hero p { font-size: 1.1rem; }
    .hero-content { padding: 0 1rem; }
}
@media (max-width: 600px) {
    #hero { min-height: 350px; }
    .cta-button { font-size: 1rem; padding: 0.9rem 1.5rem; }
    .scroll-down { bottom: 16px; }
}

/* Hakkımda Section */
#hakkimda {
    padding: 100px 0;
    background-color: #f9f9f9;
}

#hakkimda h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

#hakkimda p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Projeler Section */
#projeler {
    padding: 100px 0;
}

#projeler h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.proje-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.proje-karti {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.proje-karti:hover {
    transform: translateY(-5px);
}

.proje-resim {
    height: 200px;
    overflow: hidden;
}

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

.proje-karti h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #2c3e50;
}

.proje-karti p {
    padding: 0 1.5rem 1rem;
    color: #666;
}

.proje-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.proje-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #3498db);
}

/* İletişim Section */
#iletisim {
    padding: 100px 0;
    background-color: #f9f9f9;
}

#iletisim h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.iletisim-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.iletisim-resim {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.iletisim-resim img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.iletisim-resim:hover img {
    transform: scale(1.05);
}

.iletisim-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #1a5276;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    font-weight: 600;
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background-color: #154360;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 5px;
    color: white;
    display: none;
    z-index: 1000;
}

.notification.success {
    background-color: #27ae60;
}

.notification.error {
    background-color: #e74c3c;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2c3e50;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:last-child {
    bottom: 0;
}

.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 50%;
}

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

.hamburger.active span:last-child {
    transform: rotate(-45deg);
    bottom: 40%;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1101;
    }
    nav {
        padding: 1rem;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 0;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(8px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
        transition: height 0.4s cubic-bezier(.4,2,.6,1);
        z-index: 1100;
        box-shadow: 0 8px 32px rgba(44,62,80,0.08);
    }
    .nav-menu.active {
        height: 260px;
        box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    }
    .nav-menu li {
        margin: 1.2rem 0;
    }
    .nav-menu li a {
        font-size: 1.3rem;
        color: #2c3e50;
        font-weight: 600;
        letter-spacing: 1px;
        transition: color 0.2s;
    }
    .nav-menu li a:hover {
        color: #3498db;
    }
    .logo {
        height: 50px;
    }
    .iletisim-container {
        grid-template-columns: 1fr;
    }
    .iletisim-resim {
        display: none;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* Smooth scroll için */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Header yüksekliği kadar padding */
}

/* Icon Styles */
.icon {
    vertical-align: middle;
    margin-right: 8px;
}

.social-links .icon {
    margin-right: 0;
    transition: transform 0.3s ease;
}

.social-links a:hover .icon {
    transform: scale(1.1);
}

/* Remove Font Awesome styles */
[class^="fa-"]:before {
    display: none;
}

.fa-linkedin,
.fa-github,
.fa-envelope,
.fa-phone {
    display: none;
}

/* Sabit Butonlar */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.fixed-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    padding: 0;
}

.fixed-button .icon {
    width: 28px;
    height: 28px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-button.whatsapp .icon {
    width: 32px;
    height: 32px;
}

.fixed-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.fixed-button.whatsapp {
    background-color: #25D366;
    color: white;
}

.fixed-button.search {
    background-color: #3498db;
    color: white;
}

/* Arama Modalı */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.close-search {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.close-search:hover {
    color: #333;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.search-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-form button {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form button:hover {
    background-color: #2980b9;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .fixed-buttons {
        bottom: 15px;
        right: 15px;
    }

    .fixed-button {
        width: 50px;
        height: 50px;
    }

    .fixed-button .icon {
        width: 24px;
        height: 24px;
    }

    .fixed-button.whatsapp .icon {
        width: 28px;
        height: 28px;
    }

    .search-modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Menu overlay for mobile (optional aesthetic) */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(44,62,80,0.18);
    z-index: 1099;
    transition: opacity 0.3s;
}
.menu-overlay.active {
    display: block;
} 