/*
Theme Name: Brummselbuddhafisch
Theme URI: https://example.com
Description: OnePager Theme for Brummselbuddhafisch
Version: 1.0
Author: Brummselbuddhafisch
*/

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
    background-image: url('../../../Brummselbuddhafisch_logo_farbe.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 30%;
    background-position: center 60%;
    background-color: #f5f5f5;
    filter: none;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(245, 245, 245, 0.80);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === Navigation === */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 0 2rem;
}

.site-nav .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-nav .brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-nav .brand img {
    height: 40px;
    width: auto;
}

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

.site-nav ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-nav ul li a:hover {
    color: #e67e22;
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../../../Brummselbuddhafisch_logo_farbe.png') center center / contain no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.7) 50%, rgba(230, 126, 34, 0.4) 100%);
    z-index: 1;
}

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

.hero-content .logo-img {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
    animation: floatIn 1.2s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    animation: fadeUp 1s ease-out 0.3s both;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    animation: fadeUp 1s ease-out 0.5s both;
}

.hero-content .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #e67e22;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeUp 1s ease-out 0.7s both;
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 126, 34, 0.4);
}

/* === Sections === */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: #f8f9fa;
}

.section-alt .section {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* === About === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-grid .about-image {
    text-align: center;
}

.about-grid .about-image img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-grid .about-text p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.05rem;
}

/* === Services / Features === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #777;
    font-size: 0.95rem;
}

/* === Contact === */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #e67e22;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem 2rem;
    background: #e67e22;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    align-self: flex-start;
}

.contact-form button:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* === Footer === */
.site-footer {
    background: #2c3e50;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.9rem;
}

.site-footer a {
    color: #e67e22;
}

/* === Animations === */
@keyframes floatIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Gutenberg Blocks === */

/* Hero */
.bbf-hero {
    min-height: 100vh;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2c3e50;
    padding: 2rem !important;
    text-align: center;
}
.bbf-hero-logo img { width: 180px !important; height: auto; margin-bottom: 1.5rem; }
.bbf-hero-title { color: #fff !important; font-size: 3.5rem !important; font-weight: 800 !important; }
.bbf-hero-sub { color: rgba(255,255,255,0.85) !important; font-size: 1.2rem !important; }
.bbf-btn .wp-block-button__link {
    background-color: #e67e22 !important;
    border-radius: 50px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 1rem 2.5rem !important;
}
.bbf-btn .wp-block-button__link:hover {
    background-color: #d35400 !important;
}

/* Sections */
.bbf-section { padding: 80px 40px !important; }
.bbf-section-alt { background-color: rgba(44, 62, 80, 0.04) !important; }
.bbf-section h2 { color: #2c3e50 !important; font-size: 2.2rem !important; font-weight: 700 !important; }
.bbf-subtitle { color: #777 !important; font-size: 1.1rem !important; }

/* Cappy image */
.bbf-cappy img { width: 280px !important; max-width: 100% !important; height: auto !important; border-radius: 20px !important; box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important; }

/* Contact form */
.bbf-contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bbf-contact-form input,
.bbf-contact-form textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}
.bbf-contact-form input:focus,
.bbf-contact-form textarea:focus { border-color: #e67e22; }
.bbf-contact-form textarea { resize: vertical; }
.bbf-contact-form button {
    padding: 14px 32px;
    background: #e67e22;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s;
}
.bbf-contact-form button:hover { background: #d35400; }

/* === Gutenberg Block Editor === */
.wp-block-cover.alignfull {
    width: 100%;
    max-width: 100%;
}

.wp-block-group.alignfull {
    width: 100%;
    max-width: 100%;
}

.entry-content > * {
    max-width: 100%;
}

/* === Responsive === */
@media (max-width: 768px) {
    .site-nav ul {
        display: none;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 1.5rem;
    }
}
