/* 
 * AuditKontor - Financial Audit Services
 * Main Stylesheet
 */

/* ---------- Base Styles & Variables ---------- */
:root {
    --color-coral: #FF6B6B;
    --color-indigo: #1D1B3A;
    --color-lime: #B4FF35;
    --color-mint: #DBFFF5;
    --color-graphite: #4A4A4A;
    --color-light: #FFFFFF;
    --color-dark: #333333;
    
    --font-primary: 'Inter', Arial, sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 100px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-indigo);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-coral);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

ul, ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
}

.btn-primary {
    color: var(--color-light);
    background: linear-gradient(45deg, var(--color-coral), var(--color-lime));
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
    color: var(--color-light);
}

.btn-secondary {
    color: var(--color-indigo);
    background-color: var(--color-mint);
    border: 2px solid var(--color-indigo);
}

.btn-secondary:hover {
    background-color: var(--color-indigo);
    color: var(--color-mint);
}

.btn-accent {
    color: var(--color-indigo);
    background-color: var(--color-lime);
}

.btn-accent:hover {
    background-color: #a3eb24;
    color: var(--color-indigo);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-indigo);
}

.logo svg {
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-coral);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-indigo);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--color-indigo);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.main-nav.active .hamburger {
    background-color: transparent;
}

.main-nav.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.main-nav.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background-image: url('./img/nrY7RN.jpg');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--color-light);
    margin-bottom: 30px;
    font-size: 3.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    color: var(--color-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 700px;
}

.hero .btn-primary {
    font-size: 1.1rem;
    padding: 14px 32px;
}

/* ---------- Diagonal Sections ---------- */
.diagonal-section {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.diagonal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-indigo);
    transform: skewY(-5deg);
    transform-origin: top left;
    z-index: -1;
}

.diagonal-section * {
    color: var(--color-dark) !important;
}

/* Override specific headings and paragraphs to be white */
.services-container h2,
.services-container > p,
.about-heading,
.about-content p {
    color: var(--color-light) !important;
}

/* ---------- About Section ---------- */
.about-section {
    padding: 100px 0;
}

.about-heading {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-light) !important;
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Approach Section ---------- */
.approach-section {
    padding: 100px 0;
}

.approach-container {
    text-align: center;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.approach-item {
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--color-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
}

.approach-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 70px;
}

.approach-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* ---------- Services Section ---------- */
.services-section {
    padding: 100px 0;
}

.services-container {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    padding: 40px 30px;
    border-radius: var(--border-radius);
    background-color: var(--color-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(180, 255, 53, 0.3);
}

.service-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-description {
    margin-bottom: 30px;
}

.service-price {
    margin-top: auto;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-coral);
}

/* ---------- Process Section ---------- */
.process-section {
    padding: 100px 0;
}

.process-container {
    text-align: center;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-mint);
    z-index: -1;
}

.process-step {
    flex: 1;
    padding: 0 15px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-indigo);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--color-mint);
}

.testimonials-container {
    text-align: center;
}

.testimonials-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 40px;
    border: 5px solid var(--color-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonials-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-list {
    margin-top: 60px;
}

.testimonial-item {
    padding: 30px;
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: calc(var(--index) * 0.3s);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 100px 0;
}

.contact-heading {
    text-align: center;
    margin-bottom: 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-container {
    padding: 30px;
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-coral);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234A4A4A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
    min-width: 20px;
    height: 20px;
}

.form-check-label {
    font-size: 0.9rem;
}

.contact-info {
    padding: 30px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.contact-map {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--color-indigo);
    color: var(--color-light);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo svg {
    margin-right: 10px;
}

.footer-logo h3 {
    color: var(--color-light);
    margin: 0;
}

.footer-info p {
    opacity: 0.8;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--color-lime);
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--color-light);
}

.footer-contact a:hover {
    color: var(--color-lime);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-light);
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-lime);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-indigo);
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.cookie-banner.show {
    display: block;
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
}

.cookie-content p {
    color: var(--color-light);
    margin: 0;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-more {
    color: var(--color-lime);
    font-size: 0.9rem;
}

/* ---------- Policy Pages ---------- */
.policy-page {
    padding: calc(var(--header-height) + 50px) 0 80px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.policy-container h1 {
    margin-bottom: 40px;
    color: var(--color-indigo);
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-indigo);
    font-size: 1.8rem;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--color-coral);
    font-weight: 600;
}

/* ---------- Thank You Page ---------- */
.thank-you-page {
    padding: calc(var(--header-height) + 100px) 0 150px;
    text-align: center;
    background-color: var(--color-mint);
    position: relative;
    overflow: hidden;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    animation: scaleUp 0.5s ease-out forwards;
}

.thank-you-container h1 {
    color: var(--color-coral);
    margin-bottom: 30px;
    font-size: 3rem;
    animation: fadeIn 0.7s ease-out forwards;
}

.thank-you-container p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out forwards;
    line-height: 1.7;
}

.thank-you-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1.3s ease-out forwards;
}

@keyframes scaleUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---------- Animations ---------- */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    :root {
        --section-spacing: 80px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    :root {
        --section-spacing: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero .container,
    .services-grid,
    .about-container,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
        height: 300px;
    }

    .about-image {
        height: 300px;
        margin-bottom: 30px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 30px;
    }

    .process-step {
        min-width: 250px;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-spacing: 60px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .site-header .container {
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .main-nav {
        position: relative;
    }

    .main-nav ul {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        display: none;
        z-index: 1000;
        align-items: center;
        justify-content: flex-start;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .main-nav.active ul {
        display: flex;
        opacity: 1;
    }

    .main-nav li {
        margin: 0;
        width: 80%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav li:last-child a {
        border-bottom: none;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-content p {
        margin-bottom: 15px;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --section-spacing: 50px;
        --header-height: 60px;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        padding-top: calc(var(--header-height) + 30px);
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .logo a {
        font-size: 1.2rem;
    }

    .logo svg {
        width: 40px;
        height: 40px;
    }

    .service-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }

    .process-step {
        min-width: 180px;
    }

    .about-section, 
    .services-section, 
    .diagonal-section {
        padding: 60px 0;
    }

    .diagonal-section::before {
        transform: skewY(-3deg);
    }

    .about-image,
    .testimonials-image {
        height: 250px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .contact-form-container {
        padding: 20px 15px;
    }

    .form-control {
        padding: 10px;
    }

    .footer-content {
        gap: 30px;
        padding: 0 10px;
    }

    .site-footer {
        padding: 50px 0 20px;
    }

    .testimonial-item {
        padding: 20px 15px;
    }
}

/* Extra small devices optimization */
@media (max-width: 360px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 12px;
    }

    .btn {
        padding: 8px 16px;
    }

    .form-check-label {
        font-size: 0.8rem;
    }

    .about-image,
    .testimonials-image {
        height: 200px;
    }

    .service-card {
        padding: 20px 12px;
    }

    .process-step {
        min-width: 160px;
    }
} 

/* Custom optimization for 350x616px screens */
@media (max-width: 350px) {
    .site-header {
        height: 55px;
    }

    :root {
        --header-height: 55px;
    }

    .container {
        padding: 0 10px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .logo a span {
        font-size: 1.1rem;
    }

    .logo svg {
        width: 35px;
        height: 35px;
        margin-right: 5px;
    }

    .service-card {
        padding: 15px 10px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .process-step {
        min-width: 150px;
        padding: 0 10px;
    }

    .form-check-label {
        font-size: 0.75rem;
    }

    .footer-contact,
    .footer-links,
    .footer-info {
        padding: 0 5px;
    }

    .footer-logo h3 {
        font-size: 1.2rem;
    }

    .contact-info-item p,
    .footer-contact p {
        font-size: 0.85rem;
    }
} 