/* Accent color for support-section links */
/* Accent color for support-section links */
.support-section a[href^="mailto:"],
.support-section a[href^="tel:"],
.support-section a[href^="http"] {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}
.support-section a[href^="mailto:"]:hover,
.support-section a[href^="tel:"]:hover,
.support-section a[href^="http"]:hover {
    color: var(--primary-color);
}
/* Section backgrounds for readability */
.services-section,
.welcome-section,
.tourism-section,
.support-section {
    background: rgba(255,255,255,0.92);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 24px 18px;
    margin-bottom: 28px;
}
body {
    background: url('img/Hotel-LaJoya-Final-alta-045.jpg') no-repeat fixed center center/cover;
}
.parallax-bg {
    background: url('img/Hotel-LaJoya-Final-alta-045.jpg') no-repeat fixed center center/cover;
    min-height: 100vh;
    width: 100%;
}
/* ============================================
   Global Styles
   ============================================ */

@font-face {
    font-family: 'BwHelderExtraBold';
    src: url('font/BwHelder-W2ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

:root {
    --primary-color: #f6cf5b;
    --primary-light: #ffe48a;
    --primary-dark: #bfa53e;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #ecf0f1;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================
   Header
   ============================================ */

.header {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.logo h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

/* ============================================
   Main Content
   ============================================ */

/* Services Section */
.services-section {
    margin: 30px 0 40px 0;
}
.services-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 18px;
}
.service-btn {
    flex: 1 1 180px;
    min-width: 180px;
    max-width: 260px;
    background: #fff;
    color: #000000;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 18px 12px;
    text-align: center;
    font-size: 1.1rem;
    font-family: 'BwHelderExtraBold', sans-serif;
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}
.service-btn i {
    font-size: 1.4rem;
}
.service-btn:hover {
    background: #f6cf5b;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
/* Modal for WiFi */
.modal.hidden {
    display: none;
}
.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 28px 18px 18px 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    position: relative;
    max-width: 400px;
    width: 100%;
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover {
    color: #f6cf5b;
}
.welcome-section p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ============================================
   Status Section
   ============================================ */

.status-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--success-color);
}

.status-indicator {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--success-color);
    gap: 10px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-dot.connected {
    background: var(--success-color);
}

.status-dot.disconnected {
    background: var(--error-color);
}

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

/* ============================================
   Form Styles
   ============================================ */

.login-section {
    padding: 30px;
}

.form-card h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.form-group.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    padding: 0;
}

.form-group.checkbox label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ============================================
   Services Section
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   Support Section
   ============================================ */


/* ============================================
   Footer
   ============================================ */

.footer {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
    box-shadow: var(--shadow-lg);
}

.footer p {
    margin: 8px 0;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ============================================
   Modal Styles
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.modal-content .small-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 15px 0;
}

.modal-content button {
    width: 100%;
    margin-top: 20px;
}

/* ============================================
   Tourism Carousel Styles
   ============================================ */

.tourism-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.carousel-arrow {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.3s, transform 0.2s;
}
.carousel-arrow:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

#tourism-carousel {
    width: 100%;
    max-width: 400px;
    min-height: 220px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
}
.tourism-card {
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin: 0 auto;
    min-width: 320px;
    max-width: 400px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    animation: fadeInTourism 0.5s;
}
.tourism-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}
.tourism-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}
@keyframes fadeInTourism {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Support Info Styles
   ============================================ */

/* Social Buttons */
.support-buttons {
    margin-top: 15px;
    display: flex;
    gap: 300px;
    width: 100%;
}
.social-btn {
    background: #fff;
    color: #f6cf5b;
    border-radius: 50%;
    padding: 12px;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
    outline: none;
    font-size: 1.5rem;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.social-btn:last-child {
    margin-right: 0;
}
   
@media (max-width: 600px) {
    .support-buttons {
        gap: 150px;
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 20px;
        margin-bottom: 20px;
    }

    .logo h1 {
        font-size: 1.6rem;
    }

    section {
        padding: 20px;
        margin-bottom: 15px;
    }

    .login-section {
        padding: 20px;
    }

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

    /*.support-buttons {
        flex-direction: column;
    }*/

    .support-buttons button {
        width: 100%;
    }

    .modal-content {
        padding: 30px 20px;
    }
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}
