/* If I Could Go - Musical Website Styles */
/* Color palette inspired by the mystical Dublin/Tír na nÓg imagery */

:root {
    --emerald: #2d8f6f;
    --emerald-dark: #1a5c47;
    --emerald-light: #4fb897;
    --teal-dark: #1a3a3a;
    --teal-deep: #0d2626;
    --silver: #c8d0d4;
    --silver-light: #e8ecee;
    --gold-warm: #d4a857;
    --gold-light: #f0d890;
    --cream: #f5f3ef;
    --charcoal: #2a2a2a;
}

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

html {
    scroll-behavior: smooth;
}

/* Offset anchor links for fixed header */
[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--charcoal);
    line-height: 1.7;
    background-color: var(--cream);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.1em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--gold-warm);
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 2rem;
    transition: background-color 0.3s ease;
}

.nav-container.scrolled {
    background-color: rgba(13, 38, 38, 0.95);
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 55px;
    width: auto;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--silver-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--silver-light);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--emerald-light), var(--gold-warm));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-warm);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--silver-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: black;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: hero-fade-in 1s ease-out forwards, subtle-zoom 20s ease-in-out infinite;
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes subtle-zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13, 38, 38, 0.4) 0%,
        rgba(13, 38, 38, 0.3) 50%,
        rgba(13, 38, 38, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--silver-light);
    padding: 2rem;
    max-width: 900px;
}

.hero-icon {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.hero h1 {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), 0 8px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    margin-bottom: 2.25rem;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--gold-warm);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    color: var(--silver-light);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--emerald-light);
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--gold-warm) 0%, var(--emerald) 100%);
    border-color: var(--gold-warm);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 143, 111, 0.3);
}

.cta-button-secondary {
    background: rgba(13, 38, 38, 0.8);
    border: 1px solid var(--silver-light);
}

.cta-button-secondary:hover {
    background: rgba(13, 38, 38, 0.95);
    border-color: var(--gold-warm);
    color: var(--gold-warm);
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 520px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .cta-button {
        width: 100%;
        text-align: center;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--silver-light);
    opacity: 0.7;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Page Headers (for inner pages) */
.page-header {
    position: relative;
    height: 35vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/header.jpg');
    background-size: cover;
    background-position: center top;
    /* Offset for nav bar so title appears visually centered */
    padding-top: 120px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13, 38, 38, 0.6) 0%,
        rgba(13, 38, 38, 0.8) 100%
    );
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: var(--silver-light);
    margin-top: 5px;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInPageTitle 0.5s ease 0.2s forwards;
}

@keyframes fadeInPageTitle {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-dark {
    background-color: var(--teal-deep);
    color: var(--silver-light);
}

.section-light {
    background-color: var(--cream);
}

.section-golden {
    background: linear-gradient(180deg, #f0dba3 0%, #f7edd5 35%, #faf6ee 100%);
    color: var(--charcoal);
    position: relative;
}

.section-golden::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/intro_bg.png') center center / cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.section-gradient {
    background: linear-gradient(180deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
    color: var(--silver-light);
}

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

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

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald), var(--gold-warm));
    margin: 1rem auto 0;
}

.section-dark .section-title::after {
    background: linear-gradient(90deg, var(--emerald-light), var(--gold-light));
}

.section-title.no-separator::after {
    display: none;
}

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

.card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.section-dark .card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.card-content {
    padding: 1.5rem;
}

.card-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--emerald-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
}

/* About Section Styles */
.about-intro {
    max-width: 960px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
}

.about-intro p {
    font-size: 1.5rem;
    line-height: 1.7;
}

/* Dark text for golden section on homepage */
.section-golden .about-intro {
    color: #1a2f2f;
}

.intro-separator {
    display: block;
    width: 250px;
    max-width: 50%;
    height: auto;
    margin: 1.2rem auto;
    opacity: 0.3;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .about-intro p {
        font-size: 1.3rem;
        line-height: 1.5;
    }
}

.about-item {
    text-align: center;
    background: linear-gradient(180deg, #faf5e8 0%, #f5efe0 100%);
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(139, 90, 43, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--teal-dark);
}

.about-item p {
    color: var(--charcoal);
    opacity: 0.85;
    line-height: 1.6;
    flex: 1;
}

.about-item-content {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--emerald);
    border-radius: 50%;
    color: var(--emerald);
    font-size: 2rem;
}

.section-dark .about-icon {
    border-color: var(--emerald-light);
    color: var(--emerald-light);
}

.about-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-item:hover .about-image img {
    transform: scale(1.05);
}

.about-item-btn {
    display: block;
    margin-top: auto;
    padding: 0.9rem 1.5rem;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--emerald);
    color: white;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-item-btn:hover {
    background: var(--teal-dark);
    color: white;
}

/* Writer Bio Section */
.writer-bio {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.writer-photo {
    position: relative;
}

.writer-photo img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.writer-photo::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--emerald-light);
    border-radius: 4px;
    z-index: -1;
}

.writer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--gold-warm);
}

.writer-info .writer-role {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-light);
    margin-bottom: 1.5rem;
}

.writer-info p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .writer-bio {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .writer-photo {
        max-width: 280px;
        margin: 0 auto;
    }

    .writer-photo::after {
        display: none;
    }

    .writer-info h3 {
        font-size: 1.4rem;
    }
}

/* Media Gallery */
.media-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.media-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--emerald);
    color: var(--emerald);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-tab:hover,
.media-tab.active {
    background: var(--emerald);
    color: white;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.media-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

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

.media-item:hover img {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 38, 38, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-overlay span {
    color: var(--silver-light);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: var(--emerald);
    margin-top: 2rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--silver);
    border-radius: 2px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(45, 143, 111, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    color: white;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--gold-warm) 0%, var(--emerald) 100%);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--teal-deep);
    color: var(--silver);
    padding: 4rem 2rem 2rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-style: italic;
    opacity: 0.8;
}

.footer-links h4 {
    color: var(--gold-warm);
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 0.15em;
}

.footer-links ul {
    list-style: none;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--silver);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--emerald-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--silver);
    border-radius: 50%;
    color: var(--silver);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--emerald);
    border-color: var(--emerald);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Navigation - 960px breakpoint */
@media (max-width: 960px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--teal-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    /* Smaller logo in fixed header on mobile */
    .logo img {
        height: 40px;
        margin-top: 0;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    /* Align nav items horizontally */
    nav {
        align-items: center;
    }

    .mobile-menu-btn {
        align-self: center;
    }

    /* Larger body fonts on mobile */
    p {
        font-size: 1.15rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    /* Page header adjustments for mobile */
    .page-header {
        padding-top: 80px;
        min-height: 200px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .hero-bg {
        background-attachment: scroll;
    }

    /* Less padding on hero icon, slightly smaller */
    .hero-icon {
        width: 140px;
        margin-bottom: 1rem;
    }

    /* Larger title text on mobile */
    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        white-space: nowrap;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 0, 0, 0.6);
    }

    /* Larger tagline on mobile */
    .hero-tagline {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
        font-weight: 600;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.7);
    }

    /* Larger subtitle on mobile */
    .hero-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    .hero {
        align-items: flex-start;
        padding-top: calc(60px + 20px);
        padding-bottom: 2rem;
        box-sizing: border-box;
    }

    .hero-content {
        padding-top: 0;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        letter-spacing: 0.15em;
    }

    .hero-intro .hero-icon {
        animation: iconEntranceMobile 2s ease 0.8s forwards !important;
    }

    @keyframes iconEntranceMobile {
        0% {
            opacity: 0;
            transform: scale(1.8) translateY(20%);
        }
        40% {
            opacity: 1;
            transform: scale(1.8) translateY(20%);
        }
        55% {
            opacity: 1;
            transform: scale(1.8) translateY(20%);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    section {
        padding: 3rem 1.5rem;
    }

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

    .footer-content {
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a {
        font-size: 1.1rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Homepage Entrance Animation */
body.intro-active {
    background-color: black;
}

.intro-active .nav-container {
    opacity: 0;
    animation: fadeInContent 0.8s ease 3.5s forwards;
}

.hero-intro .hero-bg {
    opacity: 0;
    animation: fadeInBg 1.5s ease forwards;
}

.hero-intro .hero-overlay {
    opacity: 0;
    animation: fadeInBg 1.5s ease forwards;
}

.hero-intro .hero-icon {
    opacity: 0;
    transform: scale(3) translateY(20%);
    animation: iconEntrance 2s ease 0.8s forwards;
}

.hero-intro .hero-content h1,
.hero-intro .hero-subtitle,
.hero-intro .hero-tagline,
.hero-intro .hero-buttons {
    opacity: 0;
    transform: translateY(20px);
}

.hero-intro .hero-content h1 {
    animation: fadeInContent 0.8s ease 2.9s forwards;
}

.hero-intro .hero-tagline {
    animation: fadeInContent 0.8s ease 3.2s forwards;
}

.hero-intro .hero-subtitle {
    animation: fadeInContent 0.8s ease 3.5s forwards;
}

.hero-intro .hero-buttons {
    animation: fadeInContent 1.5s ease 4.2s forwards;
}

.hero-intro .scroll-indicator {
    opacity: 0;
    animation: fadeInContent 0.8s ease 3.8s forwards;
}

@keyframes fadeInBg {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes iconEntrance {
    0% {
        opacity: 0;
        transform: scale(3) translateY(20%);
    }
    40% {
        opacity: 1;
        transform: scale(3) translateY(20%);
    }
    55% {
        opacity: 1;
        transform: scale(3) translateY(20%);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInContent {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle Return Visit Animation */
.hero-quick .hero-icon {
    opacity: 0;
    animation: fadeInQuick 0.6s ease 0.1s forwards;
}

.hero-quick .hero-content h1 {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInContentQuick 0.5s ease 0.4s forwards;
}

.hero-quick .hero-tagline {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInContentQuick 0.5s ease 0.6s forwards;
}

.hero-quick .hero-subtitle {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInContentQuick 0.5s ease 0.8s forwards;
}

.hero-quick .hero-buttons {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInContentQuick 1.0s ease 1.3s forwards;
}

.hero-quick .scroll-indicator {
    opacity: 0;
    animation: fadeInQuick 0.5s ease 0.9s forwards;
}

@keyframes fadeInQuick {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInContentQuick {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Promo Section (Homepage) */
.blog-promo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.blog-promo-intro {
    padding: 2rem 0;
}

.blog-promo-intro h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold-warm);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.blog-promo-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--silver-light);
}

.blog-promo-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-promo-post {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-promo-post:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-warm);
    transform: translateY(-2px);
}

.blog-promo-post-image {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: var(--teal-dark);
    border-radius: 4px;
}

.blog-promo-post-content h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold-warm);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-promo-post-date {
    font-size: 0.85rem;
    color: var(--silver);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.blog-promo-post-excerpt {
    font-size: 0.95rem;
    color: var(--silver-light);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 968px) {
    .blog-promo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-promo-intro {
        text-align: center;
        padding: 0;
    }

    .blog-promo-intro h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 768px) {
    .blog-promo-post {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
    }

    .blog-promo-post-image {
        width: 100px;
        height: 100px;
    }
}

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

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

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