:root {
    --primary-color: #60006F;
    --primary-hover: #800094;
    --secondary-color: #f7f7f7;
    --text-main: #111111;
    --text-muted: #666666;
    --bg-color: #ffffff;
    --bg-alt: #f9f9f9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --padding-section: 120px 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

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

/* Header */
.top-bar {
    background: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    padding: 10px 0;
    text-align: right;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: #cccccc;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid #eeeeee;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
}

.logo {
    height: 160px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-muted);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
    padding: 15px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

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

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

/* Hero Section */
.hero {
    padding: var(--padding-section);
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 500px;
    font-weight: 300;
}

.hero-image-container {
    flex: 1;
    position: relative;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Title */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Services (Homepage) */
.services {
    padding: var(--padding-section);
    background-color: var(--bg-alt);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #dddddd;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid #dddddd;
    transition: var(--transition);
}

.service-row:hover {
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
}

.service-row h3 {
    font-size: 2.2rem;
}

.service-row a {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Subpage Layout */
.page-hero {
    padding: 150px 0 80px;
    background-color: var(--bg-alt);
    text-align: center;
}

.page-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.content-section {
    padding: var(--padding-section);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.split-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.split-image {
    flex: 1;
}

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

/* Fields (Expertise) */
.expertise {
    padding: var(--padding-section);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.tag {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
}

.tag::after {
    content: ' / ';
    color: #dddddd;
    margin-left: 15px;
}
.tag:last-child::after {
    display: none;
}

/* Contact */
.contact {
    padding: var(--padding-section);
    background-color: var(--primary-color);
    color: white;
}

.contact-layout {
    display: flex;
    gap: 80px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
}

.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #cccccc;
    word-break: break-word;
}

.contact-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-message {
    padding: 15px 20px;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 1rem;
    border-left: 4px solid;
    animation: fadeIn 0.5s ease-out;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border-color: #4caf50;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border-color: #f44336;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 20px 0;
    border: none;
    border-bottom: 1px solid #555555;
    background: transparent;
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: white;
}

.contact-form button {
    align-self: flex-start;
    background: white;
    color: var(--primary-color);
    border: none;
    margin-top: 20px;
}

.contact-form button:hover {
    background: transparent;
    color: white;
    border: 1px solid white;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #eeeeee;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}
.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
}
.cookie-content a {
    text-decoration: underline;
    color: var(--text-main);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .split-layout, .contact-layout {
        flex-direction: column;
        gap: 50px;
    }
    
    .hero-title, .page-hero h1 {
        font-size: 3rem;
    }
    
    :root {
        --padding-section: 80px 0;
    }

    .header-container {
        flex-direction: row;
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }

    .logo {
        height: 95px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        border-bottom: 1px solid transparent;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        font-size: 1.1rem;
    }

    .nav-links.active {
        max-height: 400px;
        padding: 20px 0;
        border-bottom-color: #eeeeee;
    }
    
    .nav-links a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }

    .header .btn-primary {
        display: none; /* Hide top contact button on mobile to save space */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .top-bar .container {
        justify-content: center;
        gap: 15px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}
