/* style.css */
:root {
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --black: #0A0A0A;
    --light-black: #1A1A1A;
    --spa-green: #2F4F4F;
    --light-spa: #E8F4F4;
    --water-blue: #7FB3D5;
    --deep-blue: #2C3E50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gray-100);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-user-select: none;
  user-select: none;
}

.gold-text {
    color: var(--gold);
}

.gold-bg {
    background-color: var(--gold);
}

.black-bg {
    background-color: var(--black);
}

.spa-bg {
    background-color: var(--spa-green);
}

.spa-light-bg {
    background-color: var(--light-spa);
}

.border-gold {
    border-color: var(--gold);
}

/* Spa Gradient */
.spa-gradient {
    background: linear-gradient(135deg, var(--spa-green) 0%, var(--black) 100%);
}



/* Minimalist Motion Hero Styles */
.motion-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
}

.particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/contact-us-banner.png');
    background-size: cover; /* Cover entire container */
    background-repeat: no-repeat; /* Do not repeat */
    background-position: center; /* Center it */
}

/*@keyframes particleShift {*/
/*    0% { background-position: 0 0; }*/
/*    100% { background-position: 40px 40px; }*/
/*}*/

/* Word-by-Word Title Animation */
.hero-main-title .word {
    opacity: 0;
    display: inline-block;
    transform: translateY(20px);
}

.word-1 { animation: fadeUpWord 0.8s ease 0.3s forwards; }
.word-2 { animation: fadeUpWord 0.8s ease 0.6s forwards; }
.word-3 { animation: fadeUpWord 0.8s ease 0.9s forwards; }
.word-4 { animation: fadeUpWord 0.8s ease 1.2s forwards; }

@keyframes fadeUpWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Animation for Dynamic Text */
.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--gold) }
}

/* Slow, Gentle Animations */
.animate-pulse-slow {
    animation: pulse 8s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce 3s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Contact Page Styles */
.contact-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(45deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--black);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--gold);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--spa-green);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--black);
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--gold);
}

.mapboxgl-map {
    border-radius: 15px;
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--spa-green) 0%, var(--black) 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Opening Hours Table */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.9);
}

.hours-table td:first-child {
    font-weight: 500;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--gold);
}

/* FAQ Section */
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question {
    color: var(--gold);
    border-bottom: 1px solid #e5e7eb;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--gold);
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: none;
    animation: fadeIn 0.5s ease;
}

.error-message {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Team Contact Card */
.team-contact-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    padding: 25px;
}

.team-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--gold);
    margin: 0 auto 20px;
}

/* Footer Styles */
.footer-link {
    position: relative;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-icon {
    transition: all 0.3s ease;
}

.footer-link:hover .footer-icon {
    transform: scale(1.2);
}

/* =========================================== */
/* RESPONSIVE STYLES (1600px to 320px) */
/* =========================================== */

/* Large Desktop: 1600px - 1200px */
@media (min-width: 1200px) and (max-width: 1600px) {
    .container {
        max-width: 1300px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .desktop-header .logo-container { width: 20%; }
    .desktop-header .nav-container { width: 60%; }
    .desktop-header .button-container { width: 20%; }
    
    .hero-main-title {
        font-size: 6.5rem !important;
    }
    
    .motion-hero {
        min-height: 85vh;
    }
}

/* Desktop: 1200px - 992px */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 1140px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .nav-list { gap: 25px; }
    .desktop-header .logo-container { width: 25%; }
    .desktop-header .nav-container { width: 50%; }
    .desktop-header .button-container { width: 25%; }
    
    .hero-main-title {
        font-size: 5.5rem !important;
    }
    
    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 35px;
    }
    
    .team-img {
        width: 100px;
        height: 100px;
    }
}

/* Tablet Landscape: 992px - 768px */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 960px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .desktop-header {
        display: none !important;
    }
    
    .mobile-header {
        display: flex !important;
    }
    
    .hero-main-title {
        font-size: 4.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important;
    }
    
    .motion-hero {
        min-height: 80vh;
        padding-top: 60px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .section-card, .contact-card, .team-contact-card {
        padding: 25px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .map-container {
        height: 350px;
    }
}

/* Tablet Portrait: 768px - 576px */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 720px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .motion-hero {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .hero-main-title {
        font-size: 3.5rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .dynamic-text-container {
        width: 180px !important;
    }
    
    .contact-essentials {
        font-size: 0.9rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .contact-icon-wrapper {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .hours-table td {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .team-img {
        width: 90px;
        height: 90px;
        border-width: 4px;
    }
}

/* Mobile: 576px - 425px */
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .motion-hero {
        min-height: 60vh;
        padding: 30px 0;
    }
    
    .hero-main-title {
        font-size: 2.8rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .dynamic-text-container {
        width: 150px !important;
    }
    
    .contact-essentials {
        font-size: 0.85rem;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .form-input, .form-textarea, .form-select {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    .info-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .hours-table td {
        padding: 8px 0;
        font-size: 0.85rem;
    }
    
    .team-img {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 15px;
        font-size: 0.9rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px 15px;
    }
    
    .footer .grid > div {
        margin-bottom: 30px;
    }
    
    .footer .border-t {
        margin-top: 20px;
        padding-top: 20px;
    }
}

/* Extra Small Mobile: 425px - 375px */
@media (max-width: 425px) {
    .hero-main-title {
        font-size: 2.4rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    
    .dynamic-text-container {
        width: 130px !important;
    }
    
    .contact-form-container {
        padding: 15px;
    }
    
    .contact-card, .team-contact-card {
        padding: 20px 15px;
    }
    
    .contact-icon-wrapper {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .contact-info-card {
        padding: 15px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 200px;
        border-width: 2px;
    }
    
    .hours-table td {
        font-size: 0.8rem;
    }
    
    .team-img {
        width: 70px;
        height: 70px;
    }
    
    .book-btn, .submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .mobile-nav-link {
        font-size: 1rem;
    }
    
    .footer .text-sm {
        font-size: 0.8rem;
    }
}

/* Ultra Small Mobile: 375px - 320px */
@media (max-width: 375px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .hero-main-title {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    .hero-subtitle-container {
        height: auto !important;
    }
    
    .dynamic-text-container {
        width: 120px !important;
        display: block !important;
        margin: 10px auto !important;
    }
    
    .contact-form-container h2 {
        font-size: 1.5rem;
    }
    
    .contact-form-container p {
        font-size: 0.9rem;
    }
    
    .form-input, .form-textarea, .form-select {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .form-textarea {
        min-height: 120px;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    .info-item h4 {
        font-size: 1rem;
    }
    
    .info-item p {
        font-size: 0.85rem;
    }
    
    .team-contact-card h3 {
        font-size: 1.2rem;
    }
    
    .team-contact-card p {
        font-size: 0.85rem;
    }
    
    .team-img {
        width: 60px;
        height: 60px;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    .faq-answer {
        font-size: 0.85rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer .text-lg {
        font-size: 1.1rem;
    }
}

/* iPhone 5/SE: 320px */
@media (max-width: 320px) {
    .hero-main-title {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
    
    .contact-form-container {
        padding: 12px;
    }
    
    .contact-card, .team-contact-card {
        padding: 15px 12px;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
    }
    
    .contact-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .map-container {
        height: 180px;
    }
    
    .contact-info-card {
        padding: 12px;
    }
    
    .info-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .hours-table td {
        font-size: 0.75rem;
    }
    
    .team-img {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .book-btn, .submit-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .mobile-logo-img {
        height: 40px;
    }
    
    .hamburger-line {
        width: 20px;
    }
    
    .footer .grid-cols-1 {
        gap: 20px;
    }
}

/* Grid and Layout Responsiveness */
@media (max-width: 768px) {
    .grid-cols-3 {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    
    .grid-cols-2 {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    
    .gap-8 {
        gap: 30px !important;
    }
    
    .gap-12 {
        gap: 40px !important;
    }
    
    .mb-16 {
        margin-bottom: 60px !important;
    }
    
    .py-12 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .py-20, .py-16 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

/* Animation Adjustments for Mobile */
@media (max-width: 768px) {
    .typing-animation {
        animation: typing 2.5s steps(20, end), blink-caret 0.75s step-end infinite;
    }
    
    .animate-bounce-slow {
        animation: bounce 2s infinite;
    }
    
    .hero-main-title .word {
        transform: translateY(15px);
    }
}

/* Form Responsiveness */
@media (max-width: 576px) {
    .flex-col {
        flex-direction: column !important;
    }
    
    .gap-4 {
        gap: 15px !important;
    }
    
    .space-x-4 > :not([hidden]) ~ :not([hidden]) {
        --tw-space-x-reverse: 0;
        margin-right: 0.5rem !important;
        margin-left: 0.5rem !important;
    }
    
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
}

.team-img {
    max-width: 100%;
    height: auto;
}

.logo-img, .mobile-logo-img {
    max-width: 100%;
    height: auto;
}

/* Button Responsiveness */
@media (max-width: 576px) {
    .book-btn, .submit-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .flex.justify-center.gap-4 {
        flex-direction: column;
        align-items: center;
    }
}

/* Map Responsiveness */
@media (max-width: 768px) {
    .mapboxgl-ctrl-top-right {
        top: 10px !important;
        right: 10px !important;
    }
    
    .mapboxgl-ctrl {
        transform: scale(0.9);
    }
}

/* Footer Responsiveness */
@media (max-width: 768px) {
    .footer .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .footer .grid-cols-4 {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    
    .footer .space-y-3 > * + * {
        margin-top: 0.75rem;
    }
}