/* Root Variables */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f4f4f4;
    --card-bg: #fff;
    --gradient-bg: linear-gradient(135deg, #3498db, #2980b9);
}

/* General Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* 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.2rem;
    margin: 10;
}

/* 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: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

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

.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: 100%;
}

/* 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;
}



/* 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;
}

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

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* About Preview Styles */
.about-preview {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.about-preview .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-preview h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.about-preview p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.about-features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-features li {
    margin-bottom: 10px;
    font-size: 1em;
    color: #444;
}

.about-features i {
    color: #c31a25;
    margin-right: 10px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #c31a25;
    color: #c31a25;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: #c31a25;
    color: white;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #c31a25;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 0.9em;
}

.btn:hover {
    background-color: #a51720;
}

/* Yurt List Styles */
.yurt-list h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
}

.yurt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.yurt-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.yurt-card:hover {
    transform: translateY(-5px);
}

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

.yurt-card-content {
    padding: 20px;
}

.yurt-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.yurt-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.yurt-card .btn {
    font-size: 0.8em;
    padding: 6px 12px;
}

/* 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;
}

/* Turkey Map Styles */
.svg-turkiye-haritasi {
    max-width: 80%;
    width: 80%;
    height: 80vh;
    margin: 0 auto;
    text-align: center;
    position: relative;
    background: linear-gradient(45deg, #E30A17, #beb2b2, #E30A17);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px;
}

.svg-turkiye-haritasi svg {
    width: 100%;
    height: 100%;
    max-height: 90vh;
}

#svg-turkiye-haritasi path {
    cursor: pointer;
    fill: rgba(255,255,255,0.7);
    stroke: rgba(255,255,255,0.9);
    stroke-width: 0.5;
    transition: all 0.3s;
}

#svg-turkiye-haritasi path:hover {
    fill: rgba(219, 54, 54, 0.9);
    transform: translateY(-5px);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}


#guney-kibris {
    pointer-events: none;
}

.il-isimleri {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.il-isimleri div {
    font-family: 'Open Sans', sans-serif;
    display: inline-block;
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    position: absolute;
    transform: translate(-50%, -50%) scale(0.9);
    margin-top: -5px;
    white-space: nowrap;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transition: all 0.3s;
}

#svg-turkiye-haritasi path:hover + .il-isimleri div {
    opacity: 1;
    transform: translate(-50%, -70%) scale(1);
}

/* Body scroll lock styles */
.body-scroll-lock {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Info Box Overlay */
.info-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.info-box-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Info Box Styles - Elite & Clean Design */
.info-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #ffffff;
    backdrop-filter: blur(40px);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 0;
    max-width: min(90vw, 400px);
    max-height: 80vh;
    width: 100%;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.info-box.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.info-box-header {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #ffffff;
    padding: 16px 20px;
    margin: 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.info-box-content {
    padding: 20px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 #f5f5f5;
}

.info-box-content::-webkit-scrollbar {
    width: 4px;
}

.info-box-content::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 2px;
}

.info-box-content::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 2px;
}

.info-box-content::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.dormitory-count {
    background: #f8f9fa;
    color: #495057;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 16px;
    border: 1px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 4px;
}

.info-box li {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #f1f3f4;
    transition: all 0.2s ease;
    overflow: hidden;
    position: relative;
}

.info-box li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #dc3545;
    transition: width 0.2s ease;
}

.info-box li:hover::before {
    width: 5px;
}

.info-box li:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #e9ecef;
}

.info-box li a {
    display: block;
    padding: 12px 16px;
    color: #212529;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 16px;
}

.info-box li a:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.02);
}

.info-box li a::after {
    content: '›';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.2s ease;
    color: #dc3545;
    font-weight: 600;
    font-size: 16px;
}

.info-box li:hover a::after {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
}

.no-dormitory-message {
    text-align: center;
    padding: 32px 20px;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin: 16px 0;
}

.close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.close-button:active {
    transform: scale(0.95);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .info-box {
        max-width: 90vw;
        max-height: 70vh;
        margin: 0;
        border-radius: 14px;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
    }
    
    .info-box-header {
        background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%) !important;
        color: #ffffff !important;
        padding: 8px 16px;
    }
    
    .info-box h3 {
        font-size: 14px;
        color: #ffffff !important;
        background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%) !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        margin: 0 !important;
    }
    
    .info-box-content {
        padding: 14px;
        max-height: calc(70vh - 60px);
    }
    
    .info-box li a {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .close-button {
        width: 24px;
        height: 24px;
        font-size: 12px;
        top: 8px;
        right: 8px;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.15) !important;
    }
}

@media (max-width: 480px) {
    .info-box {
        max-width: 92vw;
        max-height: 65vh;
        margin: 0;
        border-radius: 12px;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
    }
    
    .info-box-header {
        background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%) !important;
        color: #ffffff !important;
        padding: 6px 14px;
    }
    
    .info-box h3 {
        font-size: 13px;
        letter-spacing: 0.3px;
        color: #ffffff !important;
        background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%) !important;
        padding: 6px 10px !important;
        border-radius: 6px !important;
        margin: 0 !important;
    }
    
    .info-box-content {
        padding: 12px;
        max-height: calc(65vh - 50px);
    }
    
    .info-box li a {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .dormitory-count {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .close-button {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.15) !important;
    }
}

/* Enhanced mobile touch targets */
@media (hover: none) and (pointer: coarse) {
    .info-box li a {
        padding: 16px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .close-button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

.info-box button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(63, 81, 181, 0.4);
}

/* Map Header Styles */
.map-header {
    text-align: center;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.map-header h2 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 3px;
}

.map-header p {
    font-size: 0.8em;
    color: #666;
    margin: 0;
}

/* Modern Container Styles */
.modern-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    overflow-x: hidden;
}

h3 {
    text-align: center;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-yurt-fiyatlari, .modern-yurt-ozellikleri {
    background: #fff;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-yurt-fiyatlari:hover, .modern-yurt-ozellikleri:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.modern-yurt-fiyatlari table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.modern-yurt-fiyatlari th, .modern-yurt-fiyatlari td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.modern-yurt-fiyatlari th {
    background-color: #c31a25;
    color: white;
    text-transform: uppercase;
}

.modern-yurt-fiyatlari tr:nth-child(even) {
    background-color: #f9f9f9;
}

.modern-yurt-fiyatlari tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

.modern-info {
    margin-top: 10px;
    font-size: 0.85em;
    color: #555;
    text-align: center;
}

.modern-yurt-ozellikleri .modern-yurt-ozellik {
    margin-bottom: 10px;
    padding: 10px;
    border-left: 4px solid #c31a25;
    background: #f9f9f9;
    transition: background 0.3s ease, border-left 0.3s ease;
}

.modern-yurt-ozellikleri .modern-yurt-ozellik:hover {
    background: #f1f1f1;
    border-left: 4px solid #1a237e;
}

.modern-yurt-ozellikleri .modern-yurt-ozellik h4 {
    font-size: 1.2em;
    color: #c31a25;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.modern-yurt-ozellikleri .modern-yurt-ozellik:hover h4 {
    color: #1a237e;
}

.modern-yurt-ozellikleri .modern-yurt-ozellik p {
    font-size: 0.85em;
    color: #555;
    line-height: 1.4;
}

/* Feedback Popup Styles */
.feedback-popup {
    position: fixed;
    bottom: -300px;
    right: 20px;
    width: 280px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: bottom 0.4s ease;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.feedback-popup.hidden {
    display: none;
}

.feedback-popup.show {
    bottom: 20px;
}

.feedback-content {
    padding: 20px 15px;
}

.feedback-popup h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
}

.feedback-subtitle {
    margin-bottom: 15px;
    font-size: 14px;
    color: #7f8c8d;
    text-align: center;
}

.star-rating {
    text-align: center;
    font-size: 28px;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.star {
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    width: 36px;
    text-align: center;
}

.star:hover {
    transform: scale(1.2);
}

#rating-text {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
    height: 24px;
    line-height: 24px;
    text-align: center;
    color: #34495e;
}

#feedback-message {
    margin-top: 20px;
    font-size: 16px;
    text-align: center;
    color: #27ae60;
    font-weight: 500;
}

#close-feedback {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #95a5a6;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

#close-feedback:hover {
    color: #34495e;
}

.star:hover,
.star.active {
    color: #f39c12;
}

.feedback-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #3498db, #2ecc71);
}

.star.pop {
    animation: starPop 0.3s ease-out;
}

#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f39c12;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Card Styles */
.card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 1px solid #f44336;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 30%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
    position: relative;
    background-image: url('osmanli-motifi.png');
    background-size: cover;
    background-blend-mode: multiply;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffcdd2, #ef9a9a);
}

.card h4 {
    font-size: 1.2em;
    color: #b71c1c;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.card p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.card:hover h4 {
    color: #b71c1c;
}

.card:hover p {
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #b71c1c;
    color: white;
    text-transform: uppercase;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

.modern-info {
    margin-top: 20px;
    font-size: 0.85em;
    color: #555;
    text-align: center;
}

/* Map Styles */
.city-name {
    position: static;
    font-size: 16px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #8b1538; /* Koyu kırmızı yazı rengi */
    border-radius: 8px;
    margin: 8px auto;
    max-width: 300px;
    transform: none;
    left: auto;
    right: auto;
    text-align: center; /* Ortaya hizala */
    font-weight: 600; /* Yazıyı kalınlaştır */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    border: 2px solid #8b1538; /* Koyu kırmızı border */
}

.hero-section {
    position: relative;
    padding-top: 20px;
}

.has-dormitory path {
    animation: gradientChange 8s ease infinite !important;
}

@keyframes gradientChange {
    0%, 100% {
        fill: #e30a17;
    }
    50% {
        fill: #ffffff;
    }
}

#svg-turkiye-haritasi .yurtlu-sehir {
    animation: bounce 4s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.turkiye-yildiz {
    animation: yildizRenkDegisimi 8s infinite, yildizParlama 4s infinite alternate;
}

@keyframes yildizRenkDegisimi {
    0%, 100% {
        fill: #ffffff;
    }
    50% {
        fill: #e30a17;
    }
}

@keyframes yildizParlama {
    0% {
        opacity: 0.7;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform:  translateY(-3px) scale(1.1);
    }
}

#svg-turkiye-haritasi path {
    transition: fill 0.5s ease;
}

#svg-turkiye-haritasi path:hover {
    fill: #c8102e !important;
}

/* Link Styles */
.modern-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    background-color: #e30a17;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.modern-link:hover {
    background-color: #c00;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.contact-link::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    margin-right: 8px;
}

.email-link::before {
    content: "\f1d8";
    font-family: "Font Awesome 5 Free";
    margin-right: 8px;
}
.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;
}


   


/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    header {
        height: 70px;
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    
    .header-content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-container {
        display: flex;
        align-items: center;
    }
    .logo-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
    }
    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .logo-img {
        width: 30px;
        height: auto;
        margin-right: 10px;
    }


    h1 {
        font-size: 1rem;
        margin: 0;
    }
    @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;
            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);
        }
    }
    .container {
        flex-direction: column;
    }

    .hero {
        height: auto;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }

        .container {
            width: 90%;
            margin: 0 auto;
            padding: 0;
        }
    
        .yurt-list h2 {
            font-size: 1.8em;
            text-align: center;
            margin-bottom: 20px;
        }
    
        .yurt-grid {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    
        .yurt-card {
            width: 100%;
            max-width: 400px;
            margin-bottom: 20px;
        }
    
        .yurt-card img {
            width: 100%;
            height: auto;
            border-radius: 10px 10px 0 0;
        }
    
        .yurt-card-content {
            padding: 15px;
        }
    
        .yurt-card h3 {
            font-size: 1.4em;
            margin-bottom: 10px;
        }
    
        .yurt-card p {
            font-size: 0.9em;
            margin-bottom: 15px;
        }
    
        .yurt-card .btn {
            display: block;
            width: 100%;
            text-align: center;
            padding: 10px;
            font-size: 0.9em;
        }
    
        .view-all-container {
            text-align: center;
            margin-top: 20px;
        }
    
        .view-all-btn {
            display: inline-block;
            width: 80%;
            max-width: 250px;
            padding: 12px;
            font-size: 1em;
        }

        .about-preview {
            padding: 30px 0;
        }
    
        .about-preview .container {
            max-width: 90%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    
        .about-content, .about-image {
            flex: none;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }
    
        .about-image {
            order: -1;
            margin-bottom: 20px;
        }
    
        .about-image img {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }
    
        .about-content h2 {
            font-size: 1.6em;
            text-align: center;
            margin-bottom: 15px;
        }
    
        .about-content .lead {
            font-size: 0.9em;
            text-align: center;
            margin-bottom: 20px;
        }
    
        .about-features {
            padding-left: 0;
            list-style-type: none;
            margin-bottom: 20px;
        }
    
        .about-features li {
            font-size: 0.85em;
            margin-bottom: 10px;
            text-align: left;
            padding-left: 25px;
            position: relative;
        }
    
        .about-features li i {
            position: absolute;
            left: 0;
            top: 3px;
        }
    
        .btn-primary {
            display: block;
            width: 80%;
            max-width: 200px;
            margin: 0 auto;
            text-align: center;
            padding: 10px;
            font-size: 0.9em;
        }

    .svg-turkiye-haritasi {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        padding: 10px;
        margin: 0 !important;
    }

    /* SVG harita içindeki şehirlerin boyutunu artır */
    .svg-turkiye-haritasi svg {
        transform: scale(1); /* %25 büyüt - daha büyük */
    }

    #svg-turkiye-haritasi path {
        stroke-width: 1.2 !important; /* Çizgi kalınlığını artır */
        transform-origin: center;
    }

    .city-name {
        position: static;
        font-size: 14px; /* Mobilde biraz küçük */
        padding: 6px 12px;
        background-color: rgba(255, 255, 255, 0.95);
        color: #8b1538; /* Koyu kırmızı yazı rengi */
        border-radius: 6px;
        margin: 5px auto;
        max-width: 250px;
        transform: none;
        left: auto;
        right: auto;
        text-align: center; /* Ortaya hizala */
        font-weight: 600; /* Yazıyı kalınlaştır */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge */
        border: 2px solid #8b1538; /* Koyu kırmızı border */
    }

    .info-box {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        background: #ffffff;
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        padding: 0;
        max-width: none;
        width: 90%;
        z-index: 1000;
        font-family: 'Poppins', sans-serif;
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow: hidden;
    }

    .info-box.show {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .info-box h3,
    .info-box p,
    .info-box ul,
    .modal-content h2,
    .modal-content p,
    .modal-content ul {
        text-align: center;
    }

    .info-box ul,
    .modal-content ul {
        padding-left: 0;
        list-style-position: inside;
    }

    .info-box h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .info-box ul {
        margin-bottom: 20px;
    }

    .info-box li {
        font-size: 14px;
        padding-left: 20px;
        margin-bottom: 10px;
    }

    .info-box li:before {
        font-size: 14px;
    }

    .info-box p {
        font-size: 14px;
    }

    .info-box button {
        font-size: 14px;
        padding: 8px 16px;
    }

        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;
        }
    
        .contact-input {
            width: 100%;
            max-width: 300px;
            margin-bottom: 15px;
            padding: 10px;
            font-size: 0.9em;
        }
    
        .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);
        }

    .modern-yurt-ozellikleri {
        padding: 15px;
        margin: 15px auto;
        max-width: 90%;
    }

    .modern-yurt-ozellikleri h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
        padding: 15px;
    }

    .card h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 0.85rem;
    }

    table {
        font-size: 0.8rem;
    }

    table th, table td {
        padding: 6px;
    }

    .modern-info {
        font-size: 0.75rem;
        margin-top: 15px;
    }

    .contact-form {
        width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }

    .btn, .modern-link {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
        .map-header {
            text-align: center;
            padding: 5px 5px;
            margin-bottom: 5px;
            margin-top: 2px; /* Üstten daha az boşluk */
        }
    
        .map-header h2 {
            font-size: 0.8em;
            margin-bottom: 10px;
        }
    
        .map-header p {
            font-size: 0.65em; /* Mobilde çok daha küçük yazı */
            margin-bottom: 6px;
            line-height: 1.3;
        }
    
        .map-header p:last-child {
            margin-bottom: 0;
        }

    .modern-link {
        display: inline-block;
        padding: 6px 10px; /* Mobilde daha küçük padding */
        margin: 3px 0; /* Daha az margin */
        background-color: #e30a17;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.7rem; /* Mobilde daha küçük font */
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .modern-link:hover {
        background-color: #c00;
    }

    .map-header p:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .map-header p:last-child .modern-link {
        margin: 5px 0;
    }


    
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #c31a25;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 0;
    overflow: hidden;
}

.back-to-top:hover {
    background-color: #9e1520;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

.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) {
    /* Genel mobil genişlik sınırlaması */
    main, section, .container {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Hero section mobilde genişlik %100 */
    .hero-section {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    .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;
    }
  }

@media screen and (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .back-to-top .icon-container {
        position: relative;
        left: 0.5px; /* Gerekirse bu değeri ayarlayın */
        top: 0.5px; /* Gerekirse bu değeri ayarlayın */
    }
}


/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100px) rotate(360deg); opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}