@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --color-orange: #ff7322;
    --color-orange-dark: #e05e15;
    --color-navy: #1e354a;
    --color-bg: #fdfbf7; /* Keep warm white for harmony */
    --color-gray-light: #f4f2ee;
    --color-text: #4a4a4a;
    
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Montserrat', sans-serif; /* Fallback to same font to undo Playfair */
    --container-width: 1400px;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-main);
    color: var(--color-navy);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 35px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s ease;
    border: 1px solid var(--color-navy);
    text-align: center;
    font-family: var(--font-main);
}

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

.btn-orange:hover {
    background-color: var(--color-orange-dark);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--color-orange);
}

/* Header Top Bar */
.top-bar {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}

.contact-item i {
    color: var(--color-orange);
    font-size: 1.2rem;
}

/* Main Navigation */
.header {
    background-color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-main);
    letter-spacing: -1px;
}

.logo-main .dent {
    color: var(--color-orange);
}

.logo-main .werk {
    color: var(--color-navy);
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--color-navy);
    font-weight: 600;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-navy);
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--color-orange);
}

.nav-link.orange-cta {
    color: var(--color-orange);
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 550px;
    background-size: cover;
    background-position: center 60%; /* Lowered the chair slightly */
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-left: 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-navy);
}

.hero h1 span {
    color: var(--color-orange);
}

.hero p {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 0 15px 25px;
    display: inline-block;
    color: var(--color-text);
    line-height: 1.6;
    border-left: 4px solid var(--color-orange);
}

/* Three Orange Boxes */
.treatment-boxes {
    display: flex;
    width: 100%;
}

.treatment-box {
    flex: 1;
    background-color: var(--color-navy);
    color: white;
    padding: 80px 50px;
    border-right: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s;
}

.treatment-box:last-child {
    border-right: none;
    background-color: #172a3b; /* Slightly darker navy for contrast */
}

.treatment-box:hover {
    background-color: var(--color-orange);
}

.treatment-box h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.treatment-box p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.box-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.box-link i {
    font-size: 1.2rem;
}

/* Themes Section */
.themes-section {
    padding: 80px 0;
    text-align: center;
}

.themes-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.themes-section > p {
    color: var(--color-navy);
    font-weight: 600;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.theme-card {
    text-align: center;
}

.theme-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 40px;
}

.theme-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-plus {
    position: absolute;
    bottom: -15px; /* Half outside the image circle... wait, overflow hidden hides it */
}

/* Need to rethink plus icon placement */
.theme-image-wrapper {
    position: relative;
    width: 80%;
    max-width: 250px;
    margin: 0 auto 40px;
}

.theme-image-wrapper img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.theme-plus-icon {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--color-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 4px solid var(--color-bg);
    z-index: 2;
    transition: transform 0.4s ease;
}

.theme-card:hover .theme-plus-icon {
    transform: translateX(-50%) rotate(90deg);
}

.theme-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.theme-card p {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Career Section */
.career-section {
    display: flex;
    align-items: center;
    background-color: var(--color-gray-light);
    margin: 80px 0;
}

.career-content {
    flex: 1;
    padding: 60px 80px;
}

.career-content h4 {
    color: var(--color-orange);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.career-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.career-content p {
    margin-bottom: 30px;
    font-weight: 500;
}

.career-image {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.career-image img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

/* Orange Banner */
.orange-banner {
    background-color: var(--color-orange);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.orange-banner-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; width: 50%;
    background-image: url('https://images.unsplash.com/photo-1622253692010-333f2da6031d?auto=format&fit=crop&q=80&w=1500');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    mix-blend-mode: multiply;
}

.orange-banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orange-banner h2 {
    color: white;
    font-size: 2rem;
    max-width: 600px;
}

/* Overlays */
.logo-overlay-uniform {
    position: absolute;
    top: 60%;
    left: 20%;
    transform: rotate(-5deg);
    color: var(--color-navy);
    mix-blend-mode: multiply;
    opacity: 0.8;
}

.logo-overlay-wall {
    position: absolute;
    top: 10%;
    left: 5%;
    transform: perspective(600px) rotateY(15deg);
    color: white;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: white;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--color-orange);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.footer-col p, .footer-col a {
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.footer-col a:hover {
    color: var(--color-orange);
}

.partner-logos {
    display: flex;
    gap: 30px;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 40px;
    opacity: 0.6;
    flex-wrap: wrap;
}

.partner-logos i {
    font-size: 2rem;
    color: var(--color-navy);
}

.copyright {
    text-align: left;
    font-size: 0.75rem;
    color: #999;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .treatment-boxes, .themes-grid { flex-direction: column; display: flex; }
    .career-section { flex-direction: column; }
    .career-image { width: 100%; min-height: 400px; }
    .orange-banner .container { flex-direction: column; gap: 30px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .top-bar { display: none; }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .nav-link {
        font-size: 0.75rem;
    }
    .hero {
        min-height: 400px;
    }
    .hero-content {
        padding: 30px 20px;
        margin-top: 20px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .treatment-box {
        padding: 40px 20px;
    }
    .themes-section {
        padding: 40px 0;
    }
    .career-section {
        margin: 40px 0;
    }
    .career-content {
        padding: 40px 20px;
    }
    .career-content h2 {
        font-size: 2rem;
    }
    .orange-banner {
        padding: 40px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Overriding inline styles for mobile */
    section[style*="padding: 100px"] {
        padding: 50px 0 !important;
    }
    div[style*="padding: 60px"] {
        padding: 30px 20px !important;
    }
    form[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}
