/*
Theme Name: Panthea Premium
Description: Apple-inspired Premium Theme for Panthea Group AG.
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #b38b22; /* Gold/Bronze */
    --color-primary-hover: #96741b;
    --color-text: #1d1d1f; /* Apple dark gray */
    --color-text-light: #86868b;
    --color-background: #ffffff;
    --color-surface: #f5f5f7; /* Apple light gray */
    --color-border: #d2d2d7;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 18px;
    --radius-lg: 32px;

    --shadow-soft: 0 4px 14px 0 rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 40px 0 rgba(0,0,0,0.08);
}

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Glassmorphism */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Expand header container to fit all elements */
}

.site-logo {
    max-height: 65px;
    width: auto;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.main-navigation a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.main-navigation a:hover {
    opacity: 1;
    color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    padding: 140px 20px 120px;
    text-align: center;
    background: radial-gradient(circle at center, #ffffff 0%, #f5f5f7 100%);
    border-bottom: 1px solid var(--color-border);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1d1d1f 0%, #434345 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* Buttons */
.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 980px;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(179, 139, 34, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(179, 139, 34, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: #fff;
    transform: translateY(-2px) scale(1.02);
}

/* Sections */
.services-section, .page-content {
    padding: 100px 0;
}

.services-section h2, .page-header h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.content-section h2 {
    margin-bottom: 20px;
}

.page-header p.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: -40px auto 60px;
}

/* Grids */
.services-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.team-grid {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* Cards */
.service-card, .team-member {
    background: var(--color-surface);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover, .team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p, .team-member p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Team */
.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-soft);
}
.team-member {
    text-align: center;
}
.team-member .role {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 15px;
}

/* Forms */
.panthea-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
    flex: 100%;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text);
    background: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(179, 139, 34, 0.1);
    outline: none;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--color-text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.form-message {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.msg-success {
    background-color: #e6f4ea;
    color: #137333;
    border: 1px solid #ceead6;
}

.msg-error {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* Legal text */
.legal-text {
    max-width: 800px;
    margin: 0 auto;
}
.legal-text h2, .legal-text h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}
.legal-text p {
    color: var(--color-text-light);
}

/* Footer */
.site-footer {
    background-color: var(--color-surface);
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid var(--color-border);
}

.footer-widgets {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-navigation li {
    margin-bottom: 12px;
}

.footer-navigation a {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.footer-navigation a:hover {
    color: var(--color-text);
}

.site-info {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .site-logo {
        max-height: 50px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .site-header .container {
        flex-direction: column;
        gap: 15px;
        padding-top: 5px;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    .services-section h2, .page-header h1 {
        font-size: 2rem;
    }
    .services-section, .page-content {
        padding: 50px 0;
    }
    .panthea-contact-form {
        padding: 30px 20px;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius-md);
    padding: 25px 30px;
    z-index: 9999;
    font-size: 0.95rem;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
    color: var(--color-text);
}

.cookie-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.search-field {
    padding: 8px 15px;
    padding-right: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    font-size: 0.9rem;
    font-family: var(--font-primary);
    width: 150px;
    transition: all 0.3s ease;
}

.search-field:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(179, 139, 34, 0.1);
    width: 180px;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: color 0.3s;
}

.search-submit:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .header-right {
        flex-direction: column;
        gap: 10px;
    }
    .search-field {
        width: 100%;
    }
    .search-field:focus {
        width: 100%;
    }
}

/* --- Ventures & Cooka Showcase --- */
.venture-showcase { background: #fafafa; border-radius: var(--radius-lg); padding: 60px 40px; margin: 60px 0; box-shadow: var(--shadow-soft); text-align: center; }
.venture-showcase a.cooka-logo-link { display: inline-block; margin-bottom: 30px; }
.venture-showcase img.cooka-logo { max-width: 280px; height: auto; display: block; margin: 0 auto; transition: transform 0.3s ease; }
.venture-showcase a.cooka-logo-link:hover img.cooka-logo { transform: scale(1.05); }

@media (max-width: 768px) {
    .services-grid, .team-grid {
        grid-template-columns: 1fr;
    }
}
.cooka-tagline { font-size: 2rem; color: #226442; font-weight: 700; margin-bottom: 30px; }
.cooka-content { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; text-align: left; }
.cooka-content p { font-size: 1.15rem; line-height: 1.8; color: #555; }
.cooka-btn-container { margin-top: 40px; }
.btn-cooka { display: inline-block; background-color: #226442; color: #ADEBB3; padding: 15px 40px; font-size: 1.1rem; font-weight: 600; border-radius: var(--radius-md); text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(34, 100, 66, 0.2); }
.btn-cooka:hover { background-color: #1a4f34; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34, 100, 66, 0.3); }
