/* Main Styles for domain audit website */
:root {
    /* Color palette */
    --main-bg: #0e1f26;
    --accent-yellow: #f1c40f;
    --accent-turquoise: #00cec9;
    --accent-coral: #ff7675;
    --text-primary: #f8f9fa;
    --text-secondary: #b2bec3;
    --gradient-button: linear-gradient(to right, var(--accent-turquoise), var(--accent-yellow));
    
    /* Spacing */
    --section-padding: 4rem 2rem;
    --container-width: 1200px;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    background-color: var(--main-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2.5rem;
}



h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-yellow);
}

.text-center {
    text-align: center;
}

.section {
    padding: var(--section-padding);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-button);
    color: var(--main-bg);
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 206, 201, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 206, 201, 0.4);
    color: var(--main-bg);
}

/* Header */
header {
    background-color: rgba(14, 31, 38, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-yellow);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    position: relative;
    font-weight: 500;
}

.nav-menu a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-yellow);
    transition: all 0.3s ease;
}

.nav-menu a:hover:before {
    width: 100%;
}

/* Mobile menu toggle - PHP controlled */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(14, 31, 38, 0.8), rgba(14, 31, 38, 0.9)), url('../img/RwxmBU.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    animation: fadeInUp 1.2s ease;
}

.hero-btns {
    animation: fadeInUp 1.4s ease;
}

/* About Section */
.about {
    background-color: rgba(255, 255, 255, 0.05);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 1s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background-color: var(--main-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-turquoise);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-turquoise);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits {
    background-color: rgba(255, 255, 255, 0.02);
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials */
.testimonials {
    background-color: var(--main-bg);
}

.testimonial-container {
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    font-style: italic;
    position: relative;
    padding: 1rem 0;
}

.testimonial-content:before {
    content: """;
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: var(--accent-coral);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-details h4 {
    margin-bottom: 0.2rem;
}

.author-details p {
    color: var(--accent-turquoise);
    margin: 0;
}

/* FAQ Section */
.faq {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-answer {
    background: rgba(0, 0, 0, 0.1);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

/* Contact Form */
.contact {
    background: linear-gradient(rgba(14, 31, 38, 0.9), rgba(14, 31, 38, 0.95)), url('../img/onXlNA.jpg');
    background-size: cover;
    background-position: center;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-turquoise);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    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='%23f8f9fa' 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;
    color: var(--text-primary);
}

select.form-control option {
    background-color: var(--main-bg);
    color: var(--text-primary);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-yellow);
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links h3 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-contact h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 15px;
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h2 {
    color: var(--accent-yellow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.policy-container h3 {
    color: var(--accent-turquoise);
    margin: 2rem 0 1rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(14, 31, 38, 0.95);
    border-top: 3px solid var(--accent-turquoise);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-text {
    flex: 1;
    padding-right: 2rem;
}

.cookie-text p {
    margin: 0;
}

.cookie-actions {
    display: flex;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.accept-cookies {
    background: var(--gradient-button);
    color: var(--main-bg);
    border: none;
}

.decline-cookies {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Thank You Page */
.thank-you {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--accent-yellow);
    margin-bottom: 2rem;
}

/* Responsive styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--main-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1002;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 3rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-bottom: 1rem;
        padding-right: 0;
    }
}
