 :root {
    --primary-color: #e30a17;
    --secondary-color: #ffd700;
    --background-color: #f8f9fa;
    --text-color: #333333;
    --accent-color: #e30a17;
}

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

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

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

/* Header Styles */
header {
    background-color: #f4f4f4;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    min-height: 60px;
    z-index: 1000;
}

h1 {
    font-size: 1.3rem;
    margin: 10;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 80px;
    gap: 40px;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background-color: #c31a25;
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 14px;
}

.logo-img {
    width: 40px;
    height: auto;
    margin-right: 8px;
}

/* Navigation Styles */
.navbar {
    display: flex;
    align-items: center;
}

.navbar ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin-left: 17px;
    animation: float 5s ease-in-out infinite;
    animation-delay: calc(0.5s * var(--i));
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.navbar a:hover {
    background-color: #c31a25;
    color: white;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border-radius: 4px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #cc2828;
}

.menu-toggle {
    display: none; /* Varsayılan olarak gizle */
    cursor: pointer;
    padding: 10px;
}

.menu-toggle i {
    font-size: 24px;
}

.menu-toggle {
    display: none; /* Varsayılan olarak gizle */
    cursor: pointer;
    padding: 10px;
}

.menu-toggle i {
    font-size: 24px;
}

/* Hero Section */
.hero {
    background-color: var(--background-color);
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

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

.hero h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.hero p {
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
}

.hero-search input:focus {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.hero-search button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-search button:hover {
    background-color: var(--primary-color);
}

.hero-search .clear-search {
    right: 80px;
    background: none;
    color: var(--text-color);
    font-size: 1.2em;
    padding: 5px;
    opacity: 0.6;
}

.hero-search .clear-search:hover {
    opacity: 1;
}

.hero-search button[type="submit"] {
    right: 5px;
}

/* SSS Section */
.sss-section {
    position: relative;
    z-index: 1;
    padding: 70px 0;
    background-color: #f8f9fa;
}

.sss-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sss-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.sss-question {
    background-color: #f8f9fa;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.sss-question:hover {
    background-color: #e9ecef;
}

.sss-question i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.sss-item.active .sss-question {
    background-color: var(--primary-color);
    color: #ffffff;
}

.sss-item.active .sss-question i {
    transform: rotate(180deg);
    color: #ffffff;
}

.sss-answer {
    background-color: #ffffff;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    line-height: 1.6;
    color: var(--text-color);
}

.sss-item.active .sss-answer {
    padding: 25px;
    max-height: 1000px;
}

.sss-item:last-child {
    margin-bottom: 0;
}


/* Footer Styles */
footer {
    background: linear-gradient(135deg, #c31a25 0%, #8c0e15 100%);
    color: white;
    padding: 3rem 0 0 0;
    margin-top: 4rem;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .footer-section {
    flex: 1;
    margin-bottom: 2rem;
    padding: 0 15px;
}

footer .footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

footer .footer-section p {
    line-height: 1.6;
}

footer .contact span {
    display: block;
    margin-bottom: 0.5rem;
}

footer .socials a {
    color: white;
    margin-right: 1rem;
    font-size: 1.3rem;
    transition: color 0.3s;
}

footer .socials a:hover {
    color: #f1c40f;
}

footer .footer-section.links ul {
    list-style-type: none;
    padding: 0;
}

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

footer .footer-section.links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-section.links ul li a:hover {
    color: #f1c40f;
}

footer .contact-input {
    background: #ffffff3d;
    color: white;
    border: none;
    padding: 0.7rem;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: 5px;
}

footer .contact-input::placeholder {
    color: #ffffffb3;
}

footer .footer-btn {
    padding: 0.7rem 1.5rem;
    background: #f1c40f !important;
    color: #333 !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

footer .footer-btn:hover {
    background: #e6b90f !important;
}

footer .footer-bottom {
    background: #8c0e15;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}


/* Particle Canvas */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }

    @media (max-width: 768px) {
        .menu-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #333;
            cursor: pointer;
            padding: 8px;
            z-index: 1001;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #f0f0f0;
            transition: all 0.3s ease;
            position: absolute;
            top: 15px;
            right: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
    
        .menu-toggle:hover {
            background-color: #e0e0e0;
        }
    
        .menu-toggle.active {
            color: #c31a25;
            background-color: #f8e0e0;
        }
    
        .navbar {
            display: none;
        }
    
        .navbar.active {
            display: block;
            position: absolute;
            top: 70px; /* Header yüksekliğine göre ayarlayın */
            right: 0;
            width: 250px; /* Menü genişliği */
            background-color: #fff;
            box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
            border-radius: 0 0 0 10px;
            max-height: calc(100vh - 70px); /* Ekran yüksekliğinden header'ı çıkar */
            overflow-y: auto;
        }
    
        .navbar ul {
            flex-direction: column;
            padding: 10px 0;
        }
    
        .navbar li {
            margin: 0;
            width: 100%;
        }
    
        .navbar a {
            display: block;
            padding: 12px 20px;
            color: #333;
            font-size: 12px;
            border-bottom: 1px solid #eee;
            transition: all 0.3s ease;
        }
    
        .navbar a:hover {
            background-color: #f0f0f0;
        }
    
        .dropdown-content {
            position: static;
            display: none;
            width: 100%;
            box-shadow: none;
            background-color: #f9f9f9;
        }
    
        .dropdown.active .dropdown-content {
            display: block;
        }
    
        .dropdown-content a {
            padding: 10px 30px;
        }
    
        .dropdown > a::after {
            content: '\25BC';
            float: right;
            transition: transform 0.3s ease;
        }
    
        .dropdown.active > a::after {
            transform: rotate(180deg);
        }
    }

    .nav-menu li {
        margin: 15px 0;
    }


    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .sss-container {
        padding: 30px 20px;
    }

    .sss-question {
        padding: 15px 20px;
    }

    .sss-item.active .sss-answer {
        padding: 20px;
    }

    footer {
        padding: 30px 0 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        max-width: 90%;
        margin: 0 auto;
    }

    .footer-section {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .footer-section p, .footer-section span {
        font-size: 0.9em;
    }

    .footer-section.links ul {
        padding: 0;
        list-style-type: none;
    }

    .footer-section.links ul li {
        margin-bottom: 10px;
    }

    .footer-section.links ul li a {
        font-size: 0.9em;
    }

    .footer-section.contact-form form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-btn {
        width: 100%;
        max-width: 300px;
        padding: 10px;
        font-size: 0.9em;
    }

    .footer-bottom {
        font-size: 0.8em;
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8em;
    }
    
    .hero p {
        font-size: 0.9em;
    }

    .hero-search input {
        padding: 12px 45px 12px 15px;
    }

    .hero-search button {
        padding: 8px 15px;
    }

    .sss-container {
        padding: 20px 15px;
    }

    .sss-question {
        padding: 12px 15px;
    }
}

.no-results-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    z-index: 1000;
}

.cookie-consent {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #ffffff;
    color: #333333;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-family: Arial, sans-serif;
  }
  
  .cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .cookie-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
  }
  
  .cookie-link:hover {
    text-decoration: underline;
  }
  
  .cookie-button {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  .cookie-button:hover {
    background-color: #b30600;
  }
  
  @media screen and (max-width: 768px) {
    .cookie-consent {
      bottom: 0;
      left: 0;
      right: 0;
      width: 98%;
      max-width: none;
      border-radius: 0;
      transform: none;
      padding: 15px;
    }
  
    .cookie-content p {
      font-size: 13px;
    }
  
    .cookie-button {
      width: 100%;
      padding: 12px;
      font-size: 14px;
    }
  }