/* Modern-Vintage Hybrid Design for le fil d'Eva */

/* Custom Fonts */
@font-face {
    font-family: 'FildevaScript';
    src: url('ITCEdscr.TTF');
}

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b2e3a;
    --primary-dark: #5d1f27;
    --primary-light: #b04554;
    --accent-beige: #e8dcc8;
    --accent-gold: #c9a87c;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-pattern: #c9a0a0;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.15);
    --shadow-hover: rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-image: url('pp_motif.png');
    background-repeat: repeat;
    background-color: var(--bg-pattern);
    font-size: 16px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: 'FildevaScript', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    color: var(--primary-color);
}

h2 {
    font-family: 'Georgia', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

h3 {
    font-family: 'Georgia', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
    color: var(--text-light);
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 3px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-beige);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-family: 'FildevaScript', cursive;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.logo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

nav a {
    font-family: 'Georgia', serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    position: relative;
}

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

nav a:hover::after,
nav a.active::after {
    width: 60%;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
    background: var(--accent-beige);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pp_motif.png');
    opacity: 0.08;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-size: clamp(3rem, 7vw, 5rem);
}

/* Larger title specifically for homepage hero */
.hero-home {
    padding-top: 3rem;
}

.hero-home h1 {
    font-size: clamp(4.5rem, 10vw, 8rem);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gold);
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: var(--accent-beige);
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-image: url('content_bg.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    background-color: var(--white);
    position: relative;
}

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

.container > * {
    position: relative;
    z-index: 1;
}

/* Content Sections */
.section {
    margin-bottom: 5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.4s ease;
    border-top: 4px solid var(--accent-beige);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 5px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow-hover);
    border-top-color: var(--primary-color);
}

.card:hover::before {
    opacity: 0.03;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    line-height: 1.8;
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px var(--shadow);
    border-left: 5px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
    border-left-color: var(--primary-color);
}

.pricing-card h3 {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--accent-beige);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.price-item:hover {
    background: var(--accent-beige);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-weight: 500;
    color: var(--text-dark);
    font-family: 'Georgia', serif;
    flex: 1;
}

.price-value {
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-note {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.contact-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.contact-card p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.contact-icon {
    font-size: 1.8rem;
}

/* Map Container */
.map-container {
    margin: 3rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow);
    border: 4px solid var(--accent-beige);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Image Gallery/Slideshow */
.slideshow-container {
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow);
    border: 4px solid var(--accent-beige);
}

.slideshow-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pp_motif.png');
    opacity: 0.05;
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-family: 'Georgia', serif;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

/* Alert/Notice */
.alert {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 4px solid #f39c12;
    color: #856404;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    font-family: 'Georgia', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 400px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding-top: 1rem;
        width: 100%;
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-radius: 0;
    }

    nav a::after {
        display: none;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .container {
        padding: 2.5rem 1.5rem;
    }

    .pricing-grid,
    .contact-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-image {
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Special Elements */
.vintage-divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.vintage-divider::before {
    content: '✄';
    font-size: 2rem;
    color: var(--accent-gold);
}
