/* ===========================================
   DOMAIN FINANCIAL AUDIT WEBSITE - CSS
   Color Palette: Teal (#005B63) to Coral (#FF6F61)
   Accent: Gold (#FFD166)
   Text: Dark Gray (#2E2E2E), Light White (#FAFAFA)
=========================================== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2E2E2E;
    background: linear-gradient(135deg, #005B63 0%, #FF6F61 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #2E2E2E;
}

a {
    color: #005B63;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #FFD166, #FF6F61);
    color: #2E2E2E;
    box-shadow: 0 4px 15px rgba(255, 209, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 209, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #005B63;
    border: 2px solid #005B63;
}

.btn-secondary:hover {
    background: #005B63;
    color: #FAFAFA;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 91, 99, 0.1);
}

.nav {
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #005B63, #FF6F61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD166;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #005B63;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Section Styling */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

/* Decorative Background Elements */
.section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    z-index: -1;
}

.section:nth-child(odd)::before {
    left: -50%;
    background: radial-gradient(circle, rgba(0, 91, 99, 0.1) 0%, transparent 70%);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 91, 99, 0.8), rgba(255, 111, 97, 0.8)), url('./img/LdLNH3.jpg') center/cover;
    color: #FAFAFA;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    color: #FAFAFA;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #FAFAFA;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.about .section-title {
    color: #FAFAFA;
}

.about .about-content p {
    color: #FAFAFA;
}

.about-image-container {
    margin: 2rem 0;
    text-align: center;
}

.about-image-container img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 91, 99, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 91, 99, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 91, 99, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card > *:not(.service-image) {
    padding: 0 2rem;
}

.service-card > h3,
.service-card > p,
.service-card > .service-price {
    padding-left: 2rem;
    padding-right: 2rem;
}

.service-card > h3 {
    padding-top: 1rem;
}

.service-card > .service-price {
    padding-bottom: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FFD166, #FF6F61);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    font-size: 1.5rem;
    color: #2E2E2E;
    position: relative;
    z-index: 2;
}

/* Benefits Section - Redesigned */
.benefits-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 91, 99, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 209, 102, 0.2);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD166, #FF6F61);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 91, 99, 0.25);
    border-color: rgba(255, 209, 102, 0.4);
}

.benefit-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD166, #FF6F61);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #2E2E2E;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(255, 209, 102, 0.3);
}

.benefit-card h3 {
    color: #2E2E2E;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.benefit-card p {
    color: #2E2E2E;
    line-height: 1.6;
    opacity: 0.8;
}

/* Gallery Section */
.gallery {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 91, 99, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.testimonial-author {
    font-weight: 600;
    color: #005B63;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 91, 99, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2E2E2E;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(0, 91, 99, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #FFD166;
    box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Info */
.contact-info-section {
    background: rgba(0, 91, 99, 0.2);
    backdrop-filter: blur(10px);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FFD166, #FF6F61);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #2E2E2E;
}

.contact-info-item h4 {
    color: #FAFAFA;
}

.contact-info-item p {
    color: #FAFAFA !important;
}

.contact-info-item a {
    color: #FAFAFA !important;
}

.contact-info-item a:hover {
    color: #FFD166 !important;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 91, 99, 0.2);
}

.map-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2E2E2E 0%, #005B63 100%);
    color: #FAFAFA;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: #FFD166;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: #FFD166;
    margin-bottom: 1rem;
}

.footer-text {
    color: #FAFAFA;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #FAFAFA !important;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #FFD166 !important;
}

.contact-info p,
.contact-info a {
    color: #FAFAFA !important;
}

.contact-info a:hover {
    color: #FFD166 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom-content p {
    color: #FAFAFA;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.disclaimer-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 46, 46, 0.95);
    color: #FAFAFA;
    padding: 1rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(10px);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    color: #FAFAFA;
}

.cookie-text a {
    color: #FFD166;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #FFD166, #FF6F61);
    border-radius: 2px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: #FAFAFA;
}

.bg-white {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(0, 91, 99, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    /* Layout adjustments */
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Loading animations */
.section {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }
.section:nth-child(6) { animation-delay: 0.6s; }
.section:nth-child(7) { animation-delay: 0.7s; }
.section:nth-child(8) { animation-delay: 0.8s; }
