/* Custom Styles for Andre Naturbau Website */

/* Globale Schriftartdefinition */
body {
    font-family: 'Baar Philos', sans-serif;
    font-weight: 400; /* Regular */
    background-color: #f8f9fa;
    padding: 2rem 0;
    color: #4e4735;
}

/* Falls die Schriftart nicht lädt, Fallback definieren */
@supports not (font-family: 'Baar Philos') {
    body {
        font-family: Georgia, 'Times New Roman', serif;
    }
}

/* Für Überschriften, falls gewünscht dicker */
h1, h2, h3, h4, h5, h6,
.welcome-heading,
.name-highlight {
    font-weight: 400; /* Bleibt Regular, kann auf 500/600 erhöht werden falls verfügbar */
}

/* Für Elemente, die eine andere Schriftart behalten sollen (z.B. Formulare) */
input, textarea, select, button {
    font-family: inherit; /* Erbt die Hauptschriftart */
}



body {
    background-color: #f8f9fa;
    padding: 2rem 0;
    color: #4e4735;
}

.main-container {
    background-color: white;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Überschriften-Stile */
.welcome-heading,
.name-highlight,
h1, h2, h3, h4, h5, h6 {
    color: rgb(88, 115, 85) !important;
}

/* Spezifische Überschriften-Anpassungen */
.welcome-heading {
    font-size: 24px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.name-highlight {
    text-transform: uppercase;
    margin: 1rem 0;
}

/* Carousel Caption - spezifisch für weiße Überschriften */
.carousel-caption h5 {
    color: white !important;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: none;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .welcome-heading {
        font-size: 20px;
    }
    .carousel-caption h5 {
        font-size: 0.9rem;
    }
}

a {
  color: rgb(88, 115, 85);
  text-decoration: underline;
}

/* Logo Styles - verstärkt */
.logo-img {
    max-height: 190px;
    width: auto;
    margin-left: 70px;
    display: block;
    filter: 
        drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3))
        brightness(1.1);
    position: relative;
    z-index: 2;
}

/* Header Styles */
.header-bg {
    background-image: url('../images/header-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    position: relative;
}

.header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg, 
        rgba(255,255,255,0.8) 0%, 
        rgba(255,255,255,0.6) 30%, 
        rgba(255,255,255,0.4) 70%, 
        rgba(255,255,255,0) 100%
    );
}

.stars {
    color: #FFC107; /* Google Gelb */
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.review-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* CSS für klarere Kennzeichnung */
.g-review-link::after {
  content: " ↗";
  font-size: 0.9em;
  opacity: 0.7;
}

/* Carousel Styles */
.carousel {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.carousel-item img {
    max-height: 500px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Feste Slider-Größe */
.carousel-fixed {
    height: 400px;
    width: 100%;
    overflow: hidden;
}

.carousel-image-container {
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

.carousel-fixed img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Caption-Anpassungen */
.carousel-caption {
    background-color: rgba(88, 115, 85, 0.8);
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px;
    border-radius: 0 0 0.3rem 0.3rem;
}

.carousel-caption h5 {
    color: white !important; /* Wichtigste Änderung */
}

/* Kontakt Section Styles */
.contact-card, .contact-form {
    background-color: white;
    border-top: 3px solid rgb(88, 115, 85);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .carousel-fixed,
    .carousel-image-container {
        height: 300px;
    }
    
    .header-bg {
        min-height: 180px;
    }
    
    .logo-img {
        max-height: 140px;
        margin-left: 20px;
    }
    
    .carousel-caption h5 {
        font-size: 0.9rem;
    }
    
    .col-md-6 {
        margin-bottom: 30px;
    }
    
    .contact-card, .contact-form {
        margin-bottom: 20px;
    }
}