/* Variables and fonts now loaded from variables.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

p {
    text-align: center;
}

/* Container */
.container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.modal-content h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color-light);
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-hover);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-md);
    z-index: 100;
}

.scroll-to-top.visible {
    opacity: 1;
}

.scroll-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.2);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .parallax {
        height: 60vh;
    }
    
    .parallax-content h2 {
        font-size: 2rem;
    }
    
    .parallax-content p {
        font-size: 1rem;
    }
}

/* Install Guide Modal */
.install-guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.install-guide-content {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    max-height: 90vh;
    overflow-y: auto;
}

.install-guide-content h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.close-guide-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color-light);
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
}

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

.guide-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.tab-button {
    background: none;
    border: none;
    color: var(--text-color-light);
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-button:hover {
    color: var(--primary-color);
}

.guide-content {
    display: none;
}

.guide-content.active {
    display: block;
}

.guide-step {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.guide-step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.guide-step p {
    margin-bottom: 1rem;
}

.guide-image {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .install-guide-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .guide-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        margin: 0.25rem 0;
        width: 100%;
        text-align: center;
    }
}

