:root {
    --lila-dark: #6230a9;
    --lila-light: #eaddff;
    --white: #ffffff;
    --bg-soft: #f8f7fa;
    --text-dark: #1d1b20;
    --text-gray: #49454f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-soft);
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8% !important;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--lila-dark);
    width: 64%;
    display: flex;
    align-items: center;

}

.logo img{
    width: 10%;
}

.logo-footer{
    font-size: 24px;
    font-weight: bold;
    color: var(--lila-dark);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.logo-footer img{
    width: 50%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-top:1%;
}

.nav-links a,td a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover , a:hover{
    color: var(--lila-dark);
}

.btn-main {
    background: var(--lila-dark);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background: linear-gradient(135deg, #f3edff 0%, #ffffff 100%);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.btn-secondary {
    background: #6200ee;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(98, 0, 238, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-placeholder,.img-hakkimizda-placeholder {
    width: 80%;
    height: 350px;
    background: var(--lila-light);
    border-radius: 40px 100px 40px 100px;
    background-repeat: no-repeat;
    background-size: contain;
}
.img-hakkimizda-placeholder {
    background-size: cover;
}
/* Projeler */
.projects {
    padding: 60px 8%;
    float:left;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color:var(--lila-dark);
    font-weight: 800;
}
.hakkimizda{
    margin-top:2%;
}
.lowSpan{
    color:var(--lila-dark);
    float: right;
    font-family: cursive;
    font-size: 24px;
    margin-top: 3%;
}

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

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    padding:3%;
    margin-left:1%;
}

.project-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
}

.card-body {
    padding: 25px;
}
.card-body h3{
    margin:2% 0;
}

.progress-bar {
    background: #eee;
    height: 8px;
    border-radius: 10px;
    margin: 15px 0;
}

.progress {
    background: var(--lila-dark);
    height: 100%;
    border-radius: 10px;
}

.btn-card {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--lila-dark);
    background: transparent;
    color: var(--lila-dark);
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-card:hover {
    background: var(--lila-dark);
    color: white;
}

/* Footer Styles */
.main-footer {
    background-color: var(--lila-dark);
    color: var(--white);
    padding: 60px 8% 20px;
    float:left;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: nowrap;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--white);
    color: var(--lila-dark);
    transform: translateY(-3px);
}

.footer-links,.footer-contact{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;

}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--lila-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}


/* --- RESPONSIVE TASARIM (Media Queries) --- */

/* Tablet ve Küçük Ekranlar (max 992px) */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 5%;
    }

    .hero {
        flex-direction: column; /* Görsel ve metni alt alta getir */
        text-align: center;
        padding: 40px 5%;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .img-placeholder {
        width: 100%;
        height: 250px;
        margin-top: 30px;
        background-size: cover;
    }
    .hero-image{
        width: 100%;
    }
    ul{
        padding-left:0px !important ;
    }
}

/* Mobil Telefonlar (max 768px) */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Menü linklerini gizle (Hamburger menü için) */
    }

    .project-grid {
        grid-template-columns: 1fr; /* Kartları tek sütun yap */
        gap: 20px;
    }

    .section-title {
        font-size: 26px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-links ul li a:hover {
        padding-left: 0; /* Mobilde kayma efektini iptal et */
    }
}

/* Çok Küçük Ekranlar (max 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .btn-main {
        padding: 8px 15px;
        font-size: 14px;
    }

    .project-card {
        margin: 0 10px;
    }
}

.ft{
    float:left;
}

/* Volunteer Section Styles */


.volunteer-text h2 {
    font-size: 36px;
    color: var(--lila-dark);
    margin-bottom: 20px;
}

.benefit-list {
    list-style: none;
    margin-top: 25px;
}

.benefit-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.benefit-list li i {
    color: var(--lila-dark);
}

/* Form Card */
.volunteer-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(103, 80, 164, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eaddff;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--lila-dark);
}

.btn-submit {
    width: 100%;
    background-color: var(--lila-dark);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #513d8a;
    transform: translateY(-2px);
}

/* Responsive Form */
@media (max-width: 768px) {
    .volunteer-container {
        grid-template-columns: 1fr;
    }

    .volunteer-text {
        text-align: center;
    }

    .benefit-list {
        display: inline-block;
        text-align: left;
    }
}

.error-msg {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    height: 15px; /* Layout kaymasını önlemek için */
    opacity: 0;
    transition: 0.3s;
}

.error-msg.show {
    opacity: 1;
}

input.invalid {
    border-color: #e74c3c !important;
}

.about-img{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.about-img img{
    width: 75%;
}
.ct{
    text-align: center;
}
/* Contact Page Styles */
.contact-page {
    padding: 80px 8%;
    background: linear-gradient(180deg, var(--white) 0%, #f9f7ff 100%);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 36px;
    color: var(--lila-dark);
    margin-bottom: 15px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(103, 80, 164, 0.05);
    transition: 0.3s;
    text-align: center;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(103, 80, 164, 0.1);
}

.info-box i {
    font-size: 32px;
    color: var(--lila-dark);
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--lila-dark);
}

.info-box p, .info-box a {
    color: var(--text-gray);
    font-size: 14px;
    text-decoration: none;
    line-height: 1.6;
}

.contact-map-container {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border: 8px solid var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-boxes {
        order: 2;
    }

    .contact-map-container {
        order: 1;
    }
}

/* Contact Form Styles */
.contact-form-container {
    background: var(--white);
    padding: 40px;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--lila-dark);
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #f0ebff;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    border-color: var(--lila-dark);
    box-shadow: 0 0 10px rgba(103, 80, 164, 0.1);
}

.btn-send {
    width: 100%;
    background: var(--lila-dark);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-send:hover {
    background: #513d8a;
    transform: translateY(-3px);
}

/* Mobil için Form Ayarı */
@media (max-width: 600px) {
    .modern-form .form-row {
        grid-template-columns: 1fr;
    }
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hamburger İkon Tasarımı */
.hamburger {
    display: none; /* Masaüstünde gizli */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--lila-dark);
    transition: all 0.3s ease;
    border-radius: 5px;
}

/* Mobil Menü (Overlay) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Başlangıçta ekranın dışında */
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu ul li {
    margin: 30px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 600;
    transition: 0.3s;
}

.mobile-btn {
    background: var(--lila-dark);
    color: white !important;
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
}

/* Hamburger Animasyonu (Aktifken X olma) */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* RESPONSIVE (Mobil Görünüm) */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* Masaüstü linklerini gizle */
    }

    .hamburger {
        display: flex; /* Hamburgeri göster */
    }

    .navbar .btn-main {
        display: none; /* Masaüstü bağış butonunu gizle (mobil menüde var) */
    }
    .logo{
        width: 86%;
    }
    .logo img{
        width: 20%;
    }
    .logo span{
        font-size: 15px;
        width: 100%;
    }
}
