﻿:root {
    --main-color: #76426D;
}

/* raleway-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300;
    src: url('../font/raleway-v34-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../font/raleway-v34-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* caveat-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400;
    src: url('../font/caveat-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.6rem;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Basic Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
}

h1, h2, h3 {
    color: var(--main-color);
    margin-bottom: 15px;
    font-family: 'Caveat', cursive; /* Accent Font */
    font-weight: 400; /* Adjust as needed */
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    background-color: var(--main-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

    .button:hover {
        background-color: #5e3558;
    }

img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

.main-color {
    color: var(--main-color);
}

/* Header and Navigation - Initial State */
header {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent initially */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed; /* Changed to fixed for scroll effect */
    padding: 10px 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease; /* Added transitions */
}

    /* Header and Navigation - Scrolled State */
    header.scrolled {
        background-color: #fff; /* Solid background on scroll */
        padding: 15px 0; /* Slightly less padding on scroll */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow on scroll */
    }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    display: block;
    height: 100px; /* Initial logo height */
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 50px; /* Slightly smaller logo on scroll */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav .desktop-menu li {
    display: inline;
    margin-left: 20px;
}

    nav .desktop-menu li:first-child {
        margin-left: 0;
    }

    nav .desktop-menu li a {
        color: #333;
        font-weight: normal;
        transition: color 0.3s ease;
    }

header.scrolled nav .desktop-menu li a {
    color: #555; /* Slightly darker text on scroll */
}

nav .desktop-menu li a:hover {
    color: var(--main-color);
}

header.scrolled nav .desktop-menu li a:hover {
    color: #5e3558;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    transition: transform 0.3s ease-in-out;
    transform-origin: left;
}

.mobile-nav {
    display: none;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    text-align: center;
}

    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .mobile-nav ul li {
            padding: 1rem 0;
        }

            .mobile-nav ul li a {
                text-decoration: none;
                color: #333;
                font-weight: normal;
                transition: color 0.3s ease;
            }

                .mobile-nav ul li a:hover {
                    color: var(--main-color);
                }

/* Hero Section */
/* Hero Section - New Concept */
.hero {
    position: relative;
    overflow: hidden; /* To contain the overlay */
    min-height: 95vh; /* Adjust as needed for desired viewport height */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: start; /* Center content vertically */
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1920x1080/555/333?text=Natur+%26+Kosmos'); /* Replace with your image/video */
    background-image: url('../img/hero.webp'); /* Replace with your image/video */
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Adjust overlay darkness */
    z-index: 1; /* Behind the text content */
    /* Optional: Add a subtle gradient for more visual interest */
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('...'); */
}

.hero-content {
    margin-top: 4rem;
    position: relative; /* To be above the overlay */
    z-index: 2;
    padding: 8rem 20px 0 20px; /* Add some side padding for smaller screens */
    max-width: 800px; /* Limit text width for better readability */
}

    .hero-content h1 {
        font-size: 3.5rem; /* Adjust as needed */
        margin-bottom: 20px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Improve text visibility */
    }

    .hero-content .hero-subtitle {
        font-size: 1.5rem; /* Adjust as needed */
        line-height: 1.8;
        margin-bottom: 30px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

.hero-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center; /* Center buttons */
    gap: 20px; /* Space between buttons */
}

    .hero-actions .button {
        /* Inherits basic button styles */
        padding: 14px 32px; /* Slightly larger button */
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

/* Introduction Section */
.introduction {
    padding: 60px 0;
    font-size: 1.4rem;
    line-height: 2rem;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
}

    .service-item:hover {
        outline: 3px solid var(--main-color);
        background-color: #f8e7f6;
    }

    .service-item:hover i.bx {
        color: var(--main-color);
    }

    .service-item h3 {
        margin-bottom: 10px;
    }

/* About Section */
.about {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.about-content, .benefits-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.about-image, .benefits-image {
    flex: 1;
    text-align: end;
}

    .about-image img {
        border-radius: 5px;
    }

.about-text, .benefits-text {
    flex: 2;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background-color: #fff;
}

/* Quote Section */
.quote {
    padding: 80px 0;
    background-color: var(--main-color);
    color: white;
    text-align: center;
    font-size: 1.4rem;
    line-height: 2rem;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-info {
    margin-top: 20px;
}

    .contact-info a {
        color: var(--main-color);
        text-decoration: none;
    }

        .contact-info a:hover {
            text-decoration: underline;
        }

.contact-options {
    display: flex; /* Use flexbox to arrange items horizontally */
    gap: 20px; /* Add some space between the two options */
    margin-top: 20px; /* Add some space above the options */
}

.contact-option {
    flex: 1; /* Each option takes up equal available space */
    text-align: center; /* Center the content within each option */
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

    footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer ul {
        list-style: none;
        padding: 0;
        margin: 10px 0;
    }

        footer ul li {
            display: inline;
            margin: 0 10px;
        }

            footer ul li a {
                color: #ddd;
                text-decoration: none;
            }

                footer ul li a:hover {
                    text-decoration: underline;
                }

/* AOS Fade-in Class */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        text-align: center;
    }
    .hero {
        height: auto;
        padding: 150px 20px 100px 20px;
        text-align: center;
    }

    .hero-content {
        max-width: 95%;
        padding-top: 0;
    }

        .hero-content h1 {
            font-size: 2.5rem;
        }

        .hero-content .hero-subtitle {
            font-size: 1.2rem;
        }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-content, .benefits-content {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .about-image, .benefits-image {
        text-align: center;
    }

    .desktop-menu {
        display: none !important;
    }

    .navbar {
        padding: 0 2rem 0 1rem;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: none; /* Hidden by default */
    }

        .mobile-nav.open {
            display: block;
        }

    /* Optional: Hamburger open state */
    .hamburger.open .bar:nth-child(1) {
        transform: translateY(-2px) rotate(45deg);
    }

    .hamburger.open .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open .bar:nth-child(3) {
        transform: translateY(2px) rotate(-45deg);
    }

    nav ul li {
        margin: 10px 0;
    }

    .contact-options {
        flex-direction: column; /* Stack options vertically on smaller screens */
    }

    .contact-option {
        margin-bottom: 20px; /* Add space between stacked options */
    }

    footer .container {
        flex-direction: column;
    }

    footer ul {
        margin-bottom: 10px;
    }
}
