/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: #0d1618;
    color: #f5f5f5;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Redesigned Bleeding-Edge Texture Overlay Implementation */
.layered-bg {
    position: relative;
    background-color: #111a1c;
    /* Generates a dark, organic multi-tonal wave and tiki vector matrix texture */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(148, 210, 189, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 75% 70%, rgba(0, 95, 115, 0.06) 0%, transparent 50%),
        linear-gradient(30deg, rgba(14, 20, 22, 0.3) 12%, transparent 12.5%, transparent 87%, rgba(14, 20, 22, 0.3) 87.5%),
        linear-gradient(150deg, rgba(14, 20, 22, 0.3) 12%, transparent 12.5%, transparent 87%, rgba(14, 20, 22, 0.3) 87.5%),
        /* Floating subtle mask/wave vectors texture */
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI3MCIgdmlld0JveD0iMCAwIDQwIDcwIj48cGF0aCBkPSJNMjAgMjVDMTUgMTUgNSAxNSAwIDEwQzAgNSAxMCAwIDIwIDBDMzAgMCA0MCA1IDQwIDEwQzQwIDE1IDMwIDE1IDIwIDI1WiBNMjAgNjVDMjAgNzAgMzAgNzAgNDAgNjVDNDAgNjAgMzAgNjAgMjAgNjVWiIgZmlsbD0icmdiYSgwLDk1LDExNSwwLjA1KSIvPjwvc3ZnPg==');
    background-size: 100% 100%, 100% 100%, 40px 70px, 40px 70px, 40px 70px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

/* Header & Nav Styling FIXES (Perfect Circle Logo) */
header {
    background-color: rgba(14, 20, 22, 0.96);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #005f73;
    backdrop-filter: blur(5px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
.brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-text {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.8rem;
    color: #94d2bd;
}
.logo-circle-frame {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #005f73;
    background-color: rgba(0,0,0,0.2); /* Slight fill */
    box-shadow: 0 0 10px rgba(148, 210, 189, 0.3);
}
.nav-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Fills concentric perfectly */
    display: block;
}
nav a {
    color: #f5f5f5;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}
nav a:hover {
    color: #ee9b00;
}

/* Hero Section (Redesigned Splash Illustration) */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    /* Redesigned illustrative hero splash */
    background-image: 
        linear-gradient(rgba(14, 20, 22, 0.8), rgba(14, 20, 22, 0.6)),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAwIiBoZWlnaHQ9IjkwMCIgdmlld0JveD0iMCAwIDE2MDAgOTAwIj48cGF0aCBkPSJNODAwIDEwMEM4NTAgMTUwIDk1MCAxNTAgMTAwMCAxMDBDMTUwMCAxMDAgMTYwMCAyMDAgMTYwMCAzMDBDMTYwMCA0MDAgMTUwMCA1MDAgMTAwMCA1MDNDOTUwIDU1MCA4NTAgNTUwIDgwMCA1MDNDMzAwIDUwMCAyMDAgNDAwIDIwMCAzMDBDIDIwMCAyMDAgMzAwIDEwMCA4MDAgMTAwWiIgZmlsbD0icmdiYSgxNDgsMjEwLDE4OSwwLjEpIi8+PC9zdmc+');
    background-blend-mode: multiply;
}
.hero-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 5.5rem;
    color: #fdf0d5;
    text-shadow: 4px 4px 0px #ae2012;
    margin-bottom: 10px;
}
.hero-content .tagline {
    font-size: 1.8rem;
    color: #94d2bd;
    margin: 10px 0;
    font-weight: 300;
}
.hero-content .sub-tag {
    font-style: italic;
    color: #ee9b00;
    margin-bottom: 35px;
}
.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: #ae2012;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background 0.3s;
}
.btn:hover {
    background-color: #ca6702;
}

/* Section Globals */
section {
    padding: 110px 20px 70px 20px;
    max-width: 100% !important;
    border-bottom: 1px solid #162427;
}
.section-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #94d2bd;
    text-transform: uppercase;
    text-align: center;
}
.section-subtitle {
    font-style: italic;
    color: #a8dadc;
    margin-bottom: 40px;
    text-align: center;
}
.centered-desc {
    max-width: 800px;
    margin: 0 auto 25px auto;
    text-align: center;
}

/* Chalkboard Tap List */
.chalkboard {
    background: #1c1c1c;
    border: 8px solid #3a2212;
    border-radius: 4px;
    max-width: 600px;
    margin: 0 auto 50px auto;
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.tap-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #444;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
}
.tap-number { color: #ee9b00; margin-right: 15px; }
.tap-name { flex-grow: 1; text-align: left; color: #fff; }
.tap-status { color: #94d2bd; }
.coming-soon { opacity: 0.4; font-style: italic; }
.coming-soon .tap-status { color: #ae2012; }

/* Rum Vault Grid (Interactive Bounce & Fixed Sizing) */
.rum-vault h3 { margin-bottom: 20px; color: #ee9b00; font-size: 1.8rem; text-transform: uppercase; text-align: center; }
.rum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.rum-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rum-wrapper {
    width: 100%;
    height: 240px; /* target fixed height grid space */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: rgba(0,0,0,0.2);
    border-radius: 8px;
    border: 2px solid #005f73;
}
.rum-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Proportional sizing fix for Coconuty */
}

/* Rum Bounce & Glow Animation */
.interactive-rum:hover .rum-wrapper {
    animation: rumBounce 0.5s;
    box-shadow: 0 0 15px rgba(148, 210, 189, 0.4);
    border-color: #94d2bd;
}
@keyframes rumBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.rum-card h4 {
    margin-top: 12px;
    color: #a8dadc;
    font-size: 1.1rem;
    text-align: center;
}

/* Menu Section */
.menu-section { background-color: #0e1517; }
.mood-quote {
    max-width: 700px;
    margin: 0 auto 50px auto;
    background: #162225;
    padding: 25px;
    border-radius: 6px;
    border-left: 4px solid #ee9b00;
}
.mood-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: #fdf0d5;
}
.quote-author {
    text-align: right;
    font-weight: bold;
    color: #94d2bd;
    margin-top: 10px;
}
.menu-featured h3 {
    color: #ee9b00;
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}
.menu-event-name {
    font-size: 1.2rem;
    color: #a8dadc;
    margin-bottom: 25px;
    font-weight: bold;
    text-align: center;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.menu-card {
    background: #162225;
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid #ae2012;
    text-align: left;
}
.menu-card h3 { color: #fff; margin-bottom: 12px; font-size: 1.4rem; text-transform: uppercase; }

/* Events Section */
.events-section { max-width: 100%; }
.featured-event {
    background: #162c3d;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 0 auto 50px auto;
    max-width: 900px;
    border: 2px solid #005f73;
    text-align: center;
}
.event-subheading {
    font-family: 'Permanent Marker', cursive;
    color: #ee9b00;
    font-size: 1.5rem;
    margin: 10px 0;
}
.badge {
    display: inline-block;
    background: #e63946;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.event-date {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #94d2bd;
    margin-bottom: 15px;
}
.event-desc { max-width: 800px; margin: 0 auto; }
.video-container {
    max-width: 700px;
    margin: 30px auto 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
video { width: 100%; display: block; }

/* Timeline History (Updated Timeline Anchors) */
.past-events {
    text-align: left;
    max-width: 750px;
    margin: 0 auto;
}
.past-events h3 { text-align: center; margin-bottom: 30px; color: #a8dadc; font-size: 1.6rem; text-transform: uppercase;}
.timeline {
    border-left: 3px solid #005f73;
    padding-left: 20px;
    margin-left: 10px;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.timeline-item::before {
    content: '⚓';
    position: absolute;
    left: -29px;
    top: -2px;
    background: #111a1c; /* matches layered-bg */
    font-size: 1.1rem;
    display: block;
}
.timeline-date {
    font-size: 0.85rem;
    font-weight: bold;
    color: #ee9b00;
    text-transform: uppercase;
}
.timeline-item h4 { color: #fff; margin: 3px 0 8px 0; font-size: 1.3rem;}

/* The Proprietors Profile Alignment FIXES (Kelly Head Cutoff) */
.proprietors-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.profile-card { 
    width: 280px; 
    text-align: center;
}
.avatar-container {
    width: 100%;
    height: 380px; /* Lock bounding box height identical for Chris/Kelly */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Ground bottoms to align both */
    overflow: hidden; /* clean boundary */
    border-radius: 12px;
    border: 3px solid #005f73;
    background-color: #162225;
    margin-bottom: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    /* internal padding to prevent illustration edges from touching boundary */
    padding: 20px;
}
.centered-grounded {
    text-align: center;
}
.stylized-avatar {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Prevents character warping or compression */
    display: block;
}
.align-bottom {
    vertical-align: bottom;
}
.profile-card h3 { 
    color: #fff; 
    font-size: 1.6rem;
    margin-top: 5px;
}
.profile-role { 
    color: #94d2bd; 
    font-style: italic;
    font-size: 1rem;
    margin-top: 2px;
}

/* Footer */
footer {
    background: #080d0e;
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #162427;
    color: #555;
}
footer strong { color: #777; }

/* Responsive Viewports */
@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .nav-container { flex-direction: column; gap: 15px; }
    nav a { margin: 0 10px; }
}