/*
Theme Name: Tribolias Theme
Theme URI: http://example.com
Author: Dein Name
Author URI: http://example.com
Description: Minimal-Theme mit Logo & Menü
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tribolias-theme
*/

/* Grundstil */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
}

.header-inner {
    display: flex;
    justify-content: space-between; /* Logo links, Menü rechts */
    align-items: center;
    padding: 15px 30px;
}

/* Logo */
.site-logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: black;
}

/* Navigation */
.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: 20px;
}

.main-menu a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    padding: 8px 12px;
    transition: background-color 0.3s;
}

.main-menu a:hover {
    background-color: #90EE90; /* Hellgrün beim Hover */
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }

    .main-menu {
        flex-direction: column;
        align-items: center;
    }

    .main-menu li {
        margin: 10px 0;
    }
}

/* Header Container */
.header-inner {
    display: justify-content;
    justify-content: space-between; /* Logo links, Menü ganz nach rechts */
    align-items: center;
    padding: 10px 20px;
}

/* Menü Container */
.main-navigation {
    margin-left: auto; /* schiebt das Menü nach ganz rechts */
}

/* Menü horizontal */
.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: 20px; /* Abstand zwischen Einträgen */
}

.main-menu a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    padding: 8px 12px;
    transition: background-color 0.3s;
}

.main-menu a:hover {
    background-color: #90EE90;
    border-radius: 5px;
}

/* === Hero Section === */
.hero {
    position: relative;
    background: url('https://via.placeholder.com/1920x600') center/cover no-repeat;
    height: 80vh;                  /* nimmt 80% der Höhe des Bildschirms ein */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);   /* dunkler Overlay-Effekt */
}

.hero-content {
    position: relative;
    z-index: 1;                    /* damit der Text über dem Overlay liegt */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-button {
    background: #006400;           /* dunkelgrün */
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero-button:hover {
    background: #90EE90;           /* hellgrün */
    color: black;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Hero Sektion */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* dunkler Overlay */
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-button {
    background: #90ee90;
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-button:hover {
    background: #76d176;
}

/* Responsiv */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* === Highlights-Sektion === */
.highlights {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-item {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.highlight-item h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px 0;
}

.highlight-item p {
    font-size: 1rem;
    color: #555;
}

.highlight-button {
    margin-top: 15px;
    padding: 10px 25px;
    background-color: #006400;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.highlight-button:hover {
    background-color: #90EE90;
    color: #000;
}

/* === Responsive === */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* === HEADER BASIS === */
.site-header {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-navigation {
    display: flex;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
}

.main-menu li a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

/* === Desktop Navigation === */
.desktop-menu {
    display: block;
}

/* === Hamburger Icon (oben rechts) === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 2100;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === Overlay Menü (wie Rolex) === */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: flex;
    opacity: 1;
}

/* === Overlay Menü Links === */
.overlay-menu {
    list-style: none;
    text-align: center;
    padding: 0;
}

.overlay-menu li {
    margin: 20px 0;
}

.overlay-menu a {
    color: #000;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

/* === Responsive: Hamburger sichtbar === */
@media (max-width: 900px) {
    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* === HAMBURGER ICON === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 2100;
    transition: transform 0.3s ease;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === Animation zum X === */
.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

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

/* === Responsive: Hamburger sichtbar === */
@media (max-width: 900px) {
    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

