/*
Theme Name: EarthbreakDesigns Base
Author: EarthbreakDesigns
Description: Base theme for TW
Version: 2.3
*/

:root {
  
  /* --- BRAND --- */
  /* Main action colors (Buttons, bold highlights). Mapped to Tailwind orange-900 and orange-800 */
  --brand-primary: #7c2d12; 
  --brand-primary-light: #9a3412; /* Used for hover states */
  --brand-on-primary: #ffffff;
  
   
  /* --- PAGE --- */
 
  --brand-secondary: #1c1917; 
  
  --brand-bg: #fdfcfb; 
  --brand-bg-alt: #fafaf9; 
  --brand-bg-warm: #fff7ed;

  /* --- TEXT & BORDERS --- */
  /* The custom deep espresso/charcoal used for base text */
  --text-main: #2d2926; 
  
  /* Reading text for paragraphs. Mapped to stone-600 */
  --text-body: #57534e; 
  
  /* Mapped to stone-400 & stone-500 for secondary info and dark-mode text */
  --text-muted: #78716c; 
  
  /* Soft borders used for cards and layout dividers. Mapped to stone-100 & stone-200 */
  --border-color: #f5f5f4; 
  --border-color-darker: #e7e5e4;

  /* --- HEADER (NAVBAR) --- */
  --header-bg: rgb(96, 12, 200); /* Uses backdrop blur in design */
  --header-text: #7c2d12; /* Matches brand-primary */
  --header-text-muted: #57534e;
 

 /* --- GLOBAL BORDER RADIUS --- */
  /* The design uses heavily rounded, premium pill-like shapes */
  --radius-sm: 0.5rem;      /* rounded */
  --radius-main: 1.5rem;    /* rounded-2xl (used for standard cards) */
  --radius-lg: 3rem;        /* rounded-[3rem] (used for large image sections/feature boxes) */
  --radius-pill: 9999px;    /* rounded-full (used for buttons and badges) */
}
 
  /* --- HEADER Menu  --- */
.topmostbar{
  background-color: var(--brand-primary);
  color:var(--brand-on-primary);
}
.site-menu{
  background-color: var(--brand-bg);
}
.site-footer{
  background-color: var(--brand-secondary);
}
/* --- CORE --- */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  background-color: var(--brand-bg);
}
.font-serif { font-family: 'Playfair Display', serif; }
::selection {
  background-color: var(--brand-primary);
  color: var(--brand-on-primary);
}

/* --- ANIMATIONS --- */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-bounce-slow { animation: bounce-slow 4s ease-in-out infinite; }

@keyframes pulse-subtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
.animate-pulse-subtle { animation: pulse-subtle 3s ease-in-out infinite; }


/* ============================================
   EBD LAYOUT & NAV
   ============================================ */

.ebd-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- TOPBAR --- */
.ebd-topbar {
     display: block;
    background-color: var(--brand-primary);
    
    border-bottom: 1px solid var(--border-color);
}
@media (min-width: 768px) {
    .ebd-topbar { display: block; }
}
.ebd-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
   color:var(--brand-on-primary);
}
.ebd-topbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.ebd-topbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ebd-topbar-item i { color: var(--brand-primary); }
.ebd-topbar-link {
    color: var(--topbar-text);
    text-decoration: none;
    transition: color 0.2s;
}
.ebd-topbar-link:hover { color: var(--brand-primary-light); }

.ebd-topbar-desktop { display: none; }
.ebd-topbar-mobile  { display: block; text-align: center; width: 100%; }

@media (min-width: 768px) {
    .ebd-topbar-desktop { display: flex; }
    .ebd-topbar-mobile  { display: none; }
}

/* --- NAVBAR --- */
.ebd-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.ebd-navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.ebd-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 4rem;
}
.ebd-logo img {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
}
.ebd-logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--brand-secondary);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- DESKTOP NAV --- */
.ebd-nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}
@media (min-width: 768px) {
    .ebd-nav-desktop { display: flex; }
}
.ebd-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ebd-nav-menu li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #57534e;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.ebd-nav-menu li a:hover { color: var(--brand-primary); }
.ebd-nav-btn {
    flex-shrink: 0;
    background-color: var(--brand-primary);
    color: var(--brand-on-primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.ebd-nav-btn:hover {
    background-color: var(--brand-primary-light);
    transform: scale(1.05);
}

/* --- HAMBURGER --- */
.ebd-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #44403c;
    font-size: 1.5rem;
    transition: background-color 0.2s;
}
.ebd-hamburger:hover { background-color: #f5f5f4; }
@media (min-width: 768px) {
    .ebd-hamburger { display: none; }
}


 /* --- MOBILE MENU --- */
.ebd-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}
.ebd-mobile-menu.is-open { display: flex; }

.ebd-mobile-close:hover { background-color: #f5f5f4; }

/* Nav wrapper */
.ebd-mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Parent items */
.ebd-mobile-nav > li {
    width: 100%;
    border-bottom: 1px solid #f5f5f4;
}

.ebd-mobile-nav > li > a {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c1917;
    text-decoration: none;
    padding: 1rem 0;
    transition: color 0.2s;
}
.ebd-mobile-nav > li > a:hover { color: var(--brand-primary); }

/* Sub-menu */
.ebd-mobile-nav .sub-menu {
    list-style: none;
    margin: 0 0 0.75rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--brand-primary);
    margin-left: 0.25rem;
}

.ebd-mobile-nav .sub-menu li a {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #78716c;
    text-decoration: none;
    padding: 0.45rem 0 0.45rem 1rem;
    transition: color 0.2s;
}
.ebd-mobile-nav .sub-menu li a:hover {
    color: var(--brand-primary);
}

/* CTA button */
.ebd-mobile-btn {
    width: 100%;
    background-color: var(--brand-primary);
    color: var(--brand-on-primary);
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-top: 1.5rem;
    display: block;
}
.ebd-mobile-btn:hover { background-color: var(--brand-primary-light); }

/* ============================================
   EBD FOOTER
   ============================================ */

.ebd-footer {
    background-color: var(--brand-secondary);
    color: #ffffff;
    padding-top: 6rem;
    padding-bottom: 7rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}
@media (min-width: 768px) {
    .ebd-footer { padding-bottom: 3rem; }
}
.ebd-footer-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: var(--brand-primary);
    opacity: 0.08;
    filter: blur(150px);
    border-radius: 9999px;
    pointer-events: none;
}
.ebd-footer-inner { position: relative; z-index: 1; }
.ebd-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (min-width: 768px) {
    .ebd-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .ebd-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; }
}
.ebd-footer-logo {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.3s;
    margin-bottom: 1.5rem;
    display: block;
}
.ebd-footer-logo:hover { filter: grayscale(0); }
.ebd-footer-logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 1.5rem;
}
.ebd-footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.ebd-footer-social {
    display: flex;
    gap: 0.75rem;
}
.ebd-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s;
}
.ebd-social-link:hover {
    background-color: var(--brand-primary);
    color: var(--brand-on-primary);
    border-color: transparent;
    transform: scale(1.1);
}
.ebd-footer-heading {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.ebd-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ebd-footer-nav li a,
.ebd-footer-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}
.ebd-footer-nav li a:hover,
.ebd-footer-nav a:hover {
    color: var(--brand-primary);
    transform: translateX(4px);
}
.ebd-footer-cta-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}
.ebd-footer-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s;
}
.ebd-footer-cta-link:hover { color: #ffffff; }
.ebd-footer-cta-link i { transition: transform 0.2s; }
.ebd-footer-cta-link:hover i { transform: translateX(4px); }
.ebd-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 768px) {
    .ebd-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
.ebd-footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    font-weight: 500;
}
.ebd-footer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.3);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.2em;
}
.ebd-footer-credit i { color: var(--brand-primary); opacity: 0.5; }
 

.ebd-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 5rem 2rem 2rem 2rem;  /* top padding makes room for close button */
}

.ebd-mobile-close {
    position: fixed;   /* change from absolute to fixed */
    top: 1.25rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: none;
    background: #f5f5f4;
    cursor: pointer;
    font-size: 1.5rem;
    color: #57534e;
    transition: background-color 0.2s;
    z-index: 81;   /* above the menu */
}

.ebd-mobile-promo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--brand-primary);
    color: var(--brand-on-primary);
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.5rem;
    z-index: 62;
}


/* --- TOPBAR TEXT & LINKS --- */
 
.ebd-topbar-link:hover { color:#fff; text-decoration:underline; }

/* --- FOOTER CTA LINK --- */
.ebd-footer-cta-link { text-decoration:underline; color: #ffffff; ; }
.ebd-footer-cta-link:hover {text-decoration:underline; }
