/**
 * IT IS DONE - Main Styles
 * Modern, clean design for cleaning services website
 */

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--font-size-2xl);
    letter-spacing: -0.02em;
}

h3 {
    font-size: var(--font-size-xl);
}

/* Layout Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(243, 244, 246, 0.95), rgba(243, 244, 246, 0.8));
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.5rem var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform var(--transition-fast);
}

.brand:hover {
    transform: scale(1.02);
}

.brand-logo {
    width: 70px;
    height: 70px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--blue-dark);
}

.brand-subtitle {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    font-weight: 400;
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    font-size: var(--font-size-md);
}

.nav-links a {
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--blue-main), var(--blue-dark));
    transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-phone {
    font-weight: 600;
    font-size: var(--font-size-base);
    color: var(--blue-dark);
    display: none;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.6rem;
}

.language-switcher button {
    padding: 0.15rem 0.35rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-fast);
    color: var(--text-muted);
}

.language-switcher button.active {
    background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
    color: var(--white);
}

.language-switcher button:hover:not(.active) {
    color: var(--blue-dark);
}

/* Mobile Menu Toggle */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    padding: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.burger-line {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--blue-dark);
    margin: 3px 0;
    transition: all var(--transition-base);
}

.burger.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Header Responsive Breakpoints */
/* Desktop: above 1024px - show everything */
@media (min-width: 1024px) {
    .burger {
        display: none !important;
    }
    .brand-text {
        display: flex;
    }
    .nav-links {
        display: flex !important;
        position: static !important;
        flex-direction: row;
        width: auto;
        padding: 0;
        gap: 1.25rem;
        background: transparent;
    }
}

/* Tablet AND Mobile: below 1024px - logo center, burger left, language right */
@media (max-width: 1023px) {
    .nav-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .burger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        position: absolute;
        left: var(--space-md);
    }

    .brand {
        margin: 0;
        gap: 0;
    }

    .brand-text {
        display: none !important;
    }

    .brand-logo {
        width: 80px;
        height: 80px;
    }

    nav {
        position: absolute;
        right: var(--space-md);
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .language-switcher {
        display: flex;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
    color: var(--white);
    font-weight: 700;
    font-size: var(--font-size-base);
    box-shadow: var(--shadow-button);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary span {
    margin-left: 0.4rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: var(--shadow-button-hover);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-button-active);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px dashed rgba(148, 163, 184, 0.9);
    background: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-style: solid;
    border-color: var(--blue-main);
}

.btn-secondary strong {
    color: var(--blue-dark);
}

/* Main Content */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem var(--space-md) 3.5rem;
    width: 100%;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
    align-items: center;
    margin-top: 1.4rem;
    margin-bottom: 2.75rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hero-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.25rem 0.7rem 0.25rem 0.25rem;
    border-radius: var(--radius-full);
    background: rgba(191, 219, 254, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.4);
    font-size: 0.8rem;
    color: var(--blue-dark);
}

.hero-pill-icon {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
    color: var(--white);
    font-size: 0.9rem;
    box-shadow: 0 0 0 3px rgba(191, 219, 254, 0.9);
}

.hero-tagline {
    font-size: var(--font-size-md);
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.hero-title span {
    display: block;
}

.hero-highlight {
    background: linear-gradient(120deg, var(--blue-main), var(--blue-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 32rem;
}

.hero-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin: 0.75rem 0 0.5rem;
    list-style: none;
}

.hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: var(--font-size-base);
    color: var(--text-muted);
}

.hero-list-icon {
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    border: 2px solid var(--blue-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--blue-main);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-top: 0.7rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: 1.1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-meta-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--blue-main);
    flex-shrink: 0;
}

/* Hero Card */
.hero-right {
    position: relative;
}

.hero-card {
    background: radial-gradient(circle at top left, var(--blue-soft), var(--white));
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.75rem;
}

.hero-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.hero-card-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
    white-space: nowrap;
}

/* Section Styles */
.section {
    margin-bottom: 2.7rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-bottom: 1.1rem;
}

.section-pill {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.section-intro {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    max-width: 28rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Component */
.card {
    background: var(--white);
    border-radius: var(--radius-large);
    padding: 1.1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--blue-main);
    margin-bottom: 0.35rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.card-text {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    font-size: var(--font-size-base);
    color: var(--text-muted);
}

.card-list li {
    margin-bottom: 0.25rem;
}

.card-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.tag {
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    background: #E5EEF7;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem var(--space-md);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-link {
    flex-shrink: 0;
}

.footer-logo {
    width: 70px;
    height: 70px;
    transition: transform var(--transition-fast);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-dark);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.footer-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.footer-link {
    color: var(--blue-dark);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--blue-main);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Form Success Message */
.form-success-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 2px solid #059669;
    border-radius: var(--radius-large);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success-fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.form-success-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #059669;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.form-success-content {
    flex: 1;
}

.form-success-title {
    font-size: 1rem;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 0.25rem 0;
}

.form-success-text {
    font-size: 0.9rem;
    color: #047857;
    margin: 0;
}

.form-success-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    color: #065f46;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.form-success-close:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--blue-main);
    box-shadow: 0 -5px 20px rgba(15, 23, 42, 0.15);
    padding: 1rem;
    z-index: var(--z-modal);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-main);
}

.cookie-banner-text a {
    color: var(--blue-main);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-cookie {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.btn-cookie-accept {
    background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
    color: var(--white);
}

.btn-cookie-accept:hover {
    filter: brightness(1.1);
}

/* Image Placeholder */
.img-placeholder {
    background: linear-gradient(135deg, var(--blue-soft), #e0e7ff);
    border: 2px dashed var(--blue-light);
    border-radius: var(--radius-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    min-height: 200px;
}

.img-placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.img-placeholder-text {
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 0.25rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-lg); }

.hidden {
    display: none !important;
}

.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;
}
