/* Main CSS file for domain.org */

:root {
    --main-bg: #1E1E24;
    --secondary-bg: #242424;
    --accent: #F25C54;
    --text: #F4F1DE;
    --headers: #E8E9EB;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    background-color: var(--main-bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--headers);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text);
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn:hover {
    background-color: #d94f47;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* Header */
header {
    background-color: var(--secondary-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

/* Navigation */
.nav-desktop {
    display: flex;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop li {
    margin-left: 20px;
}

.nav-desktop a {
    color: var(--text);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-desktop a:hover {
    background-color: var(--accent);
    text-decoration: none;
}

/* Mobile menu (PHP-based) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-mobile {
    display: none;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    background-color: var(--main-bg);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeIn 1.2s ease;
}

.hero .btn {
    animation: scaleIn 1.4s ease;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-content {
    flex: 1;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-bg);
    border-radius: 8px;
    padding: 0 0 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--accent);
    padding: 0 30px;
}

.service-card p {
    padding: 0 30px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--secondary-bg);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--main-bg);
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    transition: var(--transition);
}

.faq-answer {
    background-color: var(--secondary-bg);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Contact Form */
.contact {
    padding: 80px 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #333;
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 20px;
    display: block;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    max-width: 300px;
    z-index: 9999;
    display: none;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

/* Policy Pages */
.policy-page {
    padding: 80px 0;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    color: #000;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.policy-container h1 {
    color: #333;
}

.policy-container h2 {
    color: #444;
    margin-top: 40px;
}

.policy-container p {
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-mobile {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-bg);
        padding: 20px;
        box-shadow: var(--box-shadow);
    }
    
    .nav-mobile.active {
        display: block;
    }
    
    .nav-mobile ul {
        list-style: none;
    }
    
    .nav-mobile li {
        margin-bottom: 15px;
    }
    
    .nav-mobile a {
        color: var(--text);
        font-weight: 600;
        display: block;
        padding: 8px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
} 