/* ============================================
   atlantistruffles.com — Custom Styles
   Aesthetic: Deep oceanic / Atlantis mythology
   ============================================ */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Body defaults */
body {
    font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* Display font */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Hero gradient background */
.hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 50% 120%, rgba(30, 138, 171, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(234, 196, 126, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #0b2836 0%, #133f52 40%, #145a75 100%);
}

/* Subtle noise texture overlay */
.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
}

.noise-overlay > * {
    position: relative;
    z-index: 2;
}

/* Decorative wave separator */
.wave-separator {
    position: relative;
    overflow: hidden;
}

.wave-separator::after {
    content: '';
    display: block;
    width: 100%;
    height: 60px;
    background: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0 30 Q300 0 600 30 Q900 60 1200 30 L1200 60 L0 60Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0 30 Q300 0 600 30 Q900 60 1200 30 L1200 60 L0 60Z'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}

/* Article prose styling */
.prose-atlantis {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #133f52;
}

.prose-atlantis h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0b2836;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #b3dcea;
}

.prose-atlantis h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #145a75;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose-atlantis p {
    margin-bottom: 1.25rem;
}

.prose-atlantis a {
    color: #1e8aab;
    text-decoration: underline;
    text-decoration-color: #b3dcea;
    text-underline-offset: 3px;
    transition: color 0.15s, text-decoration-color 0.15s;
}

.prose-atlantis a:hover {
    color: #c27324;
    text-decoration-color: #eac47e;
}

.prose-atlantis ul,
.prose-atlantis ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose-atlantis ul {
    list-style-type: disc;
}

.prose-atlantis ol {
    list-style-type: decimal;
}

.prose-atlantis li {
    margin-bottom: 0.5rem;
}

.prose-atlantis blockquote {
    border-left: 4px solid #eac47e;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(234, 196, 126, 0.08);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #34432b;
}

.prose-atlantis table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.prose-atlantis thead th {
    background: #133f52;
    color: #f0f7fa;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prose-atlantis thead th:first-child {
    border-radius: 0.5rem 0 0 0;
}

.prose-atlantis thead th:last-child {
    border-radius: 0 0.5rem 0 0;
}

.prose-atlantis tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #d9eef5;
}

.prose-atlantis tbody tr:nth-child(even) {
    background: rgba(179, 220, 234, 0.1);
}

.prose-atlantis tbody tr:hover {
    background: rgba(179, 220, 234, 0.2);
}

/* Info callout boxes */
.callout {
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.callout-info {
    background: rgba(30, 138, 171, 0.08);
    border: 1px solid rgba(30, 138, 171, 0.2);
    color: #145a75;
}

.callout-warning {
    background: rgba(234, 196, 126, 0.12);
    border: 1px solid rgba(234, 196, 126, 0.3);
    color: #6c3b1e;
}

.callout-safety {
    background: rgba(101, 132, 80, 0.08);
    border: 1px solid rgba(101, 132, 80, 0.2);
    color: #2c3926;
}

/* Card hover effect */
.card-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -8px rgba(11, 40, 54, 0.15);
}

/* Smooth page transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

.animate-fade-in-delay-1 {
    animation: fadeInUp 0.5s ease-out 0.1s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.5s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-3 {
    animation: fadeInUp 0.5s ease-out 0.3s forwards;
    opacity: 0;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #eac47e 0%, #da8f2e 50%, #e2a84e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Strength meter for dosage */
.strength-bar {
    height: 8px;
    border-radius: 4px;
    background: #d9eef5;
    overflow: hidden;
}

.strength-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.strength-mild { background: linear-gradient(90deg, #83a06c, #a5bc92); }
.strength-medium { background: linear-gradient(90deg, #e2a84e, #eac47e); }
.strength-strong { background: linear-gradient(90deg, #c27324, #da8f2e); }
.strength-intense { background: linear-gradient(90deg, #834721, #a15820); }

/* Trip report quote styling */
.trip-quote {
    position: relative;
    padding-left: 2rem;
}

.trip-quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    color: #eac47e;
    line-height: 1;
    opacity: 0.4;
}

/* Responsive typography */
@media (max-width: 640px) {
    .prose-atlantis {
        font-size: 1rem;
        line-height: 1.75;
    }

    .prose-atlantis h2 {
        font-size: 1.5rem;
    }

    .prose-atlantis h3 {
        font-size: 1.15rem;
    }
}

/* Print styles */
@media print {
    header, footer, .no-print { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    a[href]::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
}
