/* ============================================================
   LAKE DAVENPORT SAILING CLUB — CSS REDESIGN v2
   ============================================================
   
   HOW TO INSTALL:
   1. Log in to your WildApricot admin panel
   2. Go to: Website → CSS customization
   3. Paste this entire file into the CSS box
   4. Click Save & Publish
   
   COLOR PALETTE:
   Navy:        #1A3356  (headers, buttons)
   Deep Blue:   #0E1F34  (dark bg, footer)
   Sky Blue:    #3E7BB5  (links, highlights)
   Gold:        #C8973A  (accents, borders, CTAs)
   Cream:       #F8F5F0  (section backgrounds)
   
   TYPOGRAPHY:
   Display:     Cormorant Garamond (elegant serif)
   Body:        DM Sans (clean, readable)
   
   ============================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');


/* ── RESET & BASE ── */
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #2C3340 !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    line-height: 1.7 !important;
    font-size: 16px !important;
    -webkit-font-smoothing: antialiased !important;
}

h1, h2, h3, h4, h5, h6,
.WaGadgetContent h1, .WaGadgetContent h2, .WaGadgetContent h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    color: #1A3356 !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

h1, .WaGadgetContent h1 { font-size: 2.2rem !important; }
h2, .WaGadgetContent h2 { font-size: 1.7rem !important; }
h3, .WaGadgetContent h3 { font-size: 1.3rem !important; }

a {
    color: #3E7BB5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
a:hover {
    color: #1A3356 !important;
    text-decoration: underline !important;
}


/* ── HEADER ── */
#idHeaderContainer,
#idHeaderContent {
    background: linear-gradient(135deg, #1A3356 0%, #0E1F34 100%) !important;
    border-bottom: 3px solid #C8973A !important;
    padding: 0 !important;
}

#idHeaderContent {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 16px 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Logo image in header */
#idHeaderContent img {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(200,151,58,0.4) !important;
    box-shadow: none !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

#idHeaderContent td,
#idHeaderContent th {
    color: #FFFFFF !important;
    border: none !important;
    vertical-align: middle !important;
}

#idHeaderContent b, #idHeaderContent strong {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    color: #FFFFFF !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

/* Tagline text in header */
#idHeaderContent span,
#idHeaderContent p {
    color: #E8B95A !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    display: block !important;
}

#idHeaderContent table {
    border: none !important;
    border-collapse: collapse !important;
}
#idHeaderContent table td { border: none !important; padding: 4px 8px !important; }

/* Log in button */
#idHeaderContent a {
    color: #C8973A !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 8px 18px !important;
    border: 1px solid rgba(200,151,58,0.5) !important;
    border-radius: 3px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}
#idHeaderContent a:hover {
    background-color: #C8973A !important;
    color: #0E1F34 !important;
    text-decoration: none !important;
}


/* ── NAV ── */
.WaGadgetMenuHorizontal {
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07) !important;
    border-bottom: 1px solid #E2E8F0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.WaGadgetMenuHorizontal .menuInner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > span {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #1A3356 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 17px 15px !important;
    display: block !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.selected > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.childSelected > .item > a {
    color: #3E7BB5 !important;
    border-bottom-color: #C8973A !important;
    background-color: transparent !important;
    text-decoration: none !important;
}

/* Dropdown */
.WaGadgetMenuHorizontal .menuInner ul ul {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    padding: 8px 0 !important;
    min-width: 220px !important;
}

.WaGadgetMenuHorizontal .menuInner ul ul > li > .item > a {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #2C3340 !important;
    padding: 10px 20px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-bottom: none !important;
    transition: all 0.15s ease !important;
}

.WaGadgetMenuHorizontal .menuInner ul ul > li > .item > a:hover {
    background-color: #F0F5FA !important;
    color: #1A3356 !important;
    border-bottom: none !important;
}


/* ── MAIN CONTENT ── */
#idContentContainer,
#idPageContentContainer {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 30px !important;
}

.WaGadgetContent {
    padding: 0 !important;
    margin-bottom: 30px !important;
}

.WaGadgetContent img,
#idContentContainer img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    margin: 20px 0 !important;
}

.WaGadgetContent p, #idContentContainer p {
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: #2C3340 !important;
    margin-bottom: 1em !important;
}

.WaGadgetContent a[href^="mailto:"] {
    display: inline-block !important;
    background: linear-gradient(135deg, #C8973A, #A87830) !important;
    color: #FFFFFF !important;
    padding: 11px 26px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.25s ease !important;
    border: none !important;
    text-decoration: none !important;
}
.WaGadgetContent a[href^="mailto:"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(200,151,58,0.35) !important;
    text-decoration: none !important;
}


/* ── SIDEBAR ── */
.WaGadgetMenuVertical .menuInner ul.firstLevel > li > .item > a {
    font-family: 'DM Sans', sans-serif !important;
    color: #1A3356 !important;
    padding: 10px 16px !important;
    border-left: 3px solid transparent !important;
    transition: all 0.2s ease !important;
}
.WaGadgetMenuVertical .menuInner ul.firstLevel > li > .item > a:hover,
.WaGadgetMenuVertical .menuInner ul.firstLevel > li.selected > .item > a {
    border-left-color: #C8973A !important;
    background-color: #F0F5FA !important;
    color: #1A3356 !important;
}


/* ── BUTTONS ── */
input[type="submit"],
input[type="button"],
button,
.btn,
.primaryButton,
.WaGadgetContent .btn,
a.primaryButton {
    background: linear-gradient(135deg, #1A3356 0%, #244B73 100%) !important;
    color: #FFFFFF !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(26,51,86,0.2) !important;
}
input[type="submit"]:hover,
button:hover,
.btn:hover,
.primaryButton:hover {
    background: linear-gradient(135deg, #244B73 0%, #2D5A8A 100%) !important;
    box-shadow: 0 4px 16px rgba(26,51,86,0.3) !important;
    transform: translateY(-1px) !important;
}


/* ── FORMS ── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    padding: 10px 14px !important;
    border: 2px solid #E2E8F0 !important;
    border-radius: 6px !important;
    transition: border-color 0.25s ease !important;
    background-color: #FFFFFF !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: #3E7BB5 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(62,123,181,0.12) !important;
}


/* ── EVENTS GADGET ── */
.WaGadgetEvents .eventList .event {
    border-left: 3px solid #C8973A !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
    background-color: #F8F5F0 !important;
    border-radius: 0 6px 6px 0 !important;
    transition: all 0.2s ease !important;
}
.WaGadgetEvents .eventList .event:hover {
    background-color: #F0F5FA !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07) !important;
    transform: translateX(3px) !important;
}
.WaGadgetEvents .eventList .event .eventName a {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #1A3356 !important;
}
.WaGadgetEvents .eventList .event .eventDate {
    color: #C8973A !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}


/* ── LOGIN & REGISTRATION ── */
.WaGadgetLoginForm,
.WaGadgetMembershipLevelListing,
.WaGadgetRegistrationForm {
    border-radius: 8px !important;
    padding: 30px !important;
    background-color: #F8F5F0 !important;
    border: 1px solid #E2E8F0 !important;
}


/* ── TABLES ── */
.WaGadgetContent table {
    width: 100% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border-collapse: collapse !important;
}
.WaGadgetContent table th {
    background-color: #1A3356 !important;
    color: #FFFFFF !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 12px 16px !important;
    text-align: left !important;
}
.WaGadgetContent table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #E2E8F0 !important;
}
.WaGadgetContent table tr:hover td {
    background-color: #F8F5F0 !important;
}


/* ── BREADCRUMBS ── */
.WaGadgetBreadcrumbs {
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #E2E8F0 !important;
    font-size: 13px !important;
}
.WaGadgetBreadcrumbs a { color: #3E7BB5 !important; }


/* ── BLOG ── */
.WaGadgetBlog .blogItem {
    border-bottom: 1px solid #E2E8F0 !important;
    padding: 24px 0 !important;
}
.WaGadgetBlog .blogItem .blogItemTitle a {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.4rem !important;
    color: #1A3356 !important;
    font-weight: 700 !important;
}
.WaGadgetBlog .blogItem .blogItemDate {
    color: #C8973A !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}


/* ── DONATION ── */
.WaGadgetDonation {
    background-color: #F0F5FA !important;
    border-radius: 8px !important;
    padding: 30px !important;
    border-left: 4px solid #C8973A !important;
}


/* ── FOOTER ── */
#idFooterContainer,
#idFooter {
    background: linear-gradient(135deg, #0E1F34 0%, #1A3356 100%) !important;
    color: #FFFFFF !important;
    padding: 50px 30px 24px !important;
    border-top: 3px solid #C8973A !important;
    margin-top: 60px !important;
}
#idFooterContainer a, #idFooter a {
    color: #E8B95A !important;
    text-decoration: none !important;
}
#idFooterContainer a:hover, #idFooter a:hover {
    color: #F0C875 !important;
    text-decoration: underline !important;
}
#idFooterContainer td, #idFooter td,
#idFooterContainer p, #idFooter p {
    color: rgba(255,255,255,0.6) !important;
    font-size: 14px !important;
}
#idFooterContainer table td, #idFooter table td { border: none !important; }

.poweredByWA, #idFooter .poweredByWA {
    opacity: 0.4 !important;
    font-size: 11px !important;
    margin-top: 20px !important;
}


/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #F8F5F0; }
::-webkit-scrollbar-thumb { background: #C8973A; border-radius: 4px; opacity: 0.5; }
::-webkit-scrollbar-thumb:hover { background: #A87830; }


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    #idHeaderContent { padding: 12px 16px !important; }
    #idContentContainer, #idPageContentContainer { padding: 20px 16px !important; }
    .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a {
        font-size: 11px !important;
        padding: 13px 9px !important;
    }
    h1, .WaGadgetContent h1 { font-size: 1.7rem !important; }
    h2, .WaGadgetContent h2 { font-size: 1.35rem !important; }
}
@media (max-width: 480px) {
    body { font-size: 15px !important; }
    #idFooterContainer, #idFooter { padding: 24px 16px !important; }
}

.club-name-block { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.club-name {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #FFFFFF !important;
  font-size: 1.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
}
.club-tagline {
  color: #E8B95A !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
}

/* Login button — constrain size and push right */
.WaGadgetLoginButton {
  text-align: right !important;
}

.WaGadgetLoginButton a,
.WaGadgetLoginButton .loginButton {
  display: inline-block !important;
  width: auto !important;
  padding: 8px 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #C8973A !important;
  border: 1px solid rgba(200,151,58,0.6) !important;
  border-radius: 3px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
}

.WaGadgetLoginButton a:hover,
.WaGadgetLoginButton .loginButton:hover {
  background: #C8973A !important;
  color: #0E1F34 !important;
}