/* ========================================
   Visit Notre Dame - Custom Styles
   ======================================== */

/* ----------------------------------------
   Custom CSS Variables
   ---------------------------------------- */
:root {
    --primary: #1E3A5F;
    --primary-dark: #152a45;
    --secondary: #B8860B;
    --secondary-light: #d4a011;
    --accent: #8B0000;
    --dark: #1a1a2e;
    --light: #f5f5f0;
    --cream: #faf8f5;
    --text: #333333;
    --text-light: #666666;
    --stone: #e8e4df;
    --stone-dark: #c9c4bc;
    --gold-gradient: linear-gradient(135deg, #B8860B 0%, #d4a011 50%, #B8860B 100%);
    --dark-gradient: linear-gradient(180deg, #1a1a2e 0%, #2d2d44 100%);
}

/* ----------------------------------------
   Base Styles
   ---------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

/* ----------------------------------------
   Custom Utility Classes
   ---------------------------------------- */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-dark { background-color: var(--dark); }
.bg-light { background-color: var(--light); }
.bg-cream { background-color: var(--cream); }
.bg-stone { background-color: var(--stone); }

/* ----------------------------------------
   Gothic Decorative Elements
   ---------------------------------------- */
.gothic-divider {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gothic-divider::before,
.gothic-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.gothic-divider span {
    padding: 0 20px;
    color: var(--secondary);
    font-size: 24px;
}

/* Fleur-de-lis style ornament */
.ornament {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--secondary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5c-5 15-15 25-15 40 0 10 5 15 10 18V75c-10-5-25-5-30 0 5-15 15-25 30-25v-25c-5 5-10 15-10 30 0 10 5 20 10 25V95c5 0 10-5 10-10V80c5-5 10-15 10-25 0-15-5-25-10-30v25c15 0 25 10 30 25-5-5-20-5-30 0v-12c5-3 10-8 10-18 0-15-10-25-15-40z'/%3E%3C/svg%3E");
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5c-5 15-15 25-15 40 0 10 5 15 10 18V75c-10-5-25-5-30 0 5-15 15-25 30-25v-25c-5 5-10 15-10 30 0 10 5 20 10 25V95c5 0 10-5 10-10V80c5-5 10-15 10-25 0-15-5-25-10-30v25c15 0 25 10 30 25-5-5-20-5-30 0v-12c5-3 10-8 10-18 0-15-10-25-15-40z'/%3E%3C/svg%3E");
}

/* ----------------------------------------
   Button Styles
   ---------------------------------------- */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    padding: 14px 32px;
    border: 2px solid var(--secondary);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.4);
}

/* ----------------------------------------
   Card Styles
   ---------------------------------------- */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

/* Section Card */
.section-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
}

.section-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-card:hover img {
    transform: scale(1.1);
}

.section-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    color: white;
}

.section-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.section-card-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ----------------------------------------
   Header & Navigation
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    z-index: 999;
    padding-top: 80px;
}

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

/* ----------------------------------------
   Hero Sections
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.7) 0%, rgba(26, 26, 46, 0.5) 50%, rgba(26, 26, 46, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Hero (Smaller) */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0.7) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 10;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ----------------------------------------
   Info Bar
   ---------------------------------------- */
.info-bar {
    background: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 20;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* ----------------------------------------
   Section Styles
   ---------------------------------------- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: white;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ----------------------------------------
   FAQ Accordion
   ---------------------------------------- */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 24px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ----------------------------------------
   Blog Styles
   ---------------------------------------- */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-category {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.4;
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Blog Detail */
.blog-content {
    font-size: 1.125rem;
    line-height: 1.9;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content h2 {
    font-size: 1.75rem;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--dark);
}

.blog-content h3 {
    font-size: 1.375rem;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--dark);
}

.blog-content img {
    border-radius: 12px;
    margin: 32px 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-light);
}

/* ----------------------------------------
   Stained Glass Effect
   ---------------------------------------- */
.stained-glass-border {
    position: relative;
}

.stained-glass-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #1E3A5F 0%, 
        #B8860B 20%, 
        #8B0000 40%, 
        #4B0082 60%, 
        #006400 80%, 
        #1E3A5F 100%
    );
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

/* ----------------------------------------
   Responsive Styles
   ---------------------------------------- */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .card-image {
        height: 180px;
    }

    .footer {
        padding: 60px 0 20px;
    }
}

/* ----------------------------------------
   Ticket Widget Container
   ---------------------------------------- */
.ticket-widget-container {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

/* ----------------------------------------
   Contact Form
   ---------------------------------------- */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--stone);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ----------------------------------------
   Breadcrumb
   ---------------------------------------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb-separator {
    opacity: 0.5;
}

/* ----------------------------------------
   Sidebar
   ---------------------------------------- */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light);
}

/* ----------------------------------------
   ScrollToTop Button
   ---------------------------------------- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}
