﻿/* GENERAL STYLES */
body {
  margin: 0;
  font-family: sans-serif;
  color: #000000;
}

h2 { color: #000000; }
h3 { color: #ffffff; font-size: 1.2em; font-weight: 500; margin: 0px 0px 15px 0px; }

.container_row_content {
    padding: 0px;
}

h2.off_premise_title {
  text-align: center;
  font-size: x-large;
  font-weight: 575;
  margin-bottom: 2rem;
  letter-spacing:1px;
}

/* == OFF PREMISE LOCATIONS -- HERO BOX == */
#off_premise_locations .container_row {
  width: 100% !important;
}

#off_premise_locations .is_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    padding: 0;
    gap: 0;
}

/* off premise hero boxes */
#off_premise_locations .box {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    color: #fff;
}

/* off premise locations background images */
#off_premise_locations .box_ny {
    background-image: url('/corporate/webimages/pages/off_premise_catering/i_new_york.jpg?v=250622');
}

#off_premise_locations .box_fl {
    background-image: url('/corporate/webimages/pages/off_premise_catering/i_florida.jpg?v=250622');
}

/* off premise locations box titles */
#off_premise_locations .box h2 {
    margin: 20px 0px 40px 0px;
    font-size: 2.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

/* off premise locations button */
#off_premise_locations .location_button_group {
        display: flex;
        gap: 10px; /* space between buttons */
        flex-wrap: wrap; /* allows wrapping on small screens */
    }

#off_premise_locations .location_button {
    padding: 1rem 2.2rem;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .6px;
    transition: background 0.2s ease;
}

#off_premise_locations .location_button:hover,
#off_premise_locations .location_button:focus {
    background-color: #111111;
    color: #ffffff;
}

/* == OFF PREMISE INFORMATION SECTION == */
#off_premise_info .container_row_content {
  padding: 50px 0px;
  margin: 0;
}

#off_premise_info .text_grid {
  display: grid;
  grid-template-columns: 1fr 2fr; 
  gap: 3rem;
  align-items: center;
  max-width: 100%;
  padding: 2rem 0;
}

#off_premise_info .info_heading h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

#off_premise_info .text_body p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
/* ============================= */
/* == RESPONSIVE DESIGN RULES == */
/* ============================= */

/* Medium screens: tablets & small laptops */
@media (max-width: 1024px) {
    h2.off_premise_title {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }

    #off_premise_info .text_grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 1.5rem 1rem;
  }

    #off_premise_info .info_heading h2 {
    text-align: center;
    font-size: 1.2rem;
  }

    #off_premise_info .text_body p {
    font-size: 0.95rem;
  }

    #off_premise_locations .location_button_group {
    justify-content: center;
}

/* Tablets & landscape phones */
@media (max-width: 768px) {
    /* Stack hero boxes */
    #off_premise_locations .is_grid {
    grid-template-columns: 1fr;
  }

    #off_premise_locations .box {
    height: 240px;
    padding: 1.2rem;
  }

    #off_premise_locations .box h2 {
    font-size: 1.2rem;
  }

    #off_premise_locations .location_button {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

    #off_premise_locations .location_button_group {
    justify-content: center;
  }

    #off_premise_info .text_body p {
    font-size: 0.9rem;
  }
}

/* Mobile phones */
@media (max-width: 500px) {
    h2.off_premise_title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

    #off_premise_locations .box {
    height: 200px;
    padding: 1rem;
  }

    #off_premise_locations .box h2 {
    font-size: 1.05rem;
  }

    #off_premise_locations .location_button {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }

    #off_premise_info .info_heading h2 {
    font-size: 1.05rem;
  }

  #off_premise_info .text_body p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Mobile phones */
@media (max-width: 500px) {
    h2.off_premise_title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

    #off_premise_locations .box {
    height: 200px;
    padding: 1rem;
  }

    #off_premise_locations .box h2 {
    font-size: 1rem;
  }

    #off_premise_locations .location_button {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

    #off_premise_info .info_heading h2 {
    font-size: 1.05rem;
  }

    #off_premise_info .text_body p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
