/* Main styles for domain.com */

/* Global styles */
:root {
    --background: #f2f6ff;
    --accent1: #3a0ca3; /* Royal blue */
    --accent2: #f72585; /* Vivid pink */
    --headings: #03071e;
    --text: #4a4e69;
    --gradient: linear-gradient(135deg, #f72585 0%, #7209b7 100%);
    --card-bg: #ffffff;
    --card-shadow: rgba(0,0,0,0.1);
    --card-border: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--headings);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--accent1);
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.container > h2, .container > p {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.btn {
    background: var(--gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: auto;
    max-width: max-content;
    display: block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Header styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent1);
}

/* Navigation */
.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--accent1);
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

/* Hero Section */
.hero {
    background-image: url('./img/3yM0b.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    padding: 7rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: white;
    padding: 4rem 0;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--card-shadow);
    border: 1px solid var(--card-border);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card h3 {
    color: var(--accent1);
    margin-bottom: 1rem;
}

.service-card-footer {
    padding: 1rem 1.5rem 1.5rem;
}

/* Advantages Section */
.advantages {
    background-color: white;
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
}

.advantage-item h3 {
    color: var(--accent1);
    margin: 1rem 0;
}

/* Reviews Section */
.reviews {
    padding: 4rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.review-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--card-shadow);
    border: 1px solid var(--card-border);
    padding: 2rem;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-name {
    font-weight: 600;
    color: var(--accent1);
}

.review-stars {
    color: #ffb400;
    margin-top: 0.5rem;
}

/* FAQ Section */
.faq {
    background-color: white;
    padding: 4rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background-color: var(--background);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: block;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-checkbox {
    display: none;
}

.faq-checkbox:checked + .faq-question::after {
    content: '−';
}

.faq-checkbox:checked + .faq-question + .faq-content {
    max-height: 500px;
    padding: 1rem;
}

/* Form Section */
.form-section {
    padding: 4rem 0;
}

.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    border: 1px solid var(--card-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

select.form-control option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta .btn {
    background: white;
    color: var(--accent1);
    margin-top: 1.5rem;
}

/* Footer */
footer {
    background-color: #03071e;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column ul li a {
    color: #ccc;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-info p {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    max-width: 400px;
    min-width: 300px;
    display: none;
}

.cookie-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cookie-text {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Policy Pages */
.policy-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2.5rem;
    max-width: 800px;
    margin: 3rem auto;
    border: 1px solid var(--card-border);
}

.policy-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid var(--card-border);
}

.thanks-container h1 {
    color: var(--accent1);
    margin-bottom: 2rem;
}

/* Additional Pages */
.page-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2.5rem;
    max-width: 800px;
    margin: 3rem auto;
    border: 1px solid var(--card-border);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle-label {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        height: 100vh;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 10px;
    }
    
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .thanks-section {
        height: auto;
    }
}

.menu-checkbox {
    display: none;
}

/* Blog Page */
.blog-content {
    line-height: 1.8;
}

.blog-content img {
    margin: 2rem auto;
    border-radius: 8px;
}

.blog-meta {
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}
