:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0d1b2a;
    --accent-color: #ed8936;
    --accent-light: #f6ad55;
    --accent-dark: #c05621;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-dark: #edf2f7;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --error-color: #e53e3e;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

a:hover {
    color: var(--accent-color);
}

a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

ul, ol {
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 16px;
}

address {
    font-style: normal;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.sticky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo:hover {
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.nav-menu a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    background-image: url('assets/pexels-bulat843-1243575272-37623616.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--bg-color);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(26, 54, 93, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: var(--bg-color);
    font-size: 3rem;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.4);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--bg-color);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-color);
    border-color: var(--bg-color);
}

.btn-secondary:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--bg-color);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--bg-color);
    margin-bottom: 8px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.125rem;
}

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 16px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--text-light);
}

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

.service-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    padding: 24px 24px 0;
    font-size: 1.25rem;
}

.service-card p {
    padding: 12px 24px;
    color: var(--text-light);
}

.service-link {
    display: inline-block;
    padding: 12px 24px 24px;
    color: var(--accent-color);
    font-weight: 600;
}

.service-link:hover {
    color: var(--accent-dark);
}

.why-choose-us {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature {
    text-align: center;
    padding: 24px;
}

.feature-icon {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    background: var(--accent-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature h3 {
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-light);
    margin-bottom: 0;
}

.lead-form {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--bg-color);
}

.lead-form h2 {
    color: var(--bg-color);
}

.form-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.2);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not([value=""]) {
    border-color: var(--error-color);
}

.consent-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.consent-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.consent-group label {
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.consent-group a {
    color: var(--accent-color);
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 8px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h2 {
    text-align: left;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.value-card {
    background: var(--bg-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-card h3 {
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.what-we-do {
    background: var(--bg-light);
}

.do-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .do-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.do-item {
    background: var(--bg-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.do-item h3 {
    color: var(--accent-color);
}

.service-area {
    background: var(--bg-light);
}

.area-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 768px) {
    .area-content {
        grid-template-columns: 1fr 1fr;
    }
}

.area-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.area-list {
    background: var(--bg-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.area-list h3 {
    margin-bottom: 16px;
}

.area-list ul {
    margin-bottom: 24px;
}

.service-detail {
    padding: 80px 0;
}

.service-detail.alt-bg {
    background: var(--bg-light);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .service-detail-content {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail-content.reverse {
        direction: rtl;
    }

    .service-detail-content.reverse > * {
        direction: ltr;
    }
}

.service-detail-text h2 {
    text-align: left;
}

.service-detail-text h3 {
    margin-top: 24px;
    font-size: 1.25rem;
}

.service-detail-text ul {
    margin-bottom: 24px;
}

.service-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-section {
    background: var(--bg-light);
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--bg-color);
    font-weight: 600;
}

.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-details {
    margin-top: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text p,
.contact-text a,
.contact-text address {
    margin-bottom: 0;
    color: var(--text-light);
}

.contact-text a:hover {
    color: var(--accent-color);
}

.business-hours {
    margin-top: 32px;
    background: var(--bg-color);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.business-hours h3 {
    margin-bottom: 16px;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 12px;
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    text-align: left;
}

.map-section {
    padding: 80px 0;
}

.map-section h2 {
    margin-bottom: 32px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 16px;
    margin-bottom: 0;
}

.faq-section {
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.faq-item {
    background: var(--bg-color);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--bg-color);
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-color);
}

.cta-section p {
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cta-section .btn-primary {
    background: var(--bg-color);
    color: var(--accent-color);
    border-color: var(--bg-color);
}

.cta-section .btn-primary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.cta-section .btn-secondary {
    border-color: var(--bg-color);
}

.cta-section .btn-secondary:hover {
    background: var(--bg-color);
    color: var(--accent-color);
}

.legal-content {
    padding: 80px 0;
}

.legal-article {
    max-width: 800px;
    margin: 0 auto;
}

.legal-article h2 {
    text-align: left;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.legal-article h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-article h3 {
    margin-top: 24px;
    font-size: 1.125rem;
}

.legal-article ul,
.legal-article ol {
    margin-bottom: 16px;
}

.legal-article a {
    color: var(--accent-color);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--bg-light);
    font-weight: 600;
}

footer {
    background: var(--primary-dark);
    color: var(--bg-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding-bottom: 40px;
}

.footer-section h4 {
    color: var(--bg-color);
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-section address {
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-color);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.legal-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: var(--bg-color);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-color);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin-bottom: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 4px 8px;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 24px;
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.cookie-option p {
    margin-left: 32px;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

.modal-footer button {
    width: 100%;
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
