/* Template 65 - Vintage Postcard / Travel Nostalgia */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --postcard-cream: #f5f0e1;
    --postcard-aged: #e8dcc8;
    --ink-black: #2c2416;
    --ink-brown: #5c4a32;
    --stamp-red: #c0392b;
    --stamp-blue: #2980b9;
    --stamp-green: #27ae60;
    --border-brown: #8b7355;
    --shadow-warm: rgba(92, 74, 50, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: var(--ink-black);
    background: var(--postcard-cream);
    font-weight: 400;
    overflow-x: hidden;
}

/* Aged paper texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - Postal Style */
.site-header {
    background: var(--postcard-aged);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px dashed var(--border-brown);
    box-shadow: 0 4px 20px var(--shadow-warm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: 'Courier Prime', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink-black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.site-logo a::before {
    content: '✉';
    font-size: 1.8rem;
    color: var(--stamp-red);
}

.site-logo a:hover {
    transform: rotate(-2deg);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    font-family: 'Courier Prime', monospace;
    color: var(--ink-brown);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--stamp-red);
    transition: width 0.3s ease;
}

.site-nav a:hover {
    color: var(--stamp-red);
}

.site-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.section.head {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.section.head::before {
    content: 'AIR MAIL';
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: var(--stamp-blue);
    letter-spacing: 0.3em;
    position: absolute;
    top: 2rem;
    right: 10%;
    transform: rotate(15deg);
    padding: 0.3rem 0.8rem;
    border: 2px solid var(--stamp-blue);
}

.section.head h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--ink-black);
    font-style: italic;
}

.section.head h1::first-letter {
    font-size: 5rem;
    float: left;
    line-height: 0.8;
    margin-right: 0.3rem;
    color: var(--stamp-red);
    font-style: normal;
}

.section.head p {
    font-family: 'Courier Prime', monospace;
    font-size: 1rem;
    color: var(--ink-brown);
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--postcard-cream);
    border: 1px solid var(--border-brown);
    position: relative;
    box-shadow: 5px 5px 0 var(--shadow-warm);
}

.section.head p::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 75px;
    border: 3px solid var(--stamp-red);
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 3px,
            var(--stamp-red) 3px,
            var(--stamp-red) 4px
        );
    opacity: 0.3;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section header {
    text-align: center;
    margin-bottom: 3rem;
}

.section header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink-black);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.section header h2::before,
.section header h2::after {
    content: '~';
    color: var(--stamp-red);
    margin: 0 0.5rem;
}

.section header p {
    font-size: 1rem;
    color: var(--ink-brown);
    max-width: 600px;
    margin: 1rem auto 0;
}

body:not(.faq) h3,
:not(section.faq) h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--ink-black);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--ink-black);
    color: var(--postcard-cream);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        var(--stamp-red) 0px,
        var(--stamp-red) 20px,
        var(--stamp-blue) 20px,
        var(--stamp-blue) 40px,
        var(--postcard-cream) 40px,
        var(--postcard-cream) 60px
    );
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.footer-about {
    flex: 1;
    max-width: 350px;
}

.footer-tagline {
    font-family: 'Courier Prime', monospace;
    color: var(--postcard-aged);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-family: 'Courier Prime', monospace;
    color: var(--postcard-aged);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a::before {
    content: '→ ';
    color: var(--stamp-red);
}

.footer-links a:hover {
    color: var(--postcard-cream);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-brown);
}

.footer-bottom::before {
    content: '✈ BON VOYAGE ✈';
    display: block;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: var(--stamp-blue);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.copyright a {
    font-family: 'Courier Prime', monospace;
    color: var(--postcard-aged);
    font-size: 0.85rem;
}

/* Animations */
@keyframes postcardIn {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(-3deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.fade-in {
    opacity: 0;
    animation: postcardIn 0.7s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}
