html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* Changed font to Roboto for a cleaner look */
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.main {
    flex: 1 0 auto;
}

.modern-footer {
    background-color: #1a2a3a; /* Site ana koyu mavi rengi */
    color: #bdc3c7;           /* Okunaklılık için hafif kırık beyaz */
    padding: 40px 0;
    text-align: center;
    flex-shrink: 0;
}

.modern-footer a {
    color: #ecf0f1; /* Linkler için daha parlak beyaz */
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-footer a:hover {
    color: #3498db; /* Vurgulu mavi link rengi */
    text-decoration: none;
}

.modern-footer .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.modern-footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
}

.modern-footer .col-md-4 {
    flex: 1;
    min-width: 280px; /* Prevent excessive squeezing */
    padding: 15px;
    text-align: left; /* Default to left align on desktop */
}

.modern-footer .col-md-4:first-child {
    text-align: left;
}

.modern-footer-logo {
    max-width: 150px; /* Adjust logo size as needed */
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .modern-footer .row {
        flex-direction: column;
        align-items: center; /* Center items on mobile */
    }
    .modern-footer .col-md-4 {
        margin-bottom: 30px;
        text-align: center; /* Center align on mobile */
    }
    .modern-footer .col-md-4:last-child {
        margin-bottom: 0;
    }
    .modern-footer .col-md-4:first-child {
        text-align: center; /* Center logo and text on mobile */
    }
}

.modern-footer-heading {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00a8e6; /* Sitedeki ana renklerden biri */
    display: inline-block;
}

.modern-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer ul li {
    margin-bottom: 10px;
}

.modern-footer .contact-info i {
    margin-right: 10px;
}

.modern-social-icons {
    margin-top: 15px;
}

.modern-social-icons a {
    margin: 0 12px;
    font-size: 1.4em;
    transition: color 0.3s ease;
}

.modern-footer a:hover {
    text-decoration: underline;
}

.modern-footer .text-muted {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #2c3e50; /* Biraz daha açık bir ayırıcı */
    color: #7f8c8d; /* Okunaklı soluk renk */
    font-size: 0.9em;
    width: 100%;
}

/* Modern Hero Section Styles */
.hero-final {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.modern-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%); /* Slightly darker overlay */
    z-index: 1;
}

.modern-hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 960px;
}

.modern-hero-section .hero-content {
    padding: 30px;
    background: rgba(0, 0, 0, 0.15); /* Slightly less transparent background */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.modern-hero-section .hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Stronger text shadow */
    animation: fadeInDown 1s ease-out;
}

.modern-hero-section .hero-content h1 span {
    color: #3498db;
}

.modern-hero-section .hero-content p {
    font-size: 1.3em;
    margin-bottom: 35px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.modern-hero-section .hero-content .button .btn {
    background-color: #3498db;
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    animation: zoomIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.modern-hero-section .hero-content .button .btn:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.modern-hero-section .hero-icons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

.modern-hero-section .hero-icons img {
    width: 65px; /* Slightly larger icon size */
    height: 65px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.modern-hero-section .hero-icons img:hover {
    transform: translateY(-12px) scale(1.15);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 1)); /* Even brighter glow on hover */
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .modern-hero-section {
        height: 100vh; /* Keep full height */
    }
    .modern-hero-section .hero-content h1 {
        font-size: 3em;
    }
    .modern-hero-section .hero-content p {
        font-size: 1.1em;
    }
    .modern-hero-section .hero-icons {
        gap: 30px;
    }
    .modern-hero-section .hero-icons img {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 768px) {
    .modern-hero-section {
        height: 100vh; /* Keep full height */
    }

    .modern-hero-section .hero-content h1,
    .modern-hero-section .hero-content h2 {
        font-size: 2.5em;
    }

    .modern-hero-section .hero-content p {
        font-size: 1em;
    }

    .modern-hero-section .hero-icons {
        gap: 20px;
    }

    .modern-hero-section .hero-icons img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .modern-hero-section {
        height: 100vh; /* Keep full height */
    }

    .modern-hero-section .hero-content h1,
    .modern-hero-section .hero-content h2 {
        font-size: 2.2em;
    }

    .modern-hero-section .hero-content p {
        font-size: 0.9em;
    }

    .modern-hero-section .hero-icons {
        gap: 15px;
    }

    .modern-hero-section .hero-icons img {
        width: 35px;
        height: 35px;
    }
}

/* Footer Menu Tags */
.footer-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 0.9em;
    color: #ecf0f1 !important; /* Ensure color overrides general 'a' tag color */
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.footer-tag:hover {
    background-color: #00a8e6;
    color: #ffffff !important;
    text-decoration: none;
}

