/* Globale Stile & Variablen */
:root {
    --primary-color: #2a9d8f; /* Türkis/Grün */
    --secondary-color: #e9c46a; /* Gelb */
    --dark-color: #264653; /* Dunkelblau */
    --light-color: #f4f4f4; /* Heller Hintergrund */
    --text-color: #333; /* Standard Textfarbe */
    --navbar-height: 70px;
    --instagram-color: #E1306C;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    padding-top: var(--navbar-height);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.btn.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}
.btn.btn-secondary:hover {
    background-color: #d4ac57;
}


/* Navbar */
.navbar {
    background-color: var(--dark-color);
    color: #fff;
    height: var(--navbar-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    color: #fff;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* Page Sections */
.page-section {
    padding: 40px 0;
    min-height: calc(100vh - var(--navbar-height) - 60px); /* 60px für Footer */
}

/* Home Page Specific */
#home .intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.social-channels-home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

#home .social-link { /* Specific styling for home page buttons if different */
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 8px;
    color: #fff !important;
    font-size: 1.2rem;
    text-align: center;
    min-width: 220px;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
#home .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#home .social-link i {
    margin-right: 10px;
    font-size: 1.5rem;
}
#home .social-link.tiktok { background-color: #000; }
#home .social-link.tiktok:hover { background-color: #333; }
#home .social-link.youtube { background-color: #FF0000; }
#home .social-link.youtube:hover { background-color: #cc0000; }
#home .social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
#home .social-link.instagram:hover {
    opacity: 0.9;
}

.home-call-to-action {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.home-call-to-action p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.home-call-to-action .btn {
    margin: 0.5rem;
}


/* Prints Page Specific */
.print-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.print-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.print-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.print-item a.print-model-link {
    display: block; /* Ensures the image link takes up its space */
}

.print-item img {
    width: 100%;
    height: 220px; /* Adjusted height for better proportion with new details */
    object-fit: cover;
}

.print-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows info section to fill available vertical space */
}

.print-info h3 {
    color: var(--dark-color); /* Changed from primary for better contrast with new elements */
    margin-bottom: 0.8rem;
    font-size: 1.25rem; /* Slightly larger title for prints */
}

/* Print Stats (horizontal details) - NEW */
.print-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px; /* row-gap column-gap */
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.85rem;
    color: #555;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-item i {
    font-size: 1rem;
    color: var(--text-color);
    width: 16px; /* Fixed width for icons for alignment */
    text-align: center;
}

/* Material/Color Info - NEW */
.material-colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem; /* Space before creator link or video links */
    font-size: 0.8rem; /* Smaller font for chips */
}

.ams-label {
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--dark-color);
    /* Example for AMS-like rainbow:
    background: linear-gradient(to right, #F8C03F, #EAA84D, #D78F5C, #C2776C, #AF5E7B, #9B468B, #872D9B, #7415AC);
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    border: none;
    */
}

.color-chip {
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.15);
    color: #fff; /* Default white text */
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5); /* Shadow for readability */
    position: relative; /* For tooltip */
    font-weight: 500;
}
.color-chip span {
    white-space: nowrap; /* Prevent text wrapping in chip */
}

/* Basic tooltip styling (optional, can be enhanced) */
.color-chip[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px); /* Position above the chip */
    background-color: var(--dark-color);
    color: white;
    padding: 4px 7px;
    border-radius: 3px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}


.creator-link {
    margin-top: auto; /* Pushes this to the bottom of .print-info */
    padding-top: 0.8rem; /* Space above it */
}
.creator-link a {
    display: inline-block;
    font-weight: bold;
    color: var(--primary-color);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}
.creator-link a:hover {
    color: var(--secondary-color);
}

/* Video links specific to print items */
.print-video-links {
    /* This block will sit above .creator-link because of margin-top:auto on creator-link */
    padding-top: 0.5rem; /* Space above video links if creator link is also present */
    margin-top: 0.5rem; /* Additional space if needed */
    border-top: 1px solid #eaeaea; /* Separator if both video and creator links are present */
}
.print-video-links:empty { /* Hide if no video links */
    display: none;
}
.print-video-links p {
    margin-bottom: 0.5rem;
}
.print-video-links p:last-child {
    margin-bottom: 0;
}

.video-link {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px; /* Slightly smaller buttons */
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s ease;
}
.video-link:hover {
    opacity: 0.85;
}
.video-link i {
    margin-right: 5px;
    font-size: 0.9rem;
}
.video-link.tiktok-link {
    background-color: #000;
}
.video-link.youtube-link {
    background-color: #FF0000;
}


/* Contact Page Specific (falls Formular wieder genutzt wird) */
.contact-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.form-group textarea {
    resize: vertical;
}
.contact-details { /* Für die Text-Kontaktinfos */
    text-align: center;
    margin-top: 2rem;
}
.contact-details h2 {
    margin-bottom: 1rem;
}
.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}
.contact-details i {
    margin-right: 10px;
    color: var(--primary-color);
}


/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
}

/* Responsive Design */
@media(max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--navbar-height);
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-bottom: 1rem;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 1.5rem 0;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Home page responsive */
    .social-channels-home {
        flex-direction: column;
        align-items: center;
    }
    #home .social-link {
        width: 90%;
        max-width: 300px;
        margin-bottom: 1rem;
    }

    /* Prints page responsive */
    /* .print-gallery is already responsive due to auto-fit */
    /* .print-item img height can be adjusted for mobile if needed */
    .print-item img {
        height: 180px; /* Slightly smaller image on mobile */
    }
    .print-info h3 {
        font-size: 1.15rem;
    }
    .print-stats, .material-colors {
        font-size: 0.8rem; /* Smaller text for details on mobile */
    }
    .stat-item {
        gap: 4px;
    }
    .stat-item i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .print-stats {
        gap: 8px 10px; /* Adjust gap for very small screens */
    }
    /* Optionally stack stat-items if too crowded */
    /* .stat-item { flex-basis: 100%; } */
    .material-colors {
        font-size: 0.75rem;
    }
    .color-chip {
        padding: 2px 5px;
    }
    .ams-label {
        padding: 2px 5px;
    }
    .video-link {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    .video-link i {
        font-size: 0.8rem;
    }
}

/* Empfehlungen Seite (Linktree-ähnlich) */
.affiliate-hinweis {
    background-color: #fff; /* Heller Hintergrund für den Hinweis */
    border-left: 5px solid var(--secondary-color); /* Akzentfarbe links */
    padding: 1rem 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 0.95rem;
    line-height: 1.7;
}

.affiliate-hinweis strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Ensure recommendation-item card is styled like print-item */
.recommendation-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recommendation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.recommendation-item a.recommendation-img-link {
    display: block;
}

.recommendation-item img {
    width: 100%;
    height: 200px; /* Height similar to print item images */
    object-fit: cover; /* Changed from 'contain' to match print items visuals */
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee; /* Optional: if you want a separator */
}

.recommendation-info {
    padding: 1rem; /* Matched to print-info padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left; /* Ensure text aligns left by default */
}

.recommendation-info h3 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.25rem; /* Matched to print-info h3 */
}

.recommendation-info p { /* Styling for the short description */
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: #555; /* Slightly lighter text for description */
}

.recommendation-button-container {
    margin-top: auto; /* Pushes this to the bottom */
    padding-top: 0.8rem;
    border-top: 1px solid #eaeaea; /* Separator line like in print-item cards */
    text-align: center; /* Centers the inline-flex button */
}

.affiliate-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center content within button */
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    background-color: var(--primary-color);
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px; /* Ensure a decent minimum width */
}

.affiliate-link-button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.affiliate-link-button i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Ensure grid settings are suitable */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Responsive adjustments for images if needed, though cover should handle it well */
@media(max-width: 768px) {
    .recommendation-item img {
        height: 180px;
    }
    .recommendation-info h3 {
        font-size: 1.15rem; /* Slightly smaller title on mobile */
    }
    .affiliate-link-button {
        font-size: 0.85rem;
        padding: 7px 12px;
        min-width: 130px;
    }
}

@media (max-width: 480px) {
    .recommendation-item img {
        height: 160px;
    }
     .recommendation-info h3 {
        font-size: 1.1rem;
    }
}

.removeColorBtn {
    background-color: #dc3545; /* Rote Farbe für Entfernen */
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 10px;
}
.removeColorBtn:hover {
    background-color: #c82333;
}
