@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Basic Reset & Body Style */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0.1rem;
    padding: 0;
    background-color: #fdfdfd;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.address-bar {
    background-color: #f8f8f8;
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.location-info {
    display: flex;
    align-items: center;
}

.location-info span {
    color: #666;
    margin-right: 0.5rem;
}

.location-info a {
    color: #5a6e5a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-info a:hover {
    color: #1d9762;
    text-decoration: underline;
}

nav {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5a6e5a;
    /* Earthy green */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'MonteCarlo', cursive;
}

nav .logo .logo-img {
    height: 40px;
    width: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

nav ul li a:hover {
    color: #23d689;
}
nav ul li a:active {
    color: #23d689;
    transform: scale(1.1);
    transition: transform 0.1s, color 0.3s;
}

/* Hamburger Menu - Hidden on Desktop */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #5a6e5a;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Main Content */
main {
    padding: 0;
}

/* Hero Section */
.hero {
    background-image: url('../images/garden.jpg');
    /* Placeholder image */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    min-height: 400px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    margin: 0;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cta-button {
    background-color: #5a6e5a;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #495a49;
}

.booking-button {
    display: inline-block;
    background-color: white;
    color: #5a6e5a;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: 2px solid #5a6e5a;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}

.booking-button:hover {
    background-color: white;
    border-color: #495a49;
    color: #495a49;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Intro & Features Sections */
.intro,
.features {
    text-align: center;
    padding: 2rem 1rem;
}

.intro {
    background-color: #faf8f5;
}

.intro p {
    margin: 0.5rem 0;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    flex-basis: 400px;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.feature img {
    height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
}

.feature a {
    color: #8c7851;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.feature a:hover {
    color: #0d8b54;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .social-link {
    text-align: left;
    margin-left: 1rem;
}

footer .social-link a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

footer .social-link a:hover {
    color: #1877f2;
}

footer .social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Generic Page Header */
.page-header {
    background-color: #faf8f5;
    text-align: center;
    padding: 1rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #5a6e5a;
    font-family: 'MonteCarlo', cursive;
}

/* Content Section */
.content-section {
    padding: 0rem 1rem 0.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    margin-left: 0;
    font-size: 2rem;
    scroll-margin-top: 120px;
}

.content-section h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.content-section p {
    line-height: 1.4;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.content-section > *:not(h2) {
    margin-left: 2rem;
}

.content-section .service-item {
    margin-left: 2rem;
    margin-top: 1.5rem;
}

/* Services Page Navigation */
.services-nav ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-evenly;
    gap: 1rem;
    width: 100%;
}

.services-nav ul li {
    margin: 0;
}

.services-nav ul li a {
    color: #5a6e5a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    font-size: 1.1rem;
}

.services-nav ul li a:hover {
    color: #23d689;
}

.services-nav ul li a:active {
    color: #23d689;
    transform: scale(1.1);
    transition: transform 0.1s, color 0.3s;
}

/* Treatments Two-Column Layout */
.treatments-columns {
    display: flex;
    gap: 2rem;
    margin-left: 2rem;
    margin-top: 1.5rem;
}

.treatments-column {
    flex: 1;
    margin-left: 0;
}

.treatments-column .service-item {
    margin-left: 0;
}

@media (max-width: 768px) {
    .treatments-columns {
        flex-direction: column;
    }
    
    /* Services page navigation - mobile responsive */
    .services-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .services-nav ul li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .services-nav ul li:last-child {
        border-bottom: none;
    }
    
    .services-nav ul li a {
        display: block;
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* About Page Styles */
.about-page-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.about-page-main {
    flex: 1;
}

.explore-area-section {
    background-color: #faf8f5;
    padding: 2rem 1rem;
    margin-top: 0;
}

.explore-area-title {
    text-align: center;
    color: #5a6e5a;
    margin-bottom: 2rem;
    font-family: 'MonteCarlo', cursive;
    font-size: 2.5rem;
}

.explore-area-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.attraction-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.attraction-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.attraction-card h3 {
    color: #5a6e5a;
    margin-top: 0;
}

.attraction-distance {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.attraction-link {
    color: #8c7851;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.attraction-link:hover {
    color: #16ba73;
}

.nearby-note {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.about-content img {
    max-width: 250px;
    border-radius: 80px;
    display: block;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-content img {
        max-width: 150px;
    }
}

/* Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

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

/* Mobile gallery fix - prevent horizontal overflow */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-grid img {
        height: 250px;
    }
}

/* Language Switcher Styles */
.language-switcher {
    margin-left: auto;
    padding-right: 1rem;
}

.language-switcher a {
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    color:black;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.flag-icon {
    width: 20px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.language-switcher a:hover {
    font-weight: bold;
}

/* Rooms Page Styles */
.room-listing {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #5a6e5a;
}

.room-listing:last-of-type {
    border-bottom: none;
}

.room-listing a {
    color: #5b9bd5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.room-listing a:hover {
    color: #0d8b54;
}

.room-listing img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.horizontal-scroll-gallery {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.horizontal-scroll-gallery img {
    height: 300px;
    width: auto;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

.horizontal-scroll-gallery::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.horizontal-scroll-gallery::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.horizontal-scroll-gallery::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.cottage-info-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 3px solid #5a6e5a;
    background-color: #f5f5f5;
}

#extra-options {
    padding-top: 1rem;
    margin-bottom: 3rem;
}

.amenities-sections {
    margin-top: 2rem;
}

.amenity-details {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 0;
    overflow: hidden;
}

.amenity-details summary {
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    background-color: #fafafa;
    transition: background-color 0.3s ease;
    user-select: none;
}

.amenity-details summary::-webkit-details-marker {
    display: none;
}

.amenity-details summary::after {
    content: " ▼";
    float: right;
    transition: transform 0.3s ease;
}

.amenity-details[open] summary::after {
    transform: rotate(-180deg);
}

.amenity-details summary:hover {
    background-color: #f0f0f0;
}

.amenity-details ul {
    padding: 1rem 2rem;
    margin: 0;
    list-style: disc;
}

.amenity-details li {
    padding: 0.25rem 0;
}

/* Contact Page Styles */
.contact-layout {
    display: flex;
    gap: 3rem;
}

.contact-form {
    flex: 2;
}

.contact-info {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 1rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.contact-form .cta-button {
    margin-top: 2rem;
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.map-placeholder {
    margin-top: 2rem;
    height: 300px;
    background-color: #E8E2D9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a6e5a;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
    }

    header {
        position: relative;
    }

    nav {
        flex-direction: row;
        padding: 1rem;
        gap: 0;
        justify-content: space-between;
        position: relative;
    }

    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
        order: 2;
    }

    nav .logo {
        order: 1;
        font-size: 1.2rem;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: visible;
        gap: 0;
        padding: 80px 2rem 2rem 2rem;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    /* Mobile menu open state */
    nav ul.mobile-menu-open {
        transform: translateX(0);
    }

    nav ul li {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        white-space: normal;
        flex-shrink: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav ul li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    .language-switcher {
        padding-right: 0;
    }

    .hero {
        min-height: 250px;
        padding: 2rem 1rem;
        background-position: center top;
    }
    
    .content-section {
        padding: 0rem 0.5rem 0.5rem 0.5rem;
    }
    
    .content-section > *:not(h2) {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .address-bar {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Booking buttons - stack vertically on mobile */
    .booking-button {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .feature img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    footer {
        font-size: 0.85rem;
    }

    footer .social-link a {
        font-size: 0.85rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: #f1f1f1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 12px 24px;
    border-radius: 4px;
    max-width: 80%;
    text-align: center;
    font-size: 16px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
}

/* Mobile responsiveness for lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 40px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 8px 14px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 80%;
    }
    
    .lightbox-caption {
        font-size: 14px;
        padding: 8px 16px;
        max-width: 90%;
        bottom: 50px;
    }
    
    .lightbox-counter {
        font-size: 12px;
        padding: 6px 12px;
        bottom: 15px;
    }
}

/* Form Validation Styles */
.contact-form input.valid,
.contact-form textarea.valid {
    border-color: #4CAF50 !important;
    background-color: #f1f8f4 !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%234CAF50" d="M8.5 14.5l-4-4 1.4-1.4 2.6 2.6 6.6-6.6 1.4 1.4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px 20px;
    padding-right: 40px;
}

.contact-form input.invalid,
.contact-form textarea.invalid {
    border: 2px solid #f44336 !important;
    background-color: #ffebee !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1) !important;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.contact-form textarea.valid {
    background-position: right 10px top 10px;
}

.error-message {
    color: #f44336;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: normal;
}

.char-counter {
    font-size: 0.875rem;
    color: #666;
    text-align: right;
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: #ff9800;
    font-weight: bold;
}

.form-notification {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.notification-icon {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.notification-message {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: opacity 0.2s, background-color 0.2s;
}

.notification-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

.notification-close:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.form-notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.form-notification.success .notification-icon {
    color: #28a745;
}

.form-notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

.form-notification.error .notification-icon {
    color: #dc3545;
}

.form-notification.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.contact-form .cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #999;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #5a6e5a;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #4a5e4a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Mobile adjustments for scroll button */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}