@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Quicksand:wght@300..700&display=swap');

/* --- Standard Solid Button --- */
.btn-standard {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* Emberwick orange */
    color: #2e2e2e;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 24px;
    border: none;
    border-radius: 2px; /* Matches the slightly rounded look of your grid */
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover Effect */
.btn-standard:hover {
    background-color: #ffffff; /* Darker orange on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 10px #2e2e2e; /* Soft orange glow */
    color: #2e2e2e;
}


.p-style1 {
    /* 1. Font Face (Typeface) */
    font-family: "Open Sans", sans-serif;
    
    /* 2. Font Size */
    font-size: 24px; 
    
    /* 3. Font Weight (400 is standard normal, 700 is bold) */
    font-weight: 700; 
    
    /* 4. Font Color */
    color: #ffffff; 
    
    /* Recommended extras for good readability */
    line-height: 1.6; 
    margin-bottom: 1.25rem; 
}

.p-style2 {
    /* 1. Font Face (Typeface) */
    font-family: "Open Sans", sans-serif;
    
    /* 2. Font Size */
    font-size: 16px; 
    
    /* 3. Font Weight (400 is standard normal, 700 is bold) */
    font-weight: 400; 
    
    /* 4. Font Color */
    color: #ffffff; 
    
    /* Recommended extras for good readability */
    line-height: 1.6; 
    margin-bottom: 1.25rem; 
}

.p-style3 {
    /* 1. Font Face (Typeface) */
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    
    /* 2. Font Size */
    font-size: 16px; 
    
    /* 3. Font Weight (400 is standard normal, 700 is bold) */
    font-weight: 400; 
    
    /* 4. Font Color */
    color: #333333; 
    
    /* Recommended extras for good readability */
    line-height: 1.6; 
    margin-bottom: 1.25rem; 
}



*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-background: #C62828;
    --color-foreground: #fff;
}

/* Modal Overlay - Greys out background 50% */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% opacity black */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal Content Box */
.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease-out;
}

/* Close 'X' Button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-close:hover {
    color: #ea580c;
}

/* Header 2 Link adjustment to maintain button look */
a.btn-header2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Basic body styling */
body {
    background-color: #ffffff; 
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container for the social icons */
.social-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px; 
    margin-top: 8px; 
    margin-bottom: 16px; 
}

/* Individual social button styling */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background-color: #292524; 
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
    text-decoration: none;
}

.social-btn svg {
    width: 20px; 
    height: 20px;
    fill: currentColor;
}

/* Hover effects */
.social-btn:hover {
    background-color: #292524; 
    color:  #ffffff;
    transform: translateY(-4px); 
}

/* Accessibility helper to hide text but keep it for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Page Wrapper --- */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 15px; 
    box-sizing: border-box;
    width: 100%;
    flex-grow: 1;
}

/* --- Header Section --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px; 
    flex-wrap: wrap; 
    gap: 20px; 
}

.logo-container img {
    max-height: 100px; 
    display: block;
    width: auto; 
    max-width: 100%;
}

.header-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 15px; 
}

.social-icons-group,
.action-buttons-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 9.5pt;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 19px;
    border-radius: 9999px; 
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-header1 {
    background: linear-gradient(45deg, #8A2BE2, #BA55D3);
    border-radius: 0;
}

.btn-header2 {
    background: linear-gradient(45deg, #ff1361, #ff7e5f);
    border-radius: 0;
}

/* --- NEW NAVIGATION SECTION --- */
.containermenu {
    display: flex;
    justify-content: center; 
    width: 100%; 
    padding: 0; 
    margin-top: 10px; /* Adjust this number to increase/decrease the space */
}

.menunew {
    --bg-color: #292524; 
    background: var(--bg-color);
    width: 100%; /* Spans the entire width */
    position: relative; /* Anchor for mobile dropdown */
    z-index: 40;
}

.menunew ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: inherit;
    display: flex;
    justify-content: center; /* Centers the menu items */
    align-items: baseline;   /* Forces text to sit level at the bottom */
    filter: url("#goo"); 
    width: 100%;
}

.menunew ul li {
    display: inline-block;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    position: relative;
    background: var(--bg-color);
    color: #fff;
    font-weight: 600;
}

.menunew ul li::after {
    content: "";
    background: var(--bg-color);
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    transition: all 0.25s ease-in-out;
    z-index: -1;
    top: 0;
    left: 0;
}

/* Hover AND Active States */
.menunew ul li:hover,
.menunew ul li.active {
    color: #ffffff;
}

.menunew ul li:hover::after,
.menunew ul li.active::after {
    transform: translate(0, -20px);
}

.menunew ul li a {
    color: inherit;
    text-decoration: none;
    display: block; 
    width: 100%;
    height: 100%;
    user-select: none;             /* Prevents the text from being highlighted */
    -webkit-user-select: none;     /* Does the same for Safari/iOS */
    caret-color: transparent;      /* Makes the flashing vertical line invisible */
    -webkit-tap-highlight-color: transparent; /* Removes the grey tap box on mobile */
}

/* Hover AND Active States */
.menunew ul li:hover,
.menunew ul li.active {
    color: #ffffff;
    /*text-shadow: 0 1px 2px #fff;*/
}

/* Increases font size specifically for the active tab */
.menunew ul li.active {
    font-size: 1.35rem; 
}

/* --- Hamburger Button Styles --- */
.hamburger {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    margin-left: auto; 
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

/* --- Mobile Menu Media Query --- */
@media (max-width: 768px) {
    .menunew {
        display: flex;
        justify-content: flex-end; 
    }

    .hamburger {
        display: block; 
    }
    
    .menunew ul {
        flex-direction: column;
        align-items: stretch; 
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-color);
        filter: none; 
        display: none; 
    }
    
    .menunew ul.open {
        display: flex; 
    }

    .menunew ul li {
        text-align: center;
        width: 100%;
        display: block;
        padding: 15px 0;
        border-top: 1px solid rgba(255,255,255,0.1); 
    }
    
    .menunew ul li:hover::after,
    .menunew ul li.active::after {
         transform: none; 
         background: rgba(0, 0, 0, 0.1); 
    }
    
    .hamburger.is-active .bar:nth-child(2) { opacity: 0; }
    .hamburger.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --- Main Content Section --- */
.main-content {
    padding: 0;
    min-height: 70vh;
    background-image: url('https://sparklightstage.org/underc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- Footer Section --- */
.site-footer {
    background-color: #0c0a09;
    color: #FAF9F6;
    padding: 40px 0 0;
    font-weight: 400;
    font-size: 11pt;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-main {
    display: grid;
    /* Changed from 3fr 1fr so the two columns split the space 50/50 */
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
    padding-bottom: 30px;
}

.footer-col h4 {
    color: #FAF9F6;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 13pt;
    text-transform: uppercase;
}

.footer-heading-orange {
    color: #ffffff !important;
}

.footer-col-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.contact-line {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.contact-icon {
    width: 16px;
    height: 16px;
    fill: #FAF9F6;
}
.address-block {
    margin-top: 25px; 
}
.address-block p {
    margin: 0 0 5px;
}
.address-indented {
    padding-right: 26px; 
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a, .footer-col .text-link {
    color: #FAF9F6;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-col ul a:hover, .footer-col .text-link:hover {
    opacity: 0.8;
}

.contact-line a, .social-media-list a, .venue-location a {
    color: #FAF9F6;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex; 
    align-items: center;
    gap: 10px;
}
.contact-line a:hover,
.contact-line a:active,
.social-media-list a:hover,
.social-media-list a:active,
.venue-location a:hover,
.venue-location a:active {
    color: #e7a7ff; /* Pale yellow */
}
.social-media-list a:hover .social-list-icon,
.social-media-list a:active .social-list-icon {
    fill: #5DADE2;
}
.social-media-list a:hover .instagram-icon,
.social-media-list a:active .instagram-icon {
    stroke: #5DADE2;
    fill: none;
}

.mailing-list-info {
    margin-bottom: 15px;
}
.mailing-list-info .intro-text {
    margin: 0 0 8px;
    line-height: 1.5;
    font-size: 13pt;
    font-weight: 800;
}
.benefit-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    line-height: 1.5;
}
.plus-icon {
    color: #CC5500; 
    font-size: 14pt;
    font-weight: 800;
    line-height: 1.3;
}

.footer-bottom {
    padding: 15px 0;
    border-top: 1px solid #444444;
    text-align: center;
    font-size: 10pt;
    color: #FAF9F6;
}

.venue-location {
    margin-bottom: 20px;
}
.venue-location p {
    margin: 0 0 5px;
}
.venue-location .contact-line {
    justify-content: flex-start;
}
.venue-address-line {
    padding-left: 26px;
}

.social-media-section {
    margin-top: auto;
    padding-top: 25px; 
}

.social-list-icon {
    width: 18px;
    height: 18px;
    fill: #FAF9F6;
    transition: fill 0.2s ease, stroke 0.2s ease;
}
.social-list-icon.instagram-icon {
    fill: none;
    stroke: #FAF9F6;
}

/* --- Media Queries --- */
@media (max-width: 1040px) {
    .site-header {
        flex-direction: column;
        justify-content: center;
    }
    .footer-links-grid {
        grid-template-columns: 1fr; /* Stacks the links vertically on mobile */
        gap: 20px;
    }
    .header-buttons {
        width: 100%;
        align-items: center; 
    }

    .nav-container {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 20px;
    }
    nav ul li {
        margin: 8px 0;
    }
    nav ul li a {
        width: fit-content;
        margin: 0 auto;
    }
    
    .js-enabled .nav-toggle {
        display: block;
    }
    
    .js-enabled nav ul {
        padding-top: 60px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }
    .js-enabled.nav-open nav ul {
        max-height: 1000px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-col,
    .footer-col-right {
        text-align: center;
    }
    .footer-col-right .contact-line,
    .venue-location .contact-line,
    .social-media-list a,
    .benefit-line {
        justify-content: center;
    }
    .address-indented {
        padding-right: 0;
    }
}

/* --- Footer Link Lists & Icons --- */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-link-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list ul li {
    margin-bottom: 12px;
}

.footer-link-list a {
    color: #FAF9F6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Hover slide effect for links */
.footer-link-list a:hover {
    color: #e7a7ff; /* Pale yellow */
    transform: translateX(5px);
}

.link-icon {
    width: 20px;
    height: 20px;
    fill: #b34fd5; /* Changed to purple */
    transition: fill 0.2s ease;
}

.footer-link-list a:hover .link-icon {
    fill: #b34fd5; /* Keeps the icon purple on hover */
}

/* --- Tapered Line & Copyright --- */
.footer-bottom-section {
    width: 100%;
    padding-bottom: 20px;
}

.tapered-line {
    border: 0;
    height: 1px;
    /* This linear-gradient tapers the line on both ends */
    background: linear-gradient(to right, transparent, #555555, transparent);
    margin: 10px 0 20px 0;
}

.copyright-text {
    text-align: center;
    color: #a8a29e; /* Muted stone color */
    font-size: 10pt;
    margin: 0;
}

/* Stories that Spark*/
.banner-container {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.banner-content {
    position: relative;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.banner-header {
    position: relative;
    background-color: #1c1917; 
    color: #fafaf9;            
    overflow: hidden;          
}

.banner-glow-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;              
    pointer-events: none;      
}

.banner-glow-orange {
    position: absolute;
    top: 0;
    left: -25%;                
    width: 50%;                
    height: 100%;              
    background-color: #ea580c; 
    filter: blur(120px);       
    border-radius: 9999px;     
    mix-blend-mode: screen;    
}

.banner-glow-red {
    position: absolute;
    bottom: 0;
    right: -25%;               
    width: 50%;                
    height: 100%;              
    background-color: #b91c1c; 
    filter: blur(120px);       
    border-radius: 9999px;     
    mix-blend-mode: screen;    
}

.banner-icon {
    height: 4rem;              
    width: 4rem;               
    color: #f97316;            
    margin-bottom: 1.5rem;     
    opacity: 0.8;              
}

.banner-title {
    font-size: 2.25rem;        
    line-height: 2.5rem;
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; 
    font-weight: 700;          
    letter-spacing: -0.025em;  
    margin-bottom: 1.5rem;     
    margin-top: 0;
}

.banner-title-highlight {
    color: #fb923c;            
}

.banner-description {
    margin-top: 1rem;          
    font-size: 1.125rem;       
    line-height: 1.625;        
    color: #d6d3d1;            
    max-width: 42rem;          
    font-weight: 300;          
    margin-bottom: 2.5rem;     
}

.banner-button {
    display: inline-block;
    background-color: #ea580c; 
    color: #ffffff;            
    padding: 0.75rem 2rem;     
    border-radius: 0.125rem;   
    font-weight: 500;          
    text-decoration: none;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); 
}

.banner-button:hover {
    background-color: #c2410c; 
}

@media (min-width: 640px) {
    .banner-content {
        padding-left: 1.5rem;  
        padding-right: 1.5rem; 
    }
    .banner-title {
        font-size: 3rem;       
        line-height: 1;
    }
    .banner-description {
        font-size: 1.25rem;    
        line-height: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .banner-content {
        padding-top: 8rem;     
        padding-bottom: 8rem;  
        padding-left: 2rem;    
        padding-right: 2rem;   
    }
    .banner-title {
        font-size: 4.5rem;     
        line-height: 1;
    }
}

/* RIBBON RED */
.container {
    height: 100dvh;
    width: 100dvw;
    display: grid;
    place-items: center;
}

.ribbon {
    position: relative;
    text-align: center;
    background: var(--color-background);
    color: var(--color-foreground);
    font-family: "Playfair Display", serif;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 0.6rem 2rem;
}

.ribbon:before,
.ribbon:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -0.5rem;
    border: 1rem solid var(--color-background);
    z-index: -1;
    filter: brightness(0.85);
}

.ribbon:before {
    left: -1.6rem;
    border-right-width: 1.5rem;
    border-left-color: transparent;
}

.ribbon:after {
    right: -1.6rem;
    border-left-width: 1.5rem;
    border-right-color: transparent;
}

.ribbon .ribbon-content:before,
.ribbon .ribbon-content:after {
    content: "";
    position: absolute;
    display: block;
    border-style: solid;
    border-color: var(--color-background) transparent transparent transparent;
    bottom: -0.5rem;
    filter: brightness(0.6);
}

.ribbon .ribbon-content:before {
    left: 0;
    border-width: 0.5rem 0 0 0.9rem;
}

.ribbon .ribbon-content:after {
    right: 0;
    border-width: 0.5rem 0.9rem 0 0;
}

/* CSS GRID */

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    
    /* CHANGE THIS LINE */
    grid-auto-rows: minmax(200px, auto); 
    
    gap: 20px;
    padding: 20px 0;
}

.grid-item {
    background-color: #ffffff;
    border: 0px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 8px;
}

/* Modifier to align grid item content from the top down */
.top-align {
    flex-direction: column;      /* Stacks multiple text elements vertically */
    justify-content: flex-start; /* Pushes the content to the top */
    align-items: flex-start;     /* Aligns text to the left (use 'center' if you want top-middle) */
    padding: 20px;               /* Gives the text breathing room from the edges */
}

.tall { grid-row: span 2; }
.wide { grid-column: span 2; }
.large { grid-column: span 2; grid-row: span 2; }
/* 100% Full Width: Spans from the first track line to the last */
.full-width { 
    grid-column: 1 / -1; 
}

/* Full Width & Tall (Banner style): Spans 100% width and 2 rows height */
.full-banner { 
    grid-column: 1 / -1; 
    grid-row: span 2; 
}

/* Extra Wide: Spans 3 columns (Useful for wider screens) */
.extra-wide { 
    grid-column: span 3; 
}

/* Extra Tall: Spans 3 rows */
.extra-tall { 
    grid-row: span 3; 
}

/* Dark Theme Box */
.bg-dark {
    background-color: #292524; 
    color: #ffffff; /* Changes text to white so it's readable */
}

/* Orange Brand Box */
.bg-orange {
    background-color: #ea580c;
    color: #ffffff;
}

/* Light Accent Box */
.bg-light-grey {
    background-color: #f5f5f4;
    color: #333333;
}

@media (max-width: 768px) {
    /* Reset all column-spanning items to 1 column on mobile */
    .wide, 
    .large, 
    .extra-wide { 
        grid-column: span 1; 
    }
    
    /* .full-width and .full-banner naturally span the 1 available column, 
       so they don't strictly need resetting, but you can leave them alone. */
    
    .grid-container { 
        grid-template-columns: 1fr; 
        grid-auto-rows: auto; 
    }
}

@media (max-width: 768px) {
    .menunew {
        display: flex;
        justify-content: flex-end; 
    }

    /* ... */
    
    .menunew ul {
        flex-direction: column;
        align-items: stretch; /* <-- ADD THIS: Resets alignment so mobile links span full width */
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-color);
        filter: none; 
        display: none; 
        /*box-shadow: 0 5px 5px -5px #555;*/
    }
    
    /* ... */
}