/* ============================================
   TripBuddy AI - Vintage Style CSS
   ============================================ */

/* CSS Variables for Vintage Color Palette */
:root {
    --vintage-cream: #f5f1e8;
    --vintage-paper: #faf8f3;
    --vintage-brown: #5c4a3a;
    --vintage-dark-brown: #3d3026;
    --vintage-gold: #c9a961;
    --vintage-red: #8b4a3c;
    --vintage-blue: #3d5a6c;
    --vintage-border: #d4c4b0;
    --vintage-shadow: rgba(60, 48, 38, 0.15);
    --vintage-text: #2c2418;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--vintage-paper);
    color: var(--vintage-text);
    line-height: 1.7;
    font-size: 18px;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(92, 74, 58, 0.03) 2px,
            rgba(92, 74, 58, 0.03) 4px
        );
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--vintage-dark-brown);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

a {
    color: var(--vintage-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vintage-red);
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.vintage-header {
    background: linear-gradient(135deg, var(--vintage-brown) 0%, var(--vintage-dark-brown) 100%);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px var(--vintage-shadow);
    border-bottom: 4px solid var(--vintage-gold);
}

.vintage-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(201, 169, 97, 0.05) 10px,
            rgba(201, 169, 97, 0.05) 20px
        );
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.main-title {
    color: var(--vintage-cream);
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

.subtitle {
    color: var(--vintage-gold);
    font-size: 1.3rem;
    font-style: italic;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.vintage-decoration {
    margin-top: 2rem;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--vintage-gold),
        transparent
    );
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    padding: 5rem 2rem;
    background-color: var(--vintage-cream);
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.vintage-card {
    background: var(--vintage-paper);
    padding: 3rem;
    border: 3px double var(--vintage-border);
    box-shadow: 
        0 8px 24px var(--vintage-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
}

.vintage-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--vintage-gold), var(--vintage-red), var(--vintage-blue), var(--vintage-gold));
    z-index: -1;
    opacity: 0.1;
}

.hero-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--vintage-dark-brown);
}

.hero-description {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--vintage-text);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.vintage-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--vintage-border),
        var(--vintage-gold),
        var(--vintage-border),
        transparent
    );
    margin: 2rem 0;
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    background-color: var(--vintage-paper);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--vintage-gold), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--vintage-cream);
    border: 2px solid var(--vintage-border);
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 12px var(--vintage-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--vintage-shadow);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 2px solid var(--vintage-gold);
    border-radius: 50%;
    background: radial-gradient(circle, var(--vintage-paper), transparent);
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--vintage-border);
}

.vintage-label {
    display: inline-block;
    font-family: 'Special Elite', cursive;
    font-size: 0.75rem;
    color: var(--vintage-red);
    background: var(--vintage-paper);
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--vintage-border);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.feature-title {
    font-size: 1.8rem;
    color: var(--vintage-dark-brown);
    margin-bottom: 0;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--vintage-text);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--vintage-gold);
    font-size: 0.8rem;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background-color: var(--vintage-cream);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.vintage-border {
    background: var(--vintage-paper);
    padding: 3rem;
    border: 4px double var(--vintage-border);
    position: relative;
    box-shadow: 0 6px 20px var(--vintage-shadow);
}

.vintage-border::before,
.vintage-border::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--vintage-gold);
}

.vintage-border::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.vintage-border::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.vintage-stamp {
    display: inline-block;
    font-family: 'Special Elite', cursive;
    font-size: 0.9rem;
    color: var(--vintage-red);
    background: var(--vintage-paper);
    padding: 0.8rem 1.5rem;
    border: 2px dashed var(--vintage-border);
    margin-top: 2rem;
    transform: rotate(-2deg);
    box-shadow: 2px 2px 8px var(--vintage-shadow);
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--vintage-brown) 0%, var(--vintage-dark-brown) 100%);
}

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--vintage-paper);
    padding: 3rem;
    border: 3px solid var(--vintage-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-title {
    color: var(--vintage-dark-brown);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--vintage-text);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--vintage-brown);
    color: var(--vintage-cream);
    border-color: var(--vintage-brown);
}

.btn-primary:hover {
    background: var(--vintage-dark-brown);
    border-color: var(--vintage-dark-brown);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--vintage-shadow);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--vintage-brown);
    border-color: var(--vintage-brown);
}

.btn-secondary:hover {
    background: var(--vintage-brown);
    color: var(--vintage-cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--vintage-shadow);
    text-decoration: none;
}

/* Footer */
.vintage-footer {
    background: var(--vintage-dark-brown);
    color: var(--vintage-cream);
    padding: 3rem 2rem 2rem;
    border-top: 4px solid var(--vintage-gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info {
    margin-bottom: 1.5rem;
}

.footer-title {
    color: var(--vintage-cream);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: var(--vintage-gold);
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 2px;
}

.footer-text {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.footer-text p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-tagline {
    font-style: italic;
    color: var(--vintage-gold);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .vintage-card {
        padding: 2rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .main-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .vintage-card {
        padding: 1.5rem 1rem;
    }

    .about-text {
        text-align: left;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .vintage-header,
    .cta-section,
    .vintage-footer {
        background: white;
        color: black;
    }
}

