/* Avarello Haus & Gartenservice - Shared Styles */

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #111827;
    overflow-x: hidden;
}

/* Subtle noise overlay (subpages) */
body.has-noise::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .08;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Logo */
.logo-responsive { height: 50px; width: auto; }
@media (max-width: 768px) { .logo-responsive { height: 35px; } }

/* Glass panel effect */
.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero gradient for subpages */
.hero-gradient {
    background: linear-gradient(135deg, #285028 0%, #1a361a 50%, #0d1a0d 100%);
}

/* Wave Dividers */
.wave-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.wave-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 80px; }
@media (min-width: 768px) { .wave-bottom svg { height: 120px; } }

/* Organic Image Shapes (index page) */
.organic-shape { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation: morph 8s ease-in-out infinite; }
@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Hover lift effect */
.hover-lift { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -10px rgba(40, 80, 40, 0.15); }

/* Section padding */
.section-pad { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .section-pad { padding-top: 10rem; padding-bottom: 10rem; } }

/* Index-specific overrides */
.section-pad-home { padding-top: 8rem; padding-bottom: 8rem; }

/* Messages (Django messages framework) */
.messages-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9998;
    max-width: 400px;
}
.messages-container .message {
    padding: 16px 24px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out;
}
.messages-container .message.success {
    background: #DCF0DC;
    color: #285028;
    border: 1px solid #285028;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
