/* ========================================
   KATHRIN ESPEN - Frisör in Llucmajor
   Static Site Stylesheet
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #585656;
    background-color: #fff;
}

a {
    color: #9cbe9c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7da67d;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Marcellus', serif;
    color: #262525;
    line-height: 1.3;
}

/* ========================================
   HEADER / STICKY BAR
   ======================================== */
.top-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #585656;
}

.top-bar-item svg {
    width: 16px;
    height: 16px;
    fill: #9cbe9c;
    flex-shrink: 0;
}

.top-bar-item a {
    color: #585656;
}

.top-bar-item a:hover {
    color: #9cbe9c;
}

/* Main Header */
.site-header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-family: 'Marcellus', serif;
    font-size: 31px;
    color: #262525;
    letter-spacing: 1px;
}

.site-title a {
    color: #262525;
    text-decoration: none;
}

.site-title a:hover {
    color: #9cbe9c;
}

.site-tagline {
    font-size: 13px;
    color: #888;
    margin-top: -2px;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #262525;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #9cbe9c;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: #9cbe9c;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #262525;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   HERO / BANNER SECTION
   ======================================== */
.hero-section {
    position: relative;
    height: 700px;
    background-image: url('../img/deutscher-frisoer-mallorca-1920x700.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-family: 'Marcellus', serif;
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    display: inline-block;
    background: #9cbe9c;
    color: #fff;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: 2px solid #9cbe9c;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.contact-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-section .section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-section .section-title .separator {
    width: 60px;
    height: 3px;
    background: #9cbe9c;
    margin: 15px auto;
}

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

.contact-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

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

.contact-card .icon {
    width: 60px;
    height: 60px;
    background: #9cbe9c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card .icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    line-height: 1.8;
}

.contact-card a {
    color: #585656;
}

.contact-card a:hover {
    color: #9cbe9c;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: #262525;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 20px;
    font-size: 14px;
}

.footer-content {
    text-align: center;
    line-height: 2;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-content a:hover {
    color: #9cbe9c;
}

.footer-separator {
    width: 40px;
    height: 2px;
    background: #9cbe9c;
    margin: 15px auto;
}

.footer-legal {
    margin-top: 10px;
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #262525;
    color: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner p {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    min-width: 250px;
}

.cookie-banner p a {
    color: #9cbe9c;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #9cbe9c;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #7da67d;
}

.cookie-btn-decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    border-color: #fff;
}

/* ========================================
   COOKIE RICHTLINIE PAGE
   ======================================== */
.page-header {
    background: #f9f9f9;
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 36px;
}

.page-header .breadcrumb {
    margin-top: 10px;
    font-size: 14px;
    color: #888;
}

.page-header .breadcrumb a {
    color: #9cbe9c;
}

.page-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.page-content h3 {
    font-size: 20px;
    margin: 25px 0 10px;
}

.page-content p {
    margin-bottom: 15px;
}

.page-content ul {
    margin: 10px 0 20px 25px;
}

.page-content li {
    margin-bottom: 5px;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-content th,
.page-content td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.page-content th {
    background: #f5f5f5;
    font-weight: 600;
}

/* ========================================
   UTILITY / CONTAINER
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .hero-section {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .site-header .container {
        position: relative;
    }

    /* Top Bar */
    .top-bar .container {
        justify-content: center;
        font-size: 12px;
        gap: 15px;
    }

    /* Hero */
    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    /* Contact */
    .contact-section {
        padding: 50px 0;
    }

    .contact-section .section-title h2 {
        font-size: 28px;
    }

    /* Footer */
    .footer-content {
        font-size: 13px;
    }

    /* Cookie Banner */
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 13px;
    }

    .site-title {
        font-size: 24px;
    }
}
