/* Base Styles */
:root {
    --background-color: #f9f9fb;
    --accent-color: #004080;
    --text-color: #1e1e1e;
    --block-bg-color: #ffffff;
    --alt-block-bg: #eef3f8;
    --notification-color: #e0e0e0;
    --link-color: #004080;
    --link-hover: #0066cc;
    --font-main: 'Arial', sans-serif;
    --container-width: 1200px;
    --border-radius: 6px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0.7rem auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--block-bg-color);
}

section:nth-child(odd) {
    background-color: var(--alt-block-bg);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--link-hover);
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Checkbox Hack for Mobile Menu */
.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    background-color: var(--accent-color);
    position: absolute;
    height: 3px;
    width: 30px;
    transition: transform 0.3s;
}

.menu-icon::before {
    content: '';
    margin-top: -8px;
}

.menu-icon::after {
    content: '';
    margin-top: 8px;
}

/* Hero Section */
.hero-section {
    min-height: 500px;
    background-image: url('./img/onysUr.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0;
    margin-top: 70px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    color: white;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.service-price {
    margin: 1rem 0;
}

.service-price span {
    color: #666;
    font-size: 0.9rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.service-cta {
    display: inline-block;
    padding: 0.7rem 1rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: auto;
    font-weight: 500;
}

.service-cta:hover {
    background-color: var(--link-hover);
    color: white;
}

.disclaimer-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h3,
.blog-card p {
    padding: 0 1.5rem;
}

.blog-card h3 {
    margin-top: 1.5rem;
}

.blog-card p {
    padding-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    margin-top: 1rem;
    text-align: right;
}

/* Process Section */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem;
    background-color: white;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.faq-item summary:hover {
    background-color: #f5f5f5;
}

.faq-item summary:focus {
    outline: none;
}

.faq-answer {
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    background-color: var(--accent-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.info-item {
    margin-top: 1rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--link-hover);
}

/* Footer Styles */
.footer {
    background-color: var(--accent-color);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 5px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo a {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.footer-logo a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: white;
}

.footer-logo p {
    max-width: 300px;
    margin-top: 1.5rem;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    flex: 2 1 600px;
    justify-content: flex-end;
}

.footer-column {
    min-width: 160px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.2rem;
}

.footer-column h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    margin-top: 0.8rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.footer-column ul li:hover {
    transform: translateX(5px);
}

.footer-column a {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cookie Notice */
#cookie-notice {
    display: flex; /* Show by default, JavaScript will hide if needed */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    align-items: center;
    gap: 1.5rem;
    background-color: rgba(0, 64, 128, 0.95);
    padding: 1rem 1.5rem;
    margin: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#cookie-notice p {
    margin: 0;
    line-height: 1.5;
    color: white;
}

#cookie-notice a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

#cookie-accept {
    padding: 0.6rem 1.2rem;
    background-color: white;
    color: var(--accent-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#cookie-accept:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle-label {
        display: block;
        padding: 1rem 0;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-links li {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .menu-checkbox:checked ~ .nav-links {
        transform: translateX(0);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .benefits-grid,
    .services-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: space-between;
        flex: 1;
        gap: 2rem;
    }
    
    .footer-column {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 400px;
        padding: 5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    #cookie-notice {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    #cookie-notice p {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    #cookie-accept {
        width: 100%;
        text-align: center;
    }
}

/* Add padding to body to prevent content being hidden under fixed cookie banner */
body.has-cookie-notice {
    padding-bottom: 80px;
}
