html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main[role="main"] {
  flex: 1 0 auto;
}

.footer {
  position: static;
  bottom: unset;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  background: linear-gradient(45deg, #343a40, #495057);
  color: white;
  padding: 2rem 0;
}

.container.py-5 {
  min-height: 70vh;
}

@media (max-width: 768px) {
  .container.py-5 {
    min-height: 50vh;
  }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: -100px; /* Header'ın altına gelmesi için */
    padding-top: 100px; /* Header yüksekliği kadar padding */
}

.hero-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Card Styles */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: none;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #8B9A47 0%, #6B7C3A 50%, #556B2F 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6B7C3A 0%, #556B2F 50%, #4A5D28 100%);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #8B9A47;
    color: #8B9A47;
}

.btn-outline-primary:hover {
    background-color: #8B9A47;
    border-color: #8B9A47;
    color: #fff;
    transform: translateY(-2px);
}

/* Badge Styles */
.badge {
    border-radius: 6px;
    font-weight: 500;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #8B9A47;
    box-shadow: 0 0 0 0.2rem rgba(139, 154, 71, 0.25);
}

/* Table Styles */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: transparent !important;
    padding: 1.5rem 0;
    min-height: 100px;
    z-index: 1030;
}

/* Reservation Page Specific Styles */
.reservation-page {
    padding-top: 180px;
    min-height: calc(100vh - 180px);
}

/* Rezervasyon sayfalarında navbar'ı sabit tut */
body.reservation-page-active .navbar {
    position: fixed !important;
    transform: none !important;
    background: linear-gradient(135deg, #8B9A47 0%, #6B7C3A 25%, #556B2F 50%, #4A5D28 75%, #3D4A21 100%) !important;
    transition: none !important;
}

/* Rezervasyon sayfalarında navbar scroll efektini devre dışı bırak */
body.reservation-page-active .navbar.scrolled {
    background: linear-gradient(135deg, #8B9A47 0%, #6B7C3A 25%, #556B2F 50%, #4A5D28 75%, #3D4A21 100%) !important;
}

/* Rezervasyon sayfalarında card header stili */
.reservation-header {
    background: linear-gradient(135deg, #8B9A47 0%, #6B7C3A 50%, #556B2F 100%) !important;
    border: none;
    border-radius: 10px 10px 0 0 !important;
}

/* Rezervasyon onay sayfası için başarı header stili */
.reservation-success-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 50%, #17a2b8 100%) !important;
    border: none;
    border-radius: 10px 10px 0 0 !important;
}

/* Rezervasyon sayfalarında body'ye padding ekle */
body.reservation-page-active {
    padding-top: 100px;
}

@media (max-width: 768px) {
    .reservation-page {
        padding-top: 160px;
        min-height: calc(100vh - 160px);
    }
    
    body.reservation-page-active {
        padding-top: 100px;
    }
}

.navbar.scrolled {
    background: linear-gradient(135deg, #8B9A47 0%, #6B7C3A 25%, #556B2F 50%, #4A5D28 75%, #3D4A21 100%) !important;
    transition: background 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .navbar-nav .nav-link {
    text-shadow: none;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Footer Styles */
.footer {
    background: linear-gradient(45deg, #343a40, #495057);
    color: white;
    padding: 2rem 0;
}

.social-links a {
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Admin Panel Styles */
.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-xs {
    font-size: 0.7rem;
}

/* Amenities Styles */
.amenities .badge {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

/* Price Info Styles */
.price-info {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

/* Contact Info Styles */
.contact-info i {
    width: 40px;
    text-align: center;
}

/* Feature Item Styles */
.feature-item {
    padding: 1rem;
    text-align: center;
}

.feature-item i {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        margin-top: -70px;
        padding-top: 70px;
    }
    
    .hero-background {
        min-height: 60vh;
    }
    
    .hero-overlay {
        min-height: 60vh;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .navbar {
        min-height: 70px;
        padding: 1rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.75rem !important;
    }
}

@media (max-width: 768px) {
    .hero-section .display-4,
    .hero-section .lead,
    .hero-section .room-badges {
        display: none !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Widget Highlight Effect */
.highlight-widget {
  animation: widgetPulse 3s ease-in-out;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.6);
  border: 2px solid rgba(0, 123, 255, 0.3);
}

.focused-widget {
  animation: widgetFocus 3s ease-in-out;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
}

.focused-widget .form-control:first-of-type {
  animation: inputGlow 2s ease-in-out infinite;
  border-color: #007bff;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

@keyframes widgetPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.6);
  }
  25% {
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(0, 123, 255, 0.8);
  }
  50% {
    transform: scale(1.01);
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.9);
  }
  75% {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(0, 123, 255, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.6);
  }
}

@keyframes widgetFocus {
  0% {
    transform: translateY(-5px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
  100% {
    transform: translateY(-5px) scale(1);
  }
}

@keyframes inputGlow {
  0%, 100% {
    border-color: #007bff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
  }
  50% {
    border-color: #0056b3;
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.8);
  }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #8B9A47, #6B7C3A);
  z-index: 1040;
  transition: width 0.1s ease;
}

/* Scroll Success Indicator */
.scroll-success-indicator {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  animation: successSlideIn 0.5s ease-out;
  z-index: 1000;
}

@keyframes successSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Tüm sayfalarda galeriyle aynı widget tasarımı */
.floating-reservation-widget {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 1000;
    width: 380px;
}
.reservation-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}
.reservation-card .card-header {
    background: linear-gradient(135deg, #8B9A47 0%, #6B7C3A 50%, #556B2F 100%);
    color: white;
    padding: 20px 25px;
    border: none;
    text-align: center;
}
.reservation-card .card-header h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}
.reservation-card .card-body {
    padding: 25px;
}
.form-label {
    font-weight: 600;
    color: #8B9A47;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.date-range-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.date-input-group {
    position: relative;
    flex: 1;
}
.date-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B9A47;
    z-index: 2;
}
.date-input {
    padding-left: 35px;
    border: 2px solid rgba(139, 154, 71, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
}
.date-input:focus {
    border-color: #8B9A47;
    box-shadow: 0 0 0 3px rgba(139, 154, 71, 0.1);
    background: rgba(255, 255, 255, 0.95);
}
.date-separator {
    color: #8B9A47;
    font-size: 0.8rem;
}
.guest-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 15px;
    border: 2px solid rgba(139, 154, 71, 0.2);
}
.counter-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #8B9A47 0%, #6B7C3A 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.counter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(139, 154, 71, 0.3);
    background: linear-gradient(135deg, #6B7C3A 0%, #556B2F 100%);
}
.counter-btn:active {
    transform: scale(0.95);
}
.guest-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B9A47;
    min-width: 30px;
    text-align: center;
}
.reservation-card .btn-primary {
    background: linear-gradient(135deg, #8B9A47 0%, #6B7C3A 50%, #556B2F 100%);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.reservation-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 154, 71, 0.3);
    background: linear-gradient(135deg, #6B7C3A 0%, #556B2F 50%, #4A5D28 100%);
}
@media (max-width: 768px) {
    .floating-reservation-widget {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }
    .date-range-container {
        flex-direction: column;
        gap: 15px;
    }
    .date-separator {
        transform: rotate(90deg);
    }
}

/* Admin paneli sayfaları için üstten boşluk */
.admin-page {
    padding-top: 180px !important;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .admin-page {
        padding-top: 120px !important;
    }
}

/* Arama kutusu modern ve küçük */
.navbar .input-group .form-control.search-corner[type="search"] {
    background: rgba(255,255,255,0.25) !important;
    border: 1px solid #bfc8c7 !important;
    color: #222;
    box-shadow: none !important;
    border-radius: 18px 0 0 18px !important;
    min-width: 140px;
    max-width: 180px;
    height: 36px;
    font-size: 0.97rem;
    padding-left: 14px;
    padding-right: 6px;
    transition: border 0.2s, background 0.2s;
    border-right: none !important;
}
.navbar .input-group .form-control.search-corner[type="search"]:focus {
    background: #fff !important;
    border: 1.5px solid #6c757d !important;
    box-shadow: 0 0 0 0.08rem #6c757d;
    border-right: none !important;
}
.navbar .input-group .form-control.search-corner[type="search"]::placeholder {
    color: #a0a6a5;
    opacity: 1;
    font-style: italic;
}
.navbar .input-group .btn.btn-primary.rounded-end-pill {
    background: rgba(255,255,255,0.25);
    border: 1px solid #bfc8c7;
    border-left: none;
    border-radius: 0 18px 18px 0 !important;
    padding: 0 13px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border 0.2s;
}
.navbar .input-group .btn.btn-primary.rounded-end-pill:hover {
    background: rgba(255,255,255,0.4);
}
.navbar .input-group .btn.btn-primary.rounded-end-pill i {
    font-size: 1.1rem;
    color: #8B9A47;
}
@media (max-width: 768px) {
    .navbar .input-group .form-control.search-corner[type="search"] {
        min-width: 80px;
        max-width: 110px;
        height: 30px;
        font-size: 0.92rem;
        padding-left: 8px;
    }
    .navbar .input-group .btn.btn-primary.rounded-end-pill {
        height: 30px;
        padding: 0 8px;
    }
    .navbar .input-group .btn.btn-primary.rounded-end-pill i {
        font-size: 1rem;
    }
}

/* Gelişmiş Responsive Düzenlemeler */
.container, .container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
    max-width: 1200px;
    box-sizing: border-box;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}
[class^="col-"], [class*=" col-"] {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    box-sizing: border-box;
}
.features-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 0;
}
.features-section .col-lg-3, .features-section .col-md-4, .features-section .col-6 {
    flex: 1 1 220px;
    max-width: 25%;
}
@media (max-width: 1200px) {
    .container, .container-fluid {
        max-width: 1000px;
    }
}
@media (max-width: 992px) {
    .container, .container-fluid {
        max-width: 900px;
    }
    .features-section .col-lg-3, .features-section .col-md-4 {
        max-width: 33.333%;
    }
    .hero-section, .gallery {
        min-height: 220px;
    }
}
@media (max-width: 768px) {
    .container, .container-fluid {
        max-width: 100vw;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .features-section .col-lg-3, .features-section .col-md-4, .features-section .col-6 {
        max-width: 50%;
    }
    .reservation-card, .floating-reservation-widget {
        width: 100% !important;
        min-width: 0;
        max-width: 100vw;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        margin: 0 auto 20px auto !important;
        border-radius: 16px !important;
    }
    .features-section .row {
        gap: 0.5rem 0;
    }
    .hero-section, .gallery {
        min-height: 140px;
    }
    .footer {
        font-size: 0.95rem;
        padding: 1rem 0;
    }
    .card, .feature-item, .reservation-card, .content-card, .content-card-compact {
        border-radius: 12px !important;
        margin-bottom: 1rem;
    }
    h1, .display-4, .display-3 {
        font-size: 2rem !important;
    }
    h2, .display-5 {
        font-size: 1.5rem !important;
    }
    .lead, p, .card-text {
        font-size: 1rem !important;
    }
    .form-label, label {
        font-size: 0.98rem !important;
    }
    .btn, .btn-lg {
        font-size: 1rem !important;
        padding: 0.7rem 1.2rem !important;
    }
}
@media (max-width: 576px) {
    .container, .container-fluid {
        max-width: 100vw;
        padding-right: 0.3rem;
        padding-left: 0.3rem;
    }
    .features-section .col-lg-3, .features-section .col-md-4, .features-section .col-6 {
        max-width: 100%;
    }
    .reservation-card, .floating-reservation-widget {
        width: 100% !important;
        min-width: 0;
        max-width: 100vw;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        margin: 0 auto 15px auto !important;
        border-radius: 10px !important;
    }
    .features-section .row {
        gap: 0.2rem 0;
    }
    .hero-section, .gallery {
        min-height: 80px;
    }
    h1, .display-4, .display-3 {
        font-size: 1.3rem !important;
    }
    h2, .display-5 {
        font-size: 1.1rem !important;
    }
    .lead, p, .card-text {
        font-size: 0.95rem !important;
    }
    .form-label, label {
        font-size: 0.95rem !important;
    }
    .btn, .btn-lg {
        font-size: 0.95rem !important;
        padding: 0.6rem 1rem !important;
    }
    .footer {
        font-size: 0.9rem;
        padding: 0.7rem 0;
    }
}
/* Form ve inputlar için ek responsive */
.form-control, .form-select {
    font-size: 1rem;
    border-radius: 8px;
    min-width: 0;
}
@media (max-width: 576px) {
    .form-control, .form-select {
        font-size: 0.95rem;
        border-radius: 7px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 0 !important;
        padding-top: 60px !important;
    }
    
    /* Detay sayfası için özel ayarlar */
    .room-details-page.hero-section {
        margin-top: -100px !important;
        padding-top: 100px !important;
        display: block !important;
    }
    
    .room-details-page .hero-background {
        min-height: 50vh;
    }
    
    .room-details-page .hero-overlay {
        min-height: 50vh;
    }
    
    /* Mobilde hero section içeriğini gizle */
    .room-details-page .hero-section .display-4,
    .room-details-page .hero-section .lead,
    .room-details-page .hero-section .room-badges,
    .room-details-page .hero-section .price-card {
        display: none !important;
    }
    
    /* Üstteki beyaz şeridi kaldır */
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .hero-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .hero-background {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .hero-overlay {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Oda detay sayfası ikon renkleri - Zorla uygula */
.amenity-item i,
.spec-item i,
.amenities-section i,
.specifications i {
    color: #8B9A47 !important;
    fill: #8B9A47 !important;
}

.amenity-item i:hover,
.spec-item i:hover,
.amenities-section i:hover,
.specifications i:hover {
    color: #6B7C3A !important;
    fill: #6B7C3A !important;
}

/* Tüm ikonları hedefle */
.amenity-item .fas,
.amenity-item .far,
.amenity-item .fab,
.spec-item .fas,
.spec-item .far,
.spec-item .fab {
    color: #8B9A47 !important;
}