/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: linear-gradient(135deg, #3B1F47 0%, #2a1434 100%);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== VARIABLES ===== */
:root {
    --primary-bg: #3B1F47;
    --secondary-bg: #F5F5F5;
    --accent-teal: #00B8A9;
    --accent-yellow: #FFD460;
    --accent-coral: #FF6B6B;
    --text-dark: #333333;
    --text-light: #ffffff;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --border-radius: 15px;
    --max-width: 1200px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-yellow));
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-yellow));
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 184, 169, 0.3);
}

.btn-secondary {
    background: var(--accent-coral);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: #ff5252;
    transform: translateY(-3px);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(59, 31, 71, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-link {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    text-transform: lowercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-phone {
    background: var(--accent-teal);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-phone:hover {
    background: var(--accent-yellow);
    color: var(--text-dark);
}

/* Mobile menu styles */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 70px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #2a1434 100%);
    color: var(--text-light);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--secondary-bg);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    animation: slideInFromLeft 0.8s ease-out;
}

.about-image {
    animation: slideInFromRight 0.8s ease-out;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-yellow));
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #2a1434 100%);
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    animation: fadeInUp 0.8s ease-out;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-coral);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-yellow);
}

.benefit-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--secondary-bg);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.testimonial-item {
    background: var(--text-light);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    animation: fadeIn 0.8s ease-out;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.testimonial-position {
    color: var(--accent-teal);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ===== PROCESS SECTION ===== */
.process {
    background: var(--text-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--accent-coral);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-yellow) 100%);
    color: var(--text-light);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--text-light);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-teal);
    background: var(--text-light);
    box-shadow: 0 0 0 3px rgba(0, 184, 169, 0.1);
}

.form-radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.radio-option:hover {
    background: #f0f0f0;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: var(--accent-teal);
    font-weight: bold;
}

.radio-option input[type="radio"]:checked {
    border-color: var(--accent-teal);
}

.radio-option input[type="radio"] {
    margin-right: 10px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--accent-teal);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    margin-top: 30px;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info {
    background: var(--secondary-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    animation: slideInFromLeft 0.8s ease-out;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-teal);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-text p {
    color: #666;
    margin: 0;
}

.contact-map {
    animation: slideInFromRight 0.8s ease-out;
}

.contact-map img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.footer-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.footer-description {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-contact a {
    color: var(--accent-teal);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-yellow);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.footer-hours p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-bg);
    color: var(--text-light);
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: all 0.3s ease;
    display: none;
}

.cookie-banner.show {
    transform: translateY(0);
    display: block;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    opacity: 0.9;
}

.cookie-content a {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.cookie-accept-btn {
    background: var(--accent-teal);
    color: var(--text-light);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    background: var(--accent-yellow);
    color: var(--text-dark);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }

    .menu-icon {
        display: flex;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Typography */
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* Layout adjustments */
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-radio-group {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .nav-container {
        padding: 0 15px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .cookie-banner,
    .footer {
        display: none;
    }

    .main-content {
        margin-top: 0;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}
