/* ===== ACCESSIBILITY & MOBILE IMPROVEMENTS ===== */

/* Hide mobile-only elements on desktop */
@media screen and (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* SEO Structure Improvements */
.logo h2 {
    /* This is now an H2 in the HTML but styled like the original H1 */
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 4px;
    margin-bottom: 0;
    line-height: 1;
}
/* Improved focus states for keyboard navigation */
a:focus,
button:focus,
[role="button"]:focus,
input:focus,
select:focus,
textarea:focus,
.tab-btn:focus,
.social-icon:focus,
.contact-option-item:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 3px;
}

/* Skip link improvements */
.skip-link:focus {
    background-color: var(--dark);
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    z-index: 9999;
    border: 2px solid var(--primary-gold);
}

/* Mobile touch target improvements */
@media screen and (max-width: 768px) {
    /* Fix small text on mobile */
    .footer-contact address p {
        font-size: 1.4rem !important;
    }
    /* Ensure touch targets are large enough */
    .tab-btn,
    .contact-option-item,
    .social-icon,
    .footer-links a,
    .footer-services a,
    .main-nav a,
    .btn,
    .footer-contact a,
    .footer-info .social-icons a {
        min-height: 44px;
        min-width: 44px;
        display: block;
        padding: 10px;
    }

    /* Improve mobile navigation */
    .main-nav a {
        font-size: 1.8rem;
        padding: 1.5rem;
        display: block;
    }

    /* Improve button sizing for mobile */
    .btn {
        font-size: 1.6rem;
        padding: 1.5rem 3rem;
        width: 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    /* Improve mobile tab buttons */
    .tab-btn {
        width: 100%;
        padding: 1.5rem;
        font-size: 1.6rem;
    }

    /* Floating Book Now button - hidden by default on all devices */
    .floating-book-btn {
        display: none !important; /* Force hide on all devices */
    }
}

/* Social Media Icons */
.footer-social a {
    margin-right: 15px;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(212, 160, 23, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-gold);
    color: white;
    transform: translateY(-5px);
}

.footer-social a:last-child {
    margin-right: 0;
}

/* Treatwell booking link styles */
.contact-option-icon .fa-calendar-alt {
    color: #1eb5da; /* Treatwell brand color */
}

.contact-option-item:hover .contact-option-icon .fa-calendar-alt {
    color: white;
}

.contact-option-item:nth-child(4) .contact-option-icon {
    background-color: rgba(30, 181, 218, 0.1);
}

.contact-option-item:nth-child(4):hover .contact-option-icon {
    background: linear-gradient(to right bottom, #1eb5da, #0e95ba);
}

.contact-option-item:nth-child(4) .contact-link {
    color: #1eb5da;
}

.contact-option-item:nth-child(4) .contact-link:hover {
    color: #0e95ba;
}

.contact-option-item:nth-child(4)::before {
    background: linear-gradient(to bottom, #1eb5da, #0e95ba);
}

/* Mobile-specific styles for the floating button */
@media screen and (max-width: 768px) {
    .floating-book-btn {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%) translateY(20px);
        z-index: 99;
        background-color: var(--primary-gold);
        color: white;
        font-weight: bold;
        padding: 15px 30px;
        border-radius: 50px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        text-align: center;
        font-size: 1.6rem;
        min-width: 180px;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .floating-book-btn.visible {
        display: block !important; /* Override the default hiding */
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .floating-book-btn:hover,
    .floating-book-btn:focus {
        background-color: var(--primary-gold-dark);
        transform: translateX(-50%) translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }
}

/* New service label styling */
.new-label, .new-badge {
    display: inline-block;
    background-color: var(--primary-gold);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.new-badge {
    font-size: 0.65rem;
    padding: 1px 5px;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Hydro Facial Description Styling */
.hydro-facial-description {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--primary-gold);
    padding: 1.8rem;
    margin: 1.8rem 0 2.8rem;
    border-radius: 0 5px 5px 0;
}

.hydro-facial-description h4 {
    color: var(--primary-gold);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.hydro-facial-description > p {
    font-style: italic;
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
}

.hydro-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hydro-step {
    position: relative;
    padding-left: 2.5rem;
}

.hydro-step h5 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.hydro-step p {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.hydro-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .hydro-steps {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
    
    .hydro-step {
        flex: 1;
    }
}

/* Mobile-specific styles for Hydro Facial description */
@media (max-width: 767px) {
    .hydro-facial-description {
        padding: 2rem;
    }
    
    .hydro-facial-description h4 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .hydro-facial-description > p {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .hydro-steps {
        gap: 2rem;
    }
    
    .hydro-step h5 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .hydro-step p {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    
    .hydro-step::before {
        top: 0.5rem;
        width: 1.8rem;
        height: 1.8rem;
    }
}
