/**
 * Theme Name: Red Rocker Brewing Co.
 * Description: Blocksy Child theme
 * Author: SlypigPro
 * Template: blocksy
 * Text Domain: blocksy
 */

/* THEME ********************************************************************/

:root {
  --rr-red: rgb(237, 28, 36);
  --rr-darkred: rgb(194, 32, 41);
  --rr-gold: #fdb813;
  --rr-goldlight: rgb(254, 246, 238);
  --rr-dark: rgb(35, 31, 32);
  --rr-grey: rgb(113, 113, 116);


}


/* FONTS *********************************************************************/
@font-face {
  font-display: swap;
  font-family: 'joti-one';
  src: url('fonts/joti-one.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  
}

@font-face {
  font-display: swap;
  font-family: 'Gothic_Unique';
  src: url('fonts/gothic-unique.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat.woff2') format('woff2'); 
}

/* montserrat-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/montserrat-800.woff2') format('woff2'); 
}


/* LAYOUT FIXES (Home) ******************************************************/

body,
p,
li,
a,
span,
button,
input,
textarea {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
}

.home .ct-container-full,
.home .hero-section {
  padding-top: 0 !important;
  padding-bottom : 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box;
}

@media (max-width: 1320px) {
  .ct-header .ct-main-navigation {
    display: none;
  }
  .ct-header .ct-mobile-menu-trigger {
    display: flex;
  }
}


body:not(.home) {
  background-color: var(--rr-darkred);
  /* base color */
  background-image: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0) 60%,
      /* center stays normal */
      rgba(0, 0, 0, 0.5) 100%
      /* edges darkened */
    );
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

h1.page-title {
  font-family: 'Gothic_Unique';
  font-size: clamp(1.8rem, 3vw + 0.8rem, 3.5rem);
}

body.home .menu {
  opacity: 0;
  /* hide menu */
  transition: opacity 0.2s ease;
}

.ct-sticky-container {
  transform: none !important;
  will-change: auto !important;
}

@media (max-width: 1320px) {
  .ct-header [data-device="desktop"] {
    display: none !important;
  }

  .ct-header [data-device="mobile"] {
    display: flex !important;
  }
}

.ct-icon {
  width: 30px !important;
  height: 30px !important;
}



/* BUTTONS **************************************************************************/

.btn,
.forminator-ui .forminator-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0.75em 1.6em !important;

  font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.15rem) !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;

  color: var(--rr-gold) !important;
  background: transparent !important;

  border: 2px solid var(--rr-gold) !important;
  border-radius: 0.45rem !important;

  cursor: pointer !important;
  text-decoration: none !important;

  transition: background .2s ease, color .2s ease, transform .1s ease !important;
}



.btn:hover,
.forminator-ui .forminator-button:hover {
  background: var(--rr-gold) !important;
  color: #fff !important;
}

.btn:active,
.forminator-ui .forminator-button:active {
  transform: translateY(1px) !important;
}

/* AGE CONSENT *************************************************************/



/* Logo at the top */
.age-logo {
  width: 300px;
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

/* Overlay */
.age-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  padding: 20px;
}

/* Popup box */
.age-popup-content {
  background: #111;
  color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Title */
.age-popup-content h2 {
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Buttons */
.age-popup-content button {
  display: inline-block;
  margin: 8px;
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
}

/* Yes button */
#age-yes {
  background: #c62828;
  color: #fff;
}

#age-yes:hover {
  background: #a61f1f;
}

/* No button */
#age-no {
  background: #444;
  color: #fff;
}

#age-no:hover {
  background: #333;
}

/* Fade-in animation */
@keyframes rrFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animation to the popup container */
.age-popup-content {
  animation: rrFadeIn 0.45s ease-out forwards;
}

/* HOME PAGE TITLE  ********************************************************************/

.home .page-title {
  display: none;
}

.hero.siteorigin-panels-stretch {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  
min-height: calc(100svh - 140px);
  padding: 80px 20px 20px;

  
  background-image: url("https://staging.redrockerbrewingco.com/wp-content/uploads/2026/03/rr_hero.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--rr-dark);

  /* helps prevent mobile paint glitches */
  transform: translateZ(0);
  isolation: isolate;
}


@supports (background-image: url("https://staging.redrockerbrewingco.com/wp-content/uploads/2026/03/rr_hero.webp")) {
  .hero {
    background-image: url("https://staging.redrockerbrewingco.com/wp-content/uploads/2026/02/rr_hero.webp");
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  
  text-align: center;
  
} 

.hero-inner h1 {
  font-family: 'Gothic_Unique';
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  font-weight: 800;
  line-height: 1.4;
  text-shadow:
    2px 2px 3px rgba(0,0,0,1),
    0 0 8px rgba(0,0,0,1),
    0 0 15px rgba(0,0,0,0.9);
}

.hero-inner p {
  text-shadow:
    2px 2px 3px rgba(0,0,0,1),
    0 0 8px rgba(0,0,0,1),
    0 0 15px rgba(0,0,0,0.9);
}

/* Desktop: no break */

.mobile-break {
  display: none;
}

/* Mobile */

@media (max-width: 600px) {

  .mobile-break {
    display: block;
  }

  .hero {
    padding: 40px 20px 20px;
  }

}

.hero p {
  font-size: clamp(1.4rem, 2vw + 0.9rem, 2.3rem);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}



/* INSIDE *************************************************************************************/

#section-1 {
  position: relative;
  background:
    radial-gradient(circle at center, rgba(135, 95, 0, 0) 40%, rgba(135, 95, 0, 0.6) 100%),
    var(--rr-gold);
  min-height: 40em;
  padding: 5em 0;
  color: var(--rr-dark);
  overflow: hidden;
 
}

#section-1::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("https://staging.redrockerbrewingco.com/wp-content/uploads/2026/03/rr_bogus_otis.webp");
  background-repeat: repeat;
  background-position: center;
  background-size: 300px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

#section-1>* {
  position: relative;
  z-index: 1;
}

.rr_can {
  display: block;
  max-width: clamp(250px, 40vw, 600px);
  margin: 0 auto;
}

#inside h3.widget-title {
  font-family: 'Gothic_Unique';
  font-size: clamp(1.4rem, 2vw + 0.9rem, 2.3rem);
}




/* MAILING LIST ****************************************************************************/

#section-2 {
  background: var(--rr-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10em;
  min-height: 10em;
  padding: 5em 0;
}

.mailing-list {
  
}

.ml_title {
  text-align: center;
  color: var(--rr-goldlight);
  font-size: clamp(1rem, 2vw + 0.5rem, 1.75rem);
  line-height: 1.4;
}

.red {
  color: var(--rr-red);
}

.ml_content {

  text-align: center;
  color: var(--rr-goldlight);
  font-size: clamp(0.75rem, 1.2vw + 0.35rem, 1.2rem);
}

/* LAUNCH PARTY ********************************************************************************/

#launch {
  background-color: #333;
  padding: 2em;
}

.callout-box {
  position: relative;
  display: inline-block;
  width:100%;
  background: var(--rr-darkred);
  color: #ffffff;
  padding: 1em 1em 2.5em 1em; 
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-align: center;
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
  overflow: hidden;
}

.callout-box h2 {
  font-family: 'Montserrat';
  font-size: clamp(1rem, 2vw + 0.5rem, 1.75rem);
  margin: 0;
}

/* AVAILABLE **************************************************************************************/

#section-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%), var(--rr-darkred);
  padding: 2em;
}

#section-2 .panel-grid-cell, #section-3 .panel-grid-cell {
  flex: 1 1 300px;
  box-sizing: border-box;
}

.available {
 
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40em;
  height: 100%;
  overflow: hidden;
  text-align: left;
}

@media (max-width: 768px) {
  .available {
    min-height: auto; 
    justify-content: flex-start;
  }
}

.available::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://staging.redrockerbrewingco.com/wp-content/uploads/2026/03/rr_northamerica.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  z-index: 0;
}

.available>* {
  position: relative;
  z-index: 1;
}

.avail_title h2 {
  font-family: 'Montserrat';
  font-size: clamp(1rem, 2vw + 0.5rem, 1.75rem);
}

.locations {
  display: flex;
  justify-content: left;
  gap: 5em;
  flex-wrap: wrap;
}

.country {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.country ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.locations ul li {
  list-style: none;
  padding-left: 0 !important;
  margin: 0 !important;
}

.country h3, .getred_contact h3 {
   font-family: 'Montserrat';
  font-size: clamp(0.85rem, 1.3vw + 0.35rem, 1.35rem);
  margin-bottom: 0.5em;
}

.country ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin: 0;
}

.getred {
  min-height: 40em;
  height: 100%;
  background-image: url("https://staging.redrockerbrewingco.com/wp-content/uploads/2026/03/rr_sammy.webp");
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;border-radius: 12px;
}

.getred_contact {
   padding: 2em 0 0 0;
}

.getred_contact button {
  margin: 1em 0;
}

/* THE TEAM ******************************************************************************************/

#section-4 {
  position: relative;
  background:
    radial-gradient(circle at center, rgba(135, 95, 0, 0) 40%, rgba(135, 95, 0, 0.6) 100%),
    var(--rr-gold);
  min-height: 100px;
  padding: 5em 0;
  color: var(--rr-dark);
  overflow: hidden;
}

#team  h3.widget-title {
  font-family: 'Gothic_Unique';
  font-size: clamp(1.4rem, 2vw + 0.9rem, 2.3rem);
  padding: 0; margin: 0;
}

/* SCROLL ANIMATE **********************************************************************************/

.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MEET BOGUS OTIS *****************************************************************/

.bogus-otis {
  width: 100%;
  text-align: center;
  margin: 0 auto;

}

.bogus-otis img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width:900px) {
  .bogus-otis img {
    margin-top: -4em;
  }
}

/* Get RED ****************************************************************************************/

.custom-tabs {
  width: 100%;
  margin: 0 auto;
  font-family: inherit;
}

/* Tab buttons */
.custom-tabs .tab-buttons {
  display: flex;
  border-bottom: 2px solid #000;
  margin-bottom: 15px;
}

.custom-tabs .tab-buttons button {
  flex: 1;
  padding: 12px 15px;
  background: transparent;
  color: var(--rr-goldlight);
  border: 1px solid var(--rr-goldlight);
  border-right: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}

.custom-tabs .tab-buttons button:last-child {
  border-right: 1px solid var(--rr-goldlight);
}

.custom-tabs .tab-buttons button.active {
  background: var(--rr-gold);
  font-weight: bold;
  color: var(--rr-dark);
}

/* Tab content */
.custom-tabs .tab-content {
  display: none;
}

.custom-tabs .tab-content.active {
  display: block;
}

.forminator-response-message {
  background: transparent !important;
  border: 1px solid var(--rr-goldlight);
  border-left: 5px solid var(--rr-gold);
  padding: 18px;
  box-shadow: none !important;
  color: var(--rr-goldlight) !important;

}

.forminator-custom-input .forminator-input:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--rr-gold) !important;
}

.forminator-input,
.forminator-textarea {
  caret-color: var(--rr-goldlight) !important;
}



.forms-image {
  display: flex;
  justify-content: flex-end;
  /* right align */
  width: 100%;
}

.forms-image img {
  max-width: 25%;
  height: auto;
  object-fit: contain;
}



/* FOOTER ********************************************************************************/

.credit p {
  color: var(--rr-grey);
}

/* VIDEO *********************************************************************************/

.video-container {
  position: relative;
  width: 100%;
  /* 16:9 Aspect Ratio */
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px; /* modern rounded corners */
  box-shadow: 0 6px 18px rgba(0,0,0,0.1); /* subtle shadow */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* MEDIA/EVENTS***********************************************************************/

.table-responsive {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.table-responsive table {
  min-width: 600px;
  width: 100%;
  display: table;     /* Undo block-level weirdness */
}

.table-responsive th,
.table-responsive td {
  padding: 0.75rem;
  text-align: left;
  white-space: nowrap; /* keeps columns tidy */
}

/* Header styling */
.table-responsive th {
  background: #000;
  color: #fff;
  padding: 0.75rem;
}

.ifmobile {
  display: none; 
  font-size: 0.85rem;
  color: var(--rr-goldlight);
  margin: 0.5rem 0;
}

/* Mobile only */
@media (max-width: 600px) {
  .ifmobile {
    display: block;
  }
}

/* 404 ******************************************************************************************/

/* 404 Page Wrapper */
.rr-404-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
    }

/* Inner container */
.rr-404-inner {
    text-align: center;
    max-width: 600px;
}

/* Logo */
.rr-404-logo {
    width: 160px;
    margin-bottom: 30px;
}

/* Title */
.rr-404-title {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
}

/* Text */
.rr-404-text {
    font-size: 20px;
    color: var(--rr-gold);
    margin-bottom: 40px;
}

/* Button */
.rr-404-button {
    display: inline-block;
    border: 1px solid var(--rr-goldlight);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s ease;
}

.rr-404-button:hover {
    background: var(--rr-dark);
}

