/* ========================================
   Bounty Cortez Custom Styles
   Modern, Clean Design for IONOS Hosting
   ======================================== */

/* Base Styles */
:root {
    --primary-color: #dc3545;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --pink-color: #ff69b4;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Raleway', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #333;
    padding-top: 100px; /* Fixed navbar height */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    padding-top: 150px;
}

/* Desktop Vollbreite: Weniger Höhe */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 120px;
        padding-bottom: 40px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.text-pink {
    color: var(--pink-color);
    font-size: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.drawing-container {
    animation: fadeIn 1.5s ease-out 0.6s both;
    margin-top: -40px; /* Weiter oben beginnen */
    margin-bottom: -30px; /* MORE Button näher heran */
}

/* Desktop: Animation 60% der Größe */
@media (min-width: 769px) {
    .drawing-container {
        transform: scale(0.6);
        margin-top: -80px; /* Desktop noch weiter oben */
        margin-bottom: -50px; /* MORE Button noch näher */
    }
}

/* Flamingos größer machen - direkter Selector */
.drawing-container .col-2 img {
    transform: scale(1.8) !important;
    transform-origin: center center;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-body i {
    transition: transform 0.3s ease;
}

.card:hover .card-body i {
    transform: scale(1.2) rotate(5deg);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Social Links */
.btn-outline-light {
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark-color);
    transform: scale(1.05);
}

/* Footer */
footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.7;
}

/* Back to Top Button */
.btn-back-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back-to-top:hover {
    opacity: 1;
    background-color: #c82333;
    transform: translateY(-5px);
}

.btn-back-to-top.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SVG Drawing Animation - wird durch JavaScript gesteuert */

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .text-pink {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .drawing-container img {
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }

    .navbar-brand img {
        max-width: 60px !important;
    }

    .btn-back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
        font-size: 16px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .navbar,
    .btn-back-to-top,
    footer {
        display: none;
    }

    body {
        padding-top: 0;
    }

    a {
        text-decoration: underline;
    }
}
