/* ================================
   Plan B Mental Coaching - Stylesheet
   ================================ */

/* CSS Variables */
:root {
    --color-background: #0f0f0f;
    --color-surface: #1a1a1a;
    --color-surface-light: #242424;
    --color-gold: #CFB35B;
    --color-gold-light: #E6C87C;
    --color-gold-dark: #A68B40;
    --color-teal: #4a9b9b;
    --color-teal-light: #5cb8b8;
    --color-orange: #d4763b;
    --color-text: #e8e8e8;
    --color-text-muted: #a0a0a0;
    --color-text-dark: #6a6a6a;
    --color-border: #333333;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-signature: 'Corinthia', cursive;
    --font-poiret: 'Poiret One', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow-gold: 0 0 30px rgba(255, 215, 0, 0.5);
    --shadow-glow-teal: 0 0 20px rgba(74, 155, 155, 0.4);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

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

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-light);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Metallic Shine Effect */
.gold-shimmer {
    background: linear-gradient(110deg,
            var(--color-gold-dark) 0%,
            var(--color-gold) 25%,
            var(--color-gold-light) 50%,
            var(--color-gold) 75%,
            var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: 0 0 15px rgba(207, 179, 91, 0.35);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

/* Utility Classes */
.gold-shimmer {
    background: linear-gradient(
        110deg,
        var(--color-gold) 0%,
        var(--color-gold) 40%,
        #ffe7a3 50%,
        var(--color-gold) 60%,
        var(--color-gold) 100%
    );
    background-size: 250% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 6s linear infinite;
    display: inline-block;
}

@keyframes goldShimmer {
    0% {
        background-position: -250% center;
    }
    100% {
        background-position: 250% center;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-text {
    font-family: var(--font-signature);
    color: var(--color-gold);
    font-size: 2.2rem;
    line-height: 1;
    margin-top: 5px; /* Adjusts slight baseline shift of script font */
    transition: transform var(--transition-fast);
}

.nav-logo:hover .nav-logo-text {
    transform: scale(1.05);
}

.nav-logo-img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-fast);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-poiret);
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 1px;
    color: var(--color-text);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('images/background.png') center center / cover no-repeat fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 15, 15, 0.4) 0%,
            rgba(15, 15, 15, 0.6) 50%,
            rgba(15, 15, 15, 0.95) 100%);
}

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

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-family: var(--font-signature);
    font-size: clamp(3.5rem, 8vw, 6rem);
    color: var(--color-gold);
    margin-bottom: -20px;
    padding: 10px 15px;
    white-space: nowrap;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero h1.gold-shimmer {
    color: transparent;
    animation: fadeInUp 1s ease 0.2s both, goldShimmer 6s linear infinite;
}

.hero-job-title {
    font-family: var(--font-poiret);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 2px;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-job-title.gold-shimmer {
    color: transparent;
    animation: fadeInUp 1s ease 0.3s both, goldShimmer 6s linear infinite;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-background);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    color: var(--color-background);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
    padding: 12px 28px;
}

.btn-secondary:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-background);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-signature);
    font-size: clamp(3.5rem, 8vw, 6rem);
    color: var(--color-gold);
    margin-bottom: 8px;
    padding: 10px 15px;
}

.section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
    margin: 0 auto;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: 16px;
}

/* About Section */
.about {
    background: var(--color-surface);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-image-placeholder {
    aspect-ratio: 3/4;
    background: var(--color-surface-light);
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.about-image-img {
    aspect-ratio: 3/4;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-text h3 {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.about-list li {
    position: relative;
    padding-left: 24px;
    color: var(--color-text);
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-teal);
    border-radius: 50%;
}

/* Services Section */
.services {
    position: relative;
    background: var(--color-background);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    background-image: url('images/Backround_1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(6px) brightness(0.25);
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 40px 32px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    color: var(--color-teal);
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}

.service-card:hover .service-icon {
    color: var(--color-gold);
}

.service-card:hover .btn-secondary:not(:hover) {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* Certifications Section */
.certifications {
    background: var(--color-surface);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.certification-card {
    background: var(--color-surface-light);
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(198, 146, 56, 0.15);
    transition: all var(--transition-normal);
    cursor: pointer;
    overflow: hidden;
}

.certification-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.certification-header {
    padding: 36px 36px 24px 36px;
    transition: padding var(--transition-normal);
}

.expand-icon {
    color: var(--color-gold);
    transition: transform var(--transition-normal);
    margin-top: 5px;
}

.certification-card.active .expand-icon {
    transform: rotate(180deg);
}

.certification-content {
    max-height: 0;
    opacity: 0;
    transition: all var(--transition-normal);
    padding: 0 36px;
}

.certification-card.active .certification-content {
    max-height: 500px;
    opacity: 1;
    padding: 0 36px 36px 36px;
}

.certification-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(198, 146, 56, 0.15), rgba(74, 155, 155, 0.1));
    border-radius: 50%;
    color: var(--color-gold);
}

.certification-card h3 {
    color: var(--color-gold);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.certification-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--color-background);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.contact-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dark);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--color-surface);
    color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--color-gold);
}

.btn-submit {
    width: 100%;
}

/* Impressum Section */
.impressum {
    background: var(--color-surface);
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.impressum-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.impressum-block h3 {
    color: var(--color-gold);
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.impressum-block p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.impressum-block p:last-child {
    margin-bottom: 0;
}

.impressum-block strong {
    color: var(--color-text);
}

/* Footer */
.footer {
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    margin-bottom: 8px;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.footer-col p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-links-col a, .footer-links-col br {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links-col a:hover {
    color: var(--color-gold);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-brand span {
    font-family: var(--font-signature);
    color: var(--color-gold);
    font-size: 2.2rem;
    vertical-align: bottom;
    line-height: 0.6;
    padding-bottom: 4px;
}

.brand-text {
    font-family: var(--font-signature);
    color: var(--color-gold);
    font-size: 2em;
    vertical-align: bottom;
    line-height: 0.6;
    display: inline-block;
    padding-bottom: 2px;
}

.footer-logo-small {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.footer-copyright {
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-contact-block {
    margin-top: 24px;
}

.footer-contact-block p {
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-item {
        flex: 1 1 200px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        flex-direction: column;
        background: var(--color-surface);
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-logo {
        width: 150px;
    }

    .section {
        padding: 80px 0;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card,
    .testimonial-card {
        padding: 32px 24px;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-item {
        max-width: none;
    }
}