:root {
    --primary: #2c3e50;
    --secondary: #1a1a1a;
    --accent: #c9a66b;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gray: #5a6268;
    --border: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
}

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-switch a {
   
    
}

.lang-switch a.active,
.lang-switch a:hover {
    opacity: 1;
}

.nav-bar {
    padding: 10px 0;
}

.nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.btn-book {
    background: var(--accent);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-book:hover {
    background: #b8956a;
}

/* Hero Section */
.hero {
    margin-top: 0px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
            url('../images/gpt.jpg') center center / cover no-repeat;

    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Hero Title - typing effect style */
.typing-hero {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 500;
    color: #e6c79c;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.4;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #e6c79c;
    animation: typing 6s steps(80, end) forwards, blink 0.8s step-end infinite;
}

.typing-hero span {
    display: inline-block;
    white-space: nowrap;
    width: max-content;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { border-color: #e6c79c; }
    50% { border-color: transparent; }
}

@media (max-width: 992px) {
    html, body {
        overflow-x: hidden;
    }
    
    .typing-hero {
        font-size: 28px;
        white-space: normal;
        overflow: visible;
        border-right: none;
        animation: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .typing-hero {
        font-size: 24px;
        white-space: normal;
        overflow: visible;
        border-right: none;
        animation: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .typing-hero {
        font-size: 20px;
        line-height: 1.5;
        white-space: normal;
        overflow: visible;
        border-right: none;
        animation: none;
        width: 100%;
    }
}

/* Booking Widget */
.booking-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.booking-widget .form-group {
    flex: 1;
    min-width: 150px;
}

.booking-widget label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--gray);
}

.booking-widget input,
.booking-widget select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 16px;
}

.booking-widget button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 20px;
}

.booking-widget button:hover {
    background: #b8956a;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

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

/* Rooms Grid */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

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

.room-image {
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-info {
    padding: 25px;
}

.room-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.room-info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.room-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray);
}

.room-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
}

.room-price span {
    font-size: 14px;
    font-weight: normal;
    color: var(--gray);
}

.room-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #b8956a;
}

/* Services */
.services-section {
    background: var(--primary);
    color: var(--white);
}

.services-section .section-title h2 {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: 0.3s;
}

.service-item:hover {
    background: rgba(255,255,255,0.2);
}

.service-item i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--accent);
}

.service-item h4 {
    font-size: 16px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--gray);
}

.contact-info i {
    color: var(--accent);
    margin-right: 10px;
    width: 20px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Room Detail Page */
.room-detail {
    margin-top: 20px;
    padding: 50px 0;
}

.room-detail-header {
    margin-bottom: 30px;
}

.room-detail-header h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.room-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.room-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.room-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.room-gallery img:first-child {
    grid-column: span 2;
    height: 400px;
}

.room-description {
    margin-bottom: 30px;
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.room-description h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.room-amenities {
    margin-bottom: 30px;
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.room-amenities h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--light);
    border-radius: 5px;
    font-size: 13px;
}

.amenity-item i {
    font-size: 14px;
}

.room-location {
    margin-top: 30px;
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.room-location h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.room-calendar {
    margin-top: 30px;
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.room-calendar h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.booking-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
    align-self: start;
}
.bookformular h2{
    text-align: center;
}

.calendar-container h3 {
      text-align: center;
}

.booking-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
     text-align: center;
}

.booking-card .price {
    font-size: 32px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 20px;
}

.booking-card .price span {
    font-size: 16px;
    font-weight: normal;
    color: var(--gray);
}

/* Calendar */
.calendar-widget {
    margin: 20px 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-grid .day-name {
    font-weight: 600;
    font-size: 12px;
    color: var(--gray);
    padding: 5px;
}

.calendar-grid .day {
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.calendar-grid .day:hover:not(.disabled):not(.selected) {
    background: var(--light);
}

.calendar-grid .day.disabled {
    color: #999;
    cursor: not-allowed;
}

.calendar-grid .day.selected {
    background: var(--accent);
    color: var(--white);
}

.calendar-grid .day.in-range {
    background: rgba(201, 166, 107, 0.3);
}

.calendar-grid .day.blocked {
    background: #ffcccc;
    color: #cc0000;
    cursor: not-allowed;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background: var(--light);
    margin-top: 120px;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 10px;
    color: var(--gray);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--accent);
}

/* Admin Styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--primary);
    color: var(--white);
    position: fixed;
    height: 100vh;
    padding: 20px;
}

.admin-sidebar .logo {
    color: var(--white);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar ul {
    list-style: none;
}

.admin-sidebar ul li {
    margin-bottom: 5px;
}

.admin-sidebar ul li a {
    display: block;
    padding: 12px 15px;
    border-radius: 5px;
    color: rgba(255,255,255,0.7);
}

.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.admin-content {
    margin-left: 250px;
    padding: 30px;
    width: calc(100% - 250px);
    background: var(--light);
    min-height: 100vh;
}

.admin-header {
    background: var(--white);
    padding: 20px 30px;
    margin: -30px -30px 30px -30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.admin-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.admin-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-card h4 {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: var(--light);
    font-weight: 600;
    color: var(--primary);
}

.data-table tr:hover {
    background: var(--light);
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.login-box {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive */
@media (max-width: 768px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
   
    html, body {
        overflow-x: hidden;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    .form-group input {
        font-size: 14px;
    }
    .booking-widget button {
        text-align: center;
        margin-left: 10%;
    
    }
    .about-content,
    .contact-grid,
    .room-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }
    
    .amenity-item {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .amenity-item i {
        font-size: 12px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
    }
    
    .calendar-grid .day {
        padding: 5px;
        font-size: 12px;
    }
    
    .calendar-grid .day-name {
        font-size: 10px;
        padding: 2px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .breadcrumb ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed var(--border);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.image-upload-area:hover {
    border-color: var(--accent);
    background: rgba(201, 166, 107, 0.1);
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.image-preview img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.image-preview .remove-image {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
