/* Kupferquelle Hotel Website Styles */

/* Global Styles */
:root {
    --primary-color: #00857e; /* Teal green - main brand color */
    --secondary-color: #8b5a2b; /* Copper-like color as secondary */
    --accent-color: #e8a923; /* Vibrant gold accent */
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #fff;
    --gray: #777;
    --light-gray: #eee;
    --dark-gray: #444;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Typography */
    --heading-font: 'Playfair Display', Georgia, serif;
    --body-font: 'Raleway', 'Open Sans', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.room-image, .activity-image, .restaurant-image, .about-image, .contact-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 8px 0 0;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Room Types Section */
.room-types,
.restaurant-section,
.activities-section,
.about-section,
.contact-section,
.booking-section,
.menu-section,
.gallery-section,
.spa-section,
.packages-section {
    padding: 80px 0;
}

/* Room Detail Page Images */
.room-detail-image {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Cover ensures the image fills its container without distortion */
    object-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    will-change: transform;
    transform: translateZ(0);
    image-rendering: auto; /* Let browser determine best rendering method */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    filter: none !important;
    -ms-interpolation-mode: bicubic;
    image-resolution: from-image;
    transition: transform 0.3s ease;
    /* Set fixed dimensions for consistent display */
    max-height: 600px;
    width: 100%;
    height: 400px;
}

.standard-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    overflow: hidden;
    transition: var(--transition);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.room-type {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.room-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.room-type img, .room-type picture {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.room-type picture {
    text-align: center;
    overflow: hidden;
}

.room-type img {
    object-fit: cover;
    height: 400px;
    width: 100%;
    display: inline-block;
}

.room-type h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin: 20px 20px 10px;
}

.room-type p, .room-type ul {
    padding: 0 20px;
    margin-bottom: 20px;
}

.room-type .btn-primary {
    margin: 10px 20px;
    display: inline-block;
}

.btn,
.menu-card .btn,
.gallery-card .btn,
.spa-card .btn,
.package-card .btn,
.btn-secondary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.booking-btn a, .btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

/* Button hover effects */
.btn:hover,
.booking-btn a:hover, 
.btn-primary:hover,
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Room card and booking form buttons */
.room-card .btn,
.booking-form-container .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Enhanced hover effect for specific buttons */
.room-card .btn:hover, 
.booking-form-container .btn:hover,
.cta .btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 5px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover:after,
.footer-links a:hover:after {
    width: 100%;
}

.booking-btn a, .btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.booking-btn a:hover, .btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-selector select {
    padding: 5px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
    outline: none;
}

.language-selector select:focus {
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    margin-top: 90px;
    position: relative;
    border-bottom: 5px solid var(--primary-color);
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.slide {
    position: relative;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
}

.slide-content h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Page Banner */
.page-banner {
    margin-top: 90px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Booking Widget */
.booking-widget {
    background-color: var(--white);
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    border-left: 1px solid var(--primary-color);
    border-right: 1px solid var(--primary-color);
}

#booking-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    background-color: rgba(0, 133, 126, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.form-group {
    flex: 1;
    margin: 0 10px 15px;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

#booking-form button {
    margin: 0 10px;
    height: 45px;
    align-self: flex-end;
    margin-bottom: 15px;
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
}

.booking-advantages {
    margin-bottom: 60px;
}

.booking-advantages h2 {
    font-family: var(--heading-font);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 700;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.advantage-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.booking-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.booking-form-container h2 {
    font-family: var(--heading-font);
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
    margin: 0;
    min-width: 200px;
}

.form-row .full-width {
    flex: 100%;
    width: 100%;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
    min-width: 300px;
}

.about-preview h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.about-preview p {
    margin-bottom: 20px;
}

.about-preview img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Rooms Preview Section */
.rooms-preview, .room-preview {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.rooms-preview h2, .room-preview h2 {
    font-family: var(--heading-font);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
}

.rooms-preview h2:after, .room-preview h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.room-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.room-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: var(--transition);
}

.room-card .carousel {
    height: 250px;
    margin-bottom: 0;
}

.room-card .carousel-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
}

.room-card:hover,
.menu-card:hover,
.activity-card:hover,
.gallery-card:hover,
.spa-card:hover,
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.room-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center; /* Centers the image focus point */
    display: block;
    will-change: transform; /* Optimizes for GPU rendering */
    transform: translateZ(0); /* Forces hardware acceleration */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: high-quality !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    filter: none !important;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.room-card h3 {
    font-family: var(--heading-font);
    padding: 20px 20px 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.room-card p {
    padding: 0 20px 15px;
    color: var(--gray);
}

.room-features {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 15px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.booking-section .room-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin-bottom: 30px;
}

.booking-section .room-card img {
    width: 40%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 0 0 8px;
    image-rendering: auto;
}

.room-info {
    padding: 20px;
}

.room-info h3 {
    padding: 0 0 10px;
}

.room-info p {
    padding: 0 0 15px;
}

.room-info .price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.center {
    text-align: center;
    margin-top: 40px;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    font-family: var(--heading-font);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 20px;
}

.feature-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: high-quality !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    perspective: 1000px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    filter: none !important;
}

.feature-card h3 {
    font-family: var(--heading-font);
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.testimonials h2 {
    font-family: var(--heading-font);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-top: 4px solid var(--accent-color);
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta h2 {
    font-family: var(--heading-font);
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta p {
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.benefit {
    text-align: center;
}

.benefit img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.cta .btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: bold;
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.cta .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    background-color: var(--white);
    color: var(--primary-color);
}

/* Confirmation Section */
.confirmation-section {
    margin-top: 90px;
    padding: 60px 0;
}

.confirmation-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.confirmation-content h1 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.confirmation-message {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.booking-details {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: left;
}

.booking-details h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 10px;
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Additional Info Section */
.additional-info {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.additional-info h2 {
    font-family: var(--heading-font);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 700;
}

.info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.info-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.info-card h3 {
    font-family: var(--heading-font);
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 5px solid var(--primary-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-family: var(--heading-font);
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-col p {
    margin-bottom: 15px;
    color: var(--light-gray);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-gray);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

#newsletter-form {
    display: flex;
    margin-top: 15px;
}

#newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

#newsletter-form button {
    border-radius: 0 4px 4px 0;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

#newsletter-form button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links a img {
    width: 30px;
    height: 30px;
    transition: var(--transition);
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: high-quality !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    perspective: 1000px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    filter: none !important;
}

.social-links a:hover img {
    transform: scale(1.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--light-gray);
}

.footer-links a {
    color: var(--light-gray);
    margin-left: 20px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Screen reader only utility class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip navigation link styling */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.skip-link:focus,
.skip-link:active {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .form-group {
        min-width: 150px;
    }
    
    .language-selector {
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .slide img {
        height: 450px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .booking-widget {
        margin-top: 0;
    }
    
    #booking-form {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
        margin: 0 0 15px;
    }
    
    #booking-form button {
        width: 100%;
        margin: 0;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col {
        margin-bottom: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .confirmation-content {
        padding: 20px;
    }
    
    .booking-details {
        padding: 15px;
    }
    
    .detail-row {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .detail-value {
        margin-top: 5px;
        font-weight: 600;
    }
}

@media (max-width: 576px) {
    .slide img {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .room-card {
        min-width: 100%;
    }
    
    .feature-card {
        min-width: 100%;
    }
    
    .advantage-card {
        min-width: 100%;
    }
    
    .info-card {
        min-width: 100%;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions a {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .page-banner {
        padding: 40px 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
}
