:root {
 --font-heading: 'Montserrat', sans-serif;
 --font-body: 'Roboto', sans-serif;
 --color-dark-blue: #1A237E;
 --color-dark-purple: #4A148C;
 --color-accent: #304FFE;
 --color-light-gray: #F5F5F5;
 --color-text-dark: #212121;
 --color-text-light: #757575;
 --color-text-on-dark: #FFFFFF;
 --color-white: #FFFFFF;
 --border-radius: 8px;
 --shadow: 0 4px 15px rgba(0,0,0,0.1);
 --transition: all 0.3s ease-in-out;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-body);
 font-size: 16px;
 line-height: 1.7;
 color: var(--color-text-dark);
 background-color: var(--color-white);
 -webkit-font-smoothing: antialiased;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

.centered {
 text-align: center;
 display: flex;
 flex-direction: column;
 align-items: center;
}

.section {
 padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 font-weight: 700;
 line-height: 1.3;
 color: var(--color-text-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 20px;}
h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); margin-bottom: 15px;}

p {
 margin-bottom: 1rem;
 color: var(--color-text-light);
}

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

a:hover {
 opacity: 0.8;
}

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

.text-on-dark {
 color: var(--color-text-on-dark);
}
.text-on-dark h1, .text-on-dark h2, .text-on-dark h3 {
 color: var(--color-text-on-dark);
}
.text-on-dark p, .text-on-dark li {
 color: rgba(255, 255, 255, 0.8);
}
.text-on-dark a {
 color: var(--color-white);
 font-weight: 700;
 text-decoration: underline;
}

/* --- HEADER --- */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 transition: var(--transition);
 border-bottom: 1px solid transparent;
}
.header.scrolled {
 box-shadow: 0 2px 10px rgba(0,0,0,0.05);
 border-bottom-color: #eee;
}
.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 80px;
}
.nav-logo {
 font-family: var(--font-heading);
 font-weight: 900;
 font-size: 1.8rem;
 color: var(--color-dark-blue);
}
.nav-links {
 display: flex;
 list-style: none;
 gap: 32px;
}
.nav-links a {
 font-family: var(--font-heading);
 font-weight: 700;
 text-transform: uppercase;
 color: var(--color-text-dark);
 padding: 8px 0;
 position: relative;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -4px;
 left: 0;
 width: 0;
 height: 4px;
 background-color: var(--color-accent);
 transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
 width: 100%;
}
.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
}
.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 background-color: var(--color-text-dark);
 margin: 5px 0;
 transition: var(--transition);
}

/* Mobile Menu */
@media (max-width: 768px) {
 .nav-toggle {
 display: block;
 }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 100%;
 height: 100vh;
 background-color: var(--color-dark-blue);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 40px;
 transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
 }
 .nav-links.active {
 right: 0;
 }
 .nav-links a {
 color: var(--color-white);
 font-size: 1.5rem;
 }
 .nav-links a::after {
 background-color: var(--color-white);
 }
 .nav-toggle.active span:nth-child(1) {
 transform: rotate(45deg) translate(5px, 5px);
 }
 .nav-toggle.active span:nth-child(2) {
 opacity: 0;
 }
 .nav-toggle.active span:nth-child(3) {
 transform: rotate(-45deg) translate(7px, -6px);
 }
 .nav-toggle.active span {
 background-color: var(--color-text-dark); /* or white if on dark bg */
 }
 .nav-toggle.on-dark span {
 background-color: #fff;
 }
}

/* --- BUTTONS --- */
.btn {
 display: inline-block;
 padding: 14px 28px;
 font-family: var(--font-heading);
 font-weight: 700;
 font-size: 1rem;
 border-radius: 50px;
 border: none;
 cursor: pointer;
 transition: var(--transition);
 text-transform: uppercase;
}
.btn-primary {
 background-color: var(--color-accent);
 color: var(--color-white);
}
.btn-primary:hover {
 transform: translateY(-3px);
 box-shadow: 0 6px 20px rgba(48, 79, 254, 0.4);
}

/* --- HERO SECTION --- */
.hero-bold {
 position: relative;
 height: 100vh;
 display: flex;
 justify-content: center;
 align-items: flex-end;
 overflow: hidden;
 color: var(--color-white);
 text-align: center;
}
.hero-background {
 position: absolute;
 top: 0; left: 0;
 width: 100%; height: 100%;
 background: linear-gradient(135deg, var(--color-dark-blue), var(--color-dark-purple));
 animation: gradientAnimation 15s ease infinite;
 background-size: 200% 200%;
}
@keyframes gradientAnimation {
 0% { background-position: 0% 50%; }
 50% { background-position: 100% 50%; }
 100% { background-position: 0% 50%; }
}

.floating-shape {
 position: absolute;
 background-color: rgba(255, 255, 255, 0.05);
 border-radius: 50%;
 animation: float 20s infinite ease-in-out;
}
.shape1 { width: 400px; height: 400px; top: 10%; left: 5%; animation-duration: 25s; }
.shape2 { width: 200px; height: 200px; top: 60%; right: 10%; animation-duration: 18s; animation-delay: 2s; }
.shape3 { width: 100px; height: 100px; top: 30%; right: 40%; animation-duration: 22s; animation-delay: 4s; }

@keyframes float {
 0% { transform: translateY(0px) rotate(0deg); }
 50% { transform: translateY(-30px) rotate(180deg); }
 100% { transform: translateY(0px) rotate(360deg); }
}

.hero-content-bold {
 position: relative;
 z-index: 2;
 padding-bottom: 12vh;
}
.hero-headline {
 font-size: clamp(4rem, 12vw, 8rem);
 font-weight: 900;
 line-height: 1;
 text-shadow: 0 5px 25px rgba(0,0,0,0.2);
 margin: 0;
}
.hero-subheadline {
 font-size: clamp(1.2rem, 3vw, 1.8rem);
 font-weight: 400;
 color: rgba(255,255,255,0.8);
 margin: 1rem 0 2rem 0;
}

/* --- Block Sections --- */
.section-blocks .block-item {
 padding: 100px 0;
}
.block-item.bg-dark-blue {
 background-color: var(--color-dark-blue);
}
.block-item.bg-light-gray {
 background-color: var(--color-light-gray);
}
.block-content {
 max-width: 800px;
}
.block-content p {
 font-size: 1.1rem;
 line-height: 1.8;
}

/* --- Horizontal Scroll Work Gallery --- */
.section-header.centered {
 margin-bottom: 50px;
}
.horizontal-scroll-container {
 overflow-x: auto;
 padding-bottom: 20px;
 scrollbar-width: thin;
 scrollbar-color: var(--color-accent) var(--color-light-gray);
}
.horizontal-scroll-container::-webkit-scrollbar {
 height: 8px;
}
.horizontal-scroll-container::-webkit-scrollbar-track {
 background: var(--color-light-gray);
}
.horizontal-scroll-container::-webkit-scrollbar-thumb {
 background-color: var(--color-accent);
 border-radius: 6px;
}
.horizontal-scroll {
 display: flex;
 gap: 24px;
 width: max-content;
}
.work-card {
 width: 320px;
 flex-shrink: 0;
 background-color: var(--color-white);
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 transition: var(--transition);
}
.work-card:hover {
 transform: translateY(-8px);
}
.work-card img {
 width: 100%;
 height: 350px;
 object-fit: cover;
}
.work-card-content {
 padding: 24px;
}
.work-card-content h3 {
 margin-bottom: 8px;
}
.work-card-content p {
 font-size: 0.95rem;
 margin-bottom: 0;
}

/* --- Principles/Numbers Section --- */
.section-principles {
 background-color: var(--color-light-gray);
}
.principles-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 40px;
 text-align: center;
}
.principle-item {
 padding: 20px;
}
.principle-number {
 font-family: var(--font-heading);
 font-weight: 900;
 font-size: clamp(4rem, 10vw, 6rem);
 line-height: 1;
 color: var(--color-accent);
 margin-bottom: 10px;
}
.principle-caption {
 font-size: 1.1rem;
 font-weight: 500;
 color: var(--color-text-dark);
}

/* --- Testimonial Section --- */
.bg-dark-purple {
 background-color: var(--color-dark-purple);
}
.testimonial-img {
 width: 100px;
 height: 100px;
 border-radius: 50%;
 object-fit: cover;
 border: 4px solid var(--color-white);
 margin-bottom: 24px;
}
.testimonial-quote {
 font-family: var(--font-heading);
 font-size: clamp(1.5rem, 4vw, 2.2rem);
 font-weight: 700;
 line-height: 1.4;
 max-width: 800px;
 margin-bottom: 24px;
 font-style: normal;
}
.testimonial-cite {
 font-style: normal;
 font-weight: 500;
 color: rgba(255,255,255,0.7);
}

/* --- FOOTER --- */
.footer {
 background-color: #1a1a1a;
 color: #a0a0a0;
 padding: 40px 0 20px;
 font-size: 0.9rem;
}
.footer-container {
 padding-top: 20px;
 border-top: 4px solid var(--color-accent);
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 30px;
 margin-bottom: 30px;
}
.footer-logo {
 font-family: var(--font-heading);
 font-weight: 900;
 font-size: 1.5rem;
 color: var(--color-white);
 margin-bottom: 1rem;
}
.footer-description {
 margin-bottom: 0;
}
.footer-heading {
 font-family: var(--font-heading);
 font-weight: 700;
 text-transform: uppercase;
 color: var(--color-white);
 margin-bottom: 1rem;
 font-size: 1rem;
}
.footer-links {
 list-style: none;
}
.footer-links li {
 margin-bottom: 10px;
}
.footer-links a, .footer-contact-item a {
 color: #a0a0a0;
}
.footer-links a:hover, .footer-contact-item a:hover {
 color: var(--color-white);
}
.footer-contact-item {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 margin-bottom: 12px;
}
.footer-contact-item svg {
 width: 18px;
 height: 18px;
 flex-shrink: 0;
 margin-top: 3px;
 color: var(--color-accent);
}

.footer-bottom {
 border-top: 1px solid #333;
 padding-top: 20px;
 margin-top: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.85rem;
 flex-wrap: wrap;
 gap: 10px;
}
.footer-legal-links {
 display: flex;
 gap: 20px;
}
.footer-legal-links a {
 color: #a0a0a0;
}
.footer-legal-links a:hover {
 color: var(--color-white);
}

/* --- ABOUT & OTHER PAGES --- */
.page-header-section {
 padding: 120px 0 80px;
}

.page-subtitle {
 font-size: 1.25rem;
 color: rgba(255,255,255,0.8);
 max-width: 600px;
 margin: 1rem auto 0 auto;
}

.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 40px;
 align-items: center;
}
.media-visual img{
 border-radius: var(--border-radius);
 box-shadow: var(--shadow);
}
.card-simple {
 background-color: var(--color-white);
 padding: 32px;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow);
}
.card-simple h3 { color: var(--color-dark-blue); }

.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
 margin-top: 40px;
}
.team-member {
 text-align: center;
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 16px;
 box-shadow: var(--shadow);
}
.team-role {
 font-size: 0.9rem;
 color: var(--color-accent);
 font-weight: 700;
 margin: 0;
}

/* --- SERVICES PAGE (DOMENII) --- */
.section-service-block {
 padding: 0;
 background-color: var(--color-light-gray);
}
.section-service-block:nth-child(odd) {
 background-color: var(--color-white);
}
.service-content {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 50px;
 min-height: 70vh;
}
.service-text { padding: 40px 0; }
.service-text ul {
 list-style: none;
 margin-top: 20px;
}
.service-text li {
 padding-left: 20px;
 position: relative;
 margin-bottom: 10px;
}
.service-text li::before {
 content: '';
 color: var(--color-accent);
 position: absolute;
 left: 0;
 font-weight: 700;
}

.section-service-block.alt-layout .service-content {
 direction: rtl;
}
.section-service-block.alt-layout .service-text,
.section-service-block.alt-layout .service-image {
 direction: ltr;
}

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

/* --- CONTACT PAGE --- */
.contact-page-grid {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 50px;
}
.contact-title { color: var(--color-dark-blue); }
.contact-form-bold .form-group { margin-bottom: 24px; }
.contact-form-bold label { display: block; font-weight: 700; margin-bottom: 8px; }
.contact-form-bold input, .contact-form-bold textarea {
 width: 100%;
 padding: 16px;
 font-size: 1rem;
 border: 2px solid #ccc;
 background-color: #f9f9f9;
 border-radius: var(--border-radius);
 transition: var(--transition);
}
.contact-form-bold input:focus, .contact-form-bold textarea:focus {
 outline: none;
 border-color: var(--color-accent);
 background-color: var(--color-white);
}
.checkbox-group { display: flex; align-items: center; gap: 10px;}
.checkbox-group input { width: auto; }
.btn-full { width: 100%; font-size: 1.2rem; }
.contact-info-item { margin-bottom: 24px; }
.contact-info-label {
 font-size: 0.9rem;
 text-transform: uppercase;
 color: var(--color-text-light);
 margin-bottom: 4px;
}
.contact-info-item p { margin-bottom: 0; font-size: 1.1rem; }
.contact-info-item a { font-size: 1.1rem; }

.map-section { padding-top: 0; }
.map-container {
 height: 450px;
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: var(--shadow);
}
.map-container iframe { border: 0; }

/* --- LEGAL PAGES --- */
.legal-page .page-header-section {
 padding: 120px 0 60px;
}
.legal-content {
 max-width: 800px;
}
.legal-content h2 { margin: 40px 0 15px; }
.legal-content ul, .service-text ul {
 margin-left: 20px;
 padding-left: 10px;
}
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 30px 0;
 font-size: 0.9rem;
}
.cookie-table th, .cookie-table td {
 border: 1px solid #ddd;
 padding: 12px;
 text-align: left;
}
.cookie-table th {
 background-color: var(--color-light-gray);
 font-weight: 700;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
 .media-object { grid-template-columns: 1fr; }
 .media-visual { order: -1; margin-bottom: 30px; }
 .contact-page-grid { grid-template-columns: 1fr; }
 .section-service-block.alt-layout .service-content { direction: ltr; }
 .service-content { grid-template-columns: 1fr; min-height: auto; }
 .service-image { min-height: 300px; }
 .service-image img {
 border-radius: var(--border-radius); 
 box-shadow: var(--shadow);
 }
}

/* Form Validation */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
 animation: fadeIn 0.3s ease;
}
.form-success {
 animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
 from { opacity: 0; transform: translateY(-10px); }
 to { opacity: 1; transform: translateY(0); }
}
.spinner {
 display: inline-block;
 width: 16px; height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled], input[type="submit"][disabled] {
 opacity: 0.7;
 cursor: not-allowed;
}

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: #212121;
 color: #fff;
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 flex-wrap: wrap;
}
#cookie-banner p { color: #eee; margin-bottom: 0; }
#cookie-banner a { color: var(--color-accent); text-decoration: underline; }
#cookie-banner div { display: flex; gap: 10px; }
#cookie-banner button {
 background-color: var(--color-accent);
 color: #fff;
 border: none;
 padding: 8px 16px;
 border-radius: 4px;
 cursor: pointer;
}
#cookie-banner button:last-child {
 background-color: #555;
}