/* Custom Styles for Rotary Bodrum Website */

:root {
    --primary-color: #004B8D;
    --secondary-color: #003366;
    --accent-color: #0066CC;
    --text-dark: #1a1a1a;
    --text-gray: #6c757d;
    --bg-light: #f8f9fa;
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    flex-shrink: 0;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--primary-color) !important;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.site-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    max-width: 300px;
}

.site-logo-footer {
    height: 120px;
    width: auto;
    object-fit: contain;
    max-width: 400px;
}

/* Brand fallback - hidden by default, shown only if logo fails to load */
.brand-fallback {
    display: none !important;
}

/* Hide fallback when logo is visible */
.site-logo:not([style*="display: none"]) ~ .brand-fallback,
.site-logo-footer:not([style*="display: none"]) ~ .brand-fallback {
    display: none !important;
}

.brand-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin: 0;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Header Banner Image */
.header-banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.header-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
    min-height: 200px;
    object-position: center;
}

.header-banner-placeholder {
    width: 100%;
    min-height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.header-banner-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-banner-image {
        max-height: 250px;
        min-height: 150px;
    }
    
    .header-banner-placeholder {
        min-height: 150px;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 4rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0 4rem;
    width: 100%;
}

.hero-section .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    width: 100%;
}

.hero-content .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.hero-content .row > div {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    overflow: hidden;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
    pointer-events: none;
}

.scroll-down-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.scroll-down-btn:hover {
    background-color: white;
    color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .text-primary {
    color: var(--primary-color) !important;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: #000000;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
    text-align: justify;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.hero-subtitle p {
    margin-bottom: 1rem;
    color: #000000;
    text-align: justify;
}

.hero-subtitle p:last-child {
    margin-bottom: 0;
}

.hero-buttons {
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
}

.hero-buttons .btn {
    flex: 1;
    min-width: 0;
}

@media (max-width: 576px) {
    .hero-buttons {
        margin-top: 1.25rem;
    }
    
    .hero-buttons .btn {
        flex: none;
        width: 100%;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 75, 141, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Küçük butonlar her zaman normal genişlikte */
.btn-sm {
    width: auto;
    max-width: none;
}

/* w-100 class'ı olan butonlar tam genişlik */
.btn.w-100 {
    width: 100% !important;
    max-width: 100% !important;
}

/* Section Styles */
.section {
    padding: 5rem 0;
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title .text-primary {
    color: var(--primary-color) !important;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    padding: 4rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Page Content */
.page-content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.page-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-text ul,
.content-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-text strong {
    font-weight: 600;
    color: var(--text-dark);
}

.priorities-list {
    margin-top: 2rem;
}

.priority-item {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: #f8f9fa;
    border-radius: 4px;
}

.priority-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.priority-item .content-text {
    margin-bottom: 0;
}

.priority-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .priority-item .row {
        flex-direction: column;
    }
    
    .priority-item .col-md-3 {
        margin-bottom: 1rem;
    }
}

/* About Section */
.about-text {
    text-align: justify;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text p,
#about .text-lg {
    text-align: justify;
}

.about-image {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    width: 100%;
    max-width: 350px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.about-image-caption {
    text-align: center;
    max-width: 350px;
    width: 100%;
    margin: 1rem auto 0;
}

.about-icon {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 96px;
    height: 96px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Project Cards */
.project-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.project-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 75, 141, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-gray);
    line-height: 1.6;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: #f5f5f5;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: var(--primary-color);
}

/* News List Styles */
.news-list .news-item {
    transition: all 0.3s ease;
}

.news-list .news-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 0 -1rem 1rem -1rem;
}

.news-item h4 a:hover {
    color: var(--primary-color);
}

/* Image Lightbox Styles */
.project-image-link img:hover,
.news-image-link img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

/* Event Cards */
.event-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.event-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
}

.stats-section .section-title {
    color: white;
}

.stats-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.stat-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 0 0.5rem;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: white;
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.7);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.rotary-badge {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.rotary-badge i {
    font-size: 1rem;
    line-height: 1;
}

/* Background Sections */
.bg-light-gray {
    background-color: var(--bg-light);
}

/* Prevent horizontal overflow */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

[class*="col-"] {
    max-width: 100%;
    overflow-x: hidden;
}

/* Responsive Design - Tablet ve mobil */
@media (max-width: 992px) {
    .section {
        padding: 3.5rem 0;
    }
    
    .section:first-of-type {
        padding-top: 2rem;
    }
    
    .content-text {
        padding: 0 1.5rem;
    }
    
    .hero-subtitle {
        padding: 0 1.5rem;
    }
    
    .about-text {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    .page-header {
        padding: 2.5rem 0;
    }
    .page-title {
        font-size: 2rem;
    }
    .container, .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .project-card {
        padding: 1.5rem;
    }
    .project-image {
        height: 180px;
    }
    .content-text {
        font-size: 1.05rem;
        padding: 0 1.5rem;
    }
    .content-text h3 {
        font-size: 1.35rem;
    }
    .page-content {
        max-width: 100%;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .page-content .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0 3rem;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 5rem 0 5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content .row > div {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        text-align: justify;
        padding: 0 1.5rem;
    }
    
    .hero-subtitle p {
        text-align: justify;
        margin-bottom: 0.75rem;
    }
    
    .hero-content .d-flex {
        flex-direction: column;
        gap: 1rem !important;
        width: 100%;
    }
    
    .hero-content .btn-primary,
    .hero-content .btn-outline-primary {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Form butonları mobilde tam genişlik (küçük butonlar hariç) */
    form .btn-primary:not(.btn-sm),
    form .btn-outline-primary:not(.btn-sm),
    .contact-form .btn-primary:not(.btn-sm),
    .contact-form .btn-outline-primary:not(.btn-sm) {
        width: 100%;
        max-width: 100%;
    }
    
    /* Küçük butonlar her zaman normal genişlikte */
    .btn-sm {
        width: auto;
        max-width: none;
    }
    
    .hero-scroll-indicator {
        bottom: 15px;
        z-index: 5;
    }
    
    .scroll-down-btn {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-title {
        font-size: 1.1rem;
    }
    
    .site-logo {
        height: 60px;
        max-width: 220px;
    }
    
    .site-logo-footer {
        height: 90px;
        max-width: 300px;
    }
    
    .login-logo {
        height: 70px;
        max-width: 220px;
    }
    
    .about-image {
        max-height: 300px;
        max-width: 100%;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .breadcrumb {
        font-size: 0.875rem;
    }
    
    .container, .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .project-card {
        padding: 1.25rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .content-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .content-text ul, .content-text ol {
        padding-left: 1.5rem;
    }
    
    .about-text {
        padding: 0 1rem;
    }
    
    .page-content {
        max-width: 100%;
        width: 100%;
        padding: 0 0.25rem;
    }
    
    .page-content .section-title {
        font-size: 1.75rem;
    }
    
    .priority-item {
        padding: 1rem;
    }
    
    .priority-title {
        font-size: 1.25rem;
    }
    
    .event-card .event-title {
        font-size: 1.1rem;
    }
    
    .footer-section {
        padding: 2rem 0 1rem;
    }
    
    .footer-section .row.g-2 {
        text-align: left;
    }
    
    .footer-section .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    .footer-heading {
        margin-bottom: 1rem;
    }
    
    .footer-link {
        margin-bottom: 0.5rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1rem;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.75rem;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .footer-bottom .d-flex.justify-content-md-end {
        justify-content: center !important;
        align-items: center;
        gap: 0.5rem;
    }
    
    .rotary-badge {
        width: 28px;
        height: 28px;
    }
    
    .rotary-badge i {
        font-size: 0.875rem;
    }
    
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}

/* Küçük mobil (576px altı) */
@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0 2.5rem;
        min-height: auto;
        height: auto;
    }
    
    .hero-content {
        padding: 4rem 0 4rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle, .hero-subtitle p {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        text-align: left;
    }
    
    .hero-subtitle {
        margin-bottom: 1.25rem;
    }
    
    .hero-content .d-flex {
        flex-direction: column;
        gap: 0.75rem !important;
        width: 100%;
    }
    
    .hero-content .btn-primary,
    .hero-content .btn-outline-primary {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        display: block;
        text-align: center;
    }
    
    /* Form butonları mobilde tam genişlik (küçük butonlar hariç) */
    form .btn-primary:not(.btn-sm),
    form .btn-outline-primary:not(.btn-sm),
    .contact-form .btn-primary:not(.btn-sm),
    .contact-form .btn-outline-primary:not(.btn-sm) {
        width: 100%;
        max-width: 100%;
    }
    
    /* Küçük butonlar her zaman normal genişlikte */
    .btn-sm {
        width: auto;
        max-width: none;
    }
    
    .hero-scroll-indicator {
        bottom: 10px;
        z-index: 5;
    }
    
    .scroll-down-btn {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section:first-of-type {
        padding-top: 1.5rem;
    }
    
    #about {
        padding-top: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .project-image {
        height: 140px;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        box-sizing: border-box;
    }
    
    /* Mobilde form butonları ve hero butonları tam genişlik */
    .hero-content .btn-primary,
    .hero-content .btn-outline-primary,
    form .btn-primary,
    form .btn-outline-primary {
        width: 100%;
        max-width: 100%;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-title {
        font-size: 1rem;
    }
    
    .footer-section {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-section .row.g-2 {
        margin-bottom: 1rem;
    }
    
    .footer-section .col-lg-3 {
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-link, .footer-text, .footer-contact {
        font-size: 0.875rem;
    }
    
    .footer-link {
        margin-bottom: 0.5rem;
    }
    
    .footer-contact {
        margin-bottom: 0.5rem;
    }
    
    .footer-contact .d-flex {
        margin-bottom: 0.5rem;
    }
    
    .social-links {
        gap: 0.75rem;
        justify-content: flex-start;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        margin-top: 0.5rem;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .footer-bottom .d-flex {
        justify-content: center !important;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
    
    .rotary-badge {
        width: 24px;
        height: 24px;
    }
    
    .rotary-badge i {
        font-size: 0.75rem;
    }
    
    .site-logo {
        height: 50px;
        max-width: 180px;
    }
    
    .site-logo-footer {
        height: 60px;
        max-width: 200px;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Hamburger Menu Styles */
.hamburger-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.hamburger-menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10000;
}

.hamburger-menu-btn:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.hamburger-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu-btn.active {
    background-color: var(--secondary-color);
}

.hamburger-menu-btn.active span {
    background-color: white;
}

.hamburger-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    width: 25px;
}

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

.hamburger-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    width: 25px;
}

.hamburger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.hamburger-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.hamburger-menu.active {
    transform: translateX(0);
}

.hamburger-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--secondary-color);
}

.hamburger-menu-logo {
    height: 100px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.hamburger-menu-close {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hamburger-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.hamburger-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hamburger-menu-list li {
    border-bottom: 1px solid #f0f0f0;
}

.hamburger-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
}

.hamburger-menu-link:hover {
    background-color: rgba(0, 75, 141, 0.05);
    color: var(--primary-color);
    padding-left: 30px;
}

.hamburger-menu-link.active {
    background-color: rgba(0, 75, 141, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.hamburger-menu-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-color);
}

.hamburger-menu-toggle {
    cursor: pointer;
}

.hamburger-menu-arrow {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.hamburger-menu-item-has-children.active .hamburger-menu-arrow {
    transform: rotate(180deg);
}

.hamburger-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 75, 141, 0.02);
}

.hamburger-menu-item-has-children.active .hamburger-submenu {
    max-height: 1000px;
}

.hamburger-submenu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hamburger-submenu-link {
    display: block;
    padding: 14px 25px 14px 45px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger-submenu-link:hover {
    background-color: rgba(0, 75, 141, 0.05);
    color: var(--primary-color);
    padding-left: 50px;
}

.hamburger-submenu-link::before {
    content: '•';
    position: absolute;
    left: 30px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive adjustments for hamburger menu */
@media (max-width: 768px) {
    .hamburger-menu-btn {
        top: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }
    
    .hamburger-menu {
        width: 280px;
    }
    
    .hamburger-menu-logo {
        height: 50px;
    }
}


