/* Modern Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #003B64;
    /* Ana renk (primary) */
    --primary-dark: #002947;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.section-padding {
    padding: 60px 0;
}

/* Header & Topbar */
.topbar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info span {
    margin-right: 20px;
}

.topbar-info i {
    margin-right: 5px;
}

.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Navigation Button */
.nav-btn {
    padding: 10px 20px !important;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 6px !important;
}

.nav-btn::after {
    display: none !important;
}

.nav-btn:hover {
    background: var(--primary-dark) !important;
}

/* Hero Section */
.hero {
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Reservation Bar */
.booking-wrapper {
    margin-top: -50px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.booking-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.booking-btn {
    flex: 0 0 auto;
}

/* Features/About Section */
.about-section {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.twin-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 0;
}

.twin-icons .feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: #2c2c2c;
    color: #e0e0e0;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-dark);
    padding: 10px;
    z-index: 1001;
}

.nav-btn {
    padding: 8px 15px !important;
    font-size: 0.9rem !important;
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

/* Tablet & Small Desktop */
@media (max-width: 992px) {
    .logo {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {

    /* Topbar */
    .topbar {
        padding: 8px 0;
        font-size: 0.8rem;
    }

    .topbar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .topbar-info span {
        margin-right: 15px;
    }

    .topbar-info span:last-child {
        margin-right: 0;
    }

    /* Header */
    .main-header .container {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1rem;
        max-width: 200px;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
    }

    /* Navigation */
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    .nav-menu li a::after {
        display: none;
    }

    .nav-btn {
        text-align: center;
        width: 100%;
    }

    /* Hero */
    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        padding: 0 20px;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Booking Form */
    .booking-wrapper {
        margin-top: -30px;
        padding: 0 15px 30px;
    }

    .booking-form {
        padding: 20px;
        flex-direction: column;
    }

    .form-group {
        min-width: 100%;
    }

    .booking-btn {
        width: 100%;
    }

    .booking-btn .btn {
        width: 100%;
    }

    /* Section Padding */
    .section-padding {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .section-title p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-top: 25px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* Footer */
    footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4 {
        font-size: 1.1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .topbar-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .topbar-info span {
        margin-right: 0;
    }

    .logo {
        font-size: 0.85rem;
    }

    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 25px 20px;
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* ========================================
   SEARCH BAR STYLES
======================================== */

.search-bar-wrapper {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-item:hover {
    border-color: var(--primary-color);
}

.search-item i {
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-item-content {
    display: flex;
    flex-direction: column;
}

.search-date {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.search-day {
    font-size: 0.8rem;
    color: var(--text-light);
}

.search-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.search-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.search-item-small {
    padding: 12px 15px;
}

.hidden-date-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.search-btn {
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-btn.primary {
    background: var(--primary-color);
    color: var(--white);
}

.search-btn.primary:hover {
    background: var(--primary-dark);
}

.search-btn.secondary {
    background: var(--text-color);
    color: var(--white);
}

.search-btn.secondary:hover {
    background: #444;
}

/* ========================================
   RESULTS SECTION STYLES
======================================== */

.results-section {
    padding: 30px 0 60px;
    background: var(--bg-light);
    min-height: 60vh;
}

.results-header {
    margin-bottom: 25px;
}

.results-info {
    margin-bottom: 15px;
}

.results-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.results-badge i {
    margin-right: 5px;
}

.results-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    background: var(--primary-dark);
}

.filter-tag.active {
    background: var(--primary-dark);
}

.filter-dropdown .filter-tag {
    background: var(--primary-color);
}

/* ========================================
   ROOM CARD STYLES
======================================== */

.room-results {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.room-card {
    display: grid;
    grid-template-columns: 280px 1fr 250px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Room Image */
.room-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.room-slider {
    width: 100%;
    height: 100%;
}

.room-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.room-slider img.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.room-card-image:hover .slider-btn {
    opacity: 1;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-btn:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}



/* Room Details */
.room-card-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.room-feature {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.room-feature i {
    color: var(--text-light);
    font-size: 0.75rem;
}

.room-tags {
    margin-bottom: 10px;
}

.room-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.room-tag.breakfast {
    background: #2c3e50;
    color: var(--white);
}

.room-policy {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.room-policy i {
    color: var(--primary-color);
}

/* Room Price */
.room-card-price {
    padding: 25px;
    background: #fafafa;
    border-left: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
}

.price-block {
    margin-bottom: 15px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.price-amount sup {
    font-size: 1rem;
    font-weight: 400;
}

.price-info {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 3px;
}

.room-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.room-quantity label {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    width: 60px;
    text-align: center;
}

.btn-reserve {
    display: inline-block;
    padding: 14px 35px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-reserve:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
}

.no-results i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.no-results p {
    color: var(--text-light);
    max-width: 400px;
    margin: 0 auto;
}

/* ========================================
   ROOM CARD RESPONSIVE
======================================== */

@media (max-width: 992px) {
    .room-card {
        grid-template-columns: 250px 1fr 200px;
    }

    .room-title {
        font-size: 1.1rem;
    }

    .price-amount {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .search-bar-wrapper {
        top: 60px;
        padding: 10px 0;
    }

    .search-bar {
        gap: 8px;
    }

    .search-item {
        padding: 10px 12px;
        flex: 1;
        min-width: calc(50% - 4px);
    }

    .search-date {
        font-size: 0.9rem;
    }

    .search-btn {
        flex: 1;
        justify-content: center;
        padding: 12px;
    }

    .room-card {
        grid-template-columns: 1fr;
    }

    .room-card-image {
        height: 200px;
    }

    .room-card-price {
        border-left: none;
        border-top: 1px solid #eee;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 15px;
    }

    .price-block {
        margin-bottom: 0;
    }

    .room-quantity {
        margin-bottom: 0;
    }

    .btn-reserve {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-item {
        min-width: 100%;
    }

    .search-item-small {
        min-width: calc(50% - 4px);
    }

    .results-filters {
        gap: 8px;
    }

    .filter-tag {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .room-features {
        gap: 5px;
    }

    .room-feature {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}