/* css/styles.css */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --accent-gold: #fbbf24;
    --text-dark: #1e3a8a;
    --text-light: #ffffff;
    --bg-pearl: url("../images/Pearl.png");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Request #3: Startseite fade-in with the same interval as old/Startseite (3s) */
body {
    font-family: 'Arial', sans-serif;
    background: var(--bg-pearl) center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: pageLoadFadeIn 3s ease-in-out forwards;
}

@keyframes pageLoadFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Header & Navigation --- */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Request #5: Header top font size, location and color as in Old */
.header-top {
    background: var(--primary-blue);
    color: white;
    padding: 10px 0;
    /* Removed text-align: center to allow Flexbox to work */
    font-size: 14px;
}

/* --- NEW LAYOUT STYLES FOR #5 --- */
.header-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-top-left {
    display: flex;
    gap: 15px;
}

.header-top-left a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    margin-right: 15px;
    transition: color 0.3s;
}

.header-top-left a:hover {
    color: var(--accent-gold);
}

.header-top-right {
    display: flex;
    gap: 15px;
    align-items: center;
    color: white;
    font-size: 13px;
}

.header-top-right a {
    color: white;
    text-decoration: none;
}

.header-top-right a:hover {
    color: var(--accent-gold);
}
/* ----------------------------------- */

.header-top a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.header-main {
    padding: 15px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: auto;
    display: block;
}

/* Added for .site-title as in Old */
.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
}

.nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500; /* Old weight */
    padding: 10px 15px; /* Old padding */
    border-radius: 5px; /* Old radius */
    transition: all 0.3s ease;
}

.nav a:hover, .nav a.active {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px); /* Old transform */
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* --- Main Content --- */
.main {
    margin-top: 120px;
    padding: 40px 0;
    flex: 1;
}

.hero {
    text-align: center;
    padding: 80px 0;
    background: transparent;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.hero p {
    margin-bottom: 30px;
}

/* --- Product Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    background-color: #f3f4f6;
    border-bottom: 2px solid var(--primary-blue);
}

.product-info {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.product-info p {
    margin-bottom: 20px;
}

.view-btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #1e3a8a; /* Old style */
    color: white;
}

.view-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

/* --- Footer --- */
/* Request #5: Footer font size, location, color as in Old */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.2rem; /* Old size */
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white; /* Old color */
    text-decoration: none;
    display: block; /* Old display */
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fbbf24; /* Old hover color */
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* --- Mute Button --- */
/* Request #8: Audio/Mute button same as Old (Left side) */
.mute-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #1e3a8a;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

.mute-button:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.mute-button.muted {
    background: #ef4444;
}

/* --- Utility & Buttons --- */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}