/* Resets and Variables */
:root {
    --color-bg: #F9F8F4;
    --color-bg-alt: #EFECE6;
    --color-text: #4A453E;
    --color-text-light: #7A746E;
    --color-primary: #8F9E8B;
    --color-primary-dark: #6D7C69;
    --color-accent: #D4C5A9;
    --color-white: #FFFFFF;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --spacing-unit: 1rem;
    --container-width: 1200px;

    --transition-speed: 0.3s;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

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

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

/* Utility Classes */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

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

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-text);
    transform: translateY(-2px);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(249, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: padding 0.3s;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary-dark);
    transition: width 0.3s;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('Baum Lichtkreis.jpg');
    /* Adjusted this to be a background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    /* Light overlay to make text readable */
    mix-blend-mode: soft-light;
}

/* Fallback/Layering to ensure readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(249, 248, 244, 0.4), rgba(249, 248, 244, 0.9));
}

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

.hero-logo {
    max-width: 250px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    /* Optional: if logo fits in a circle */
    box-shadow: var(--shadow-soft);
}

/* Section Styling */
.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
}

.section-title p {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.center {
    text-align: center;
}

/* Grid & Layout System */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.align-center {
    align-items: center;
}

.col-text,
.col-image,
.col-info,
.col-map {
    flex: 1;
    min-width: 300px;
}

.img-fluid {
    width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: var(--shadow-soft);
}

/* Offers Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-speed);
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.card-body {
    padding: 2rem;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.card-body p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Skills List */
.skills-list {
    list-style: none;
    margin: 1.5rem 0;
}

.skills-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.skills-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary-dark);
    font-weight: bold;
}

/* Video Container */
.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #000;
    /* Placeholder color while loading */
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}

/* Parallax Quote */
.section-parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 8rem 0;
    text-align: center;
}

.section-parallax .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 69, 62, 0.6);
}

.quote-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-white);
    font-style: italic;
    line-height: 1.4;
}

/* Contact */
.contact-row {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.address-group {
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 1.5rem;
}

.contact-details a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.contact-note {
    margin-top: 1rem;
    font-style: italic;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

/* Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        gap: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        margin: 5px auto;
        background-color: var(--color-text);
        transition: all 0.3s;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .contact-row {
        padding: 1.5rem;
        flex-direction: column;
    }
}