/* 
 * Main CSS Styles for Domain Audit Website
 * Using the required color scheme:
 * - Background: #2D0B41 (deep purple)
 * - Accents: #00FFD1 (neon blue), #C7FF00 (lime)
 * - Text: #F0F0F0 (light gray)
 */

/* Reset and Base Styles */
:root {
    --bg-color: #2D0B41;
    --accent1: #00FFD1;
    --accent2: #C7FF00;
    --text-color: #F0F0F0;
    --dark-accent: #1A0625;
    --light-accent: #4A2463;
    --gradient: linear-gradient(135deg, var(--accent2) 0%, var(--accent1) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent1);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent2);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--bg-color);
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(0, 255, 209, 0.4);
    transform: translateY(-2px);
    color: var(--bg-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent1);
    color: var(--accent1);
}

.btn-secondary:hover {
    background-color: var(--accent1);
    color: var(--bg-color);
}

.btn-accent {
    background-color: var(--accent2);
    color: var(--bg-color);
}

.btn-accent:hover {
    background-color: var(--accent1);
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    padding: 10px;
    color: var(--accent1);
    text-decoration: underline;
}

/* Header & Navigation */
header {
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(45, 11, 65, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 8px;
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent1);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 30px;
}

.desktop-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: var(--accent1);
}

.desktop-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent1);
    transition: width 0.3s ease;
}

.desktop-nav ul li a:hover:after,
.desktop-nav ul li a.active:after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.menu-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle-button span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--accent1);
    transition: all 0.3s ease;
}

.menu-toggle-button.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-button.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999;
    padding-top: 100px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    display: block;
}

.mobile-menu nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu nav ul li {
    margin: 15px 0;
}

.mobile-menu nav ul li a {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    display: block;
    padding: 10px;
}

.menu-close {
    background: none;
    border: 2px solid var(--accent1);
    color: var(--accent1);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 20px;
}

.menu-close:hover {
    background-color: var(--accent1);
    color: var(--bg-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(45, 11, 65, 0.8), rgba(45, 11, 65, 0.95)), 
                url('./img/JBBoCo.jpg') no-repeat center center/cover;
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
#about {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-content h2:after {
    left: 0;
    transform: none;
}

.mission-values {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.value-item {
    background-color: var(--light-accent);
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-item h4 {
    color: var(--accent1);
    margin-bottom: 15px;
}

/* Services Section */
#services {
    background-color: var(--dark-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.service-card {
    background-color: var(--light-accent);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--bg-color);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent1);
}

.service-description {
    flex-grow: 1;
}

.service-card .btn {
    margin-top: 20px;
    align-self: flex-start;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.benefit-icon {
    background: var(--gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--bg-color);
}

.benefit-content h4 {
    margin-bottom: 10px;
    color: var(--accent1);
}

/* Testimonials Section */
#testimonials {
    background-color: var(--dark-accent);
    position: relative;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.testimonial-card {
    background-color: var(--light-accent);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-name {
    font-weight: bold;
    color: var(--accent1);
}

.author-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-rating {
    color: var(--accent2);
    margin-top: 10px;
}

/* Contact Form Section */
#contact {
    position: relative;
    background: linear-gradient(rgba(45, 11, 65, 0.9), rgba(45, 11, 65, 0.95)), 
                url('./img/K6WvzX.jpg') no-repeat center center/cover;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    align-items: center;
}

.contact-info h3 {
    color: var(--accent1);
    margin-bottom: 25px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    color: var(--accent2);
    margin-right: 15px;
    font-size: 1.2rem;
}

.form-container {
    background-color: var(--light-accent);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-container h3 {
    margin-bottom: 30px;
    color: var(--accent1);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: rgba(240, 240, 240, 0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 2px rgba(0, 255, 209, 0.2);
}

select.form-control {
    appearance: none;
    background-color: rgba(240, 240, 240, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300FFD1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    border: 2px solid var(--accent1);
    color: white;
    font-weight: 500;
}

select.form-control option {
    background-color: var(--dark-accent);
    color: white;
}

select.form-control:focus {
    border-color: var(--accent2);
    box-shadow: 0 0 0 3px rgba(199, 255, 0, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    margin-top: 30px;
}

.form-submit .btn {
    width: 100%;
}

.form-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-accent);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(74, 36, 99, 0.8);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--accent1);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-toggle {
    color: var(--accent1);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    font-weight: bold;
}

/* PHP-based FAQ toggle */
.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
footer {
    background-color: var(--dark-accent);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-gap: 40px;
}

.footer-about p {
    margin-top: 20px;
}

.footer-contact p,
.footer-navigation ul,
.footer-legal ul {
    margin-top: 20px;
}

footer h3 {
    color: var(--accent1);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

footer h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent2);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

.copyright {
    border-top: 1px solid rgba(240, 240, 240, 0.1);
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--light-accent);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 150px auto 80px;
    background-color: var(--light-accent);
    padding: 40px;
    border-radius: 10px;
}

.policy-container h1 {
    color: var(--accent1);
    margin-bottom: 30px;
}

.policy-container h2 {
    color: var(--accent2);
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-container p, 
.policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-left: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.thank-you svg {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.thank-you h1 {
    color: var(--accent1);
}

.thank-you p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    margin-top: 80px;
    font-size: 0.9rem;
    color: rgba(240, 240, 240, 0.7);
}

.breadcrumbs a {
    color: var(--accent1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .mission-values {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .testimonials-container,
    .benefits-grid,
    .mission-values,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
} 