/* ============================================================
   1. BASE RESET & TYPOGRAPHY
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ----------------------------
   Font-face declarations
---------------------------- */
@font-face {
  font-family: 'Carlito';
  src: url('fonts/Carlito-Regular.woff2') format('woff2'),
       url('fonts/Carlito-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Carlito';
  src: url('fonts/Carlito-Bold.woff2') format('woff2'),
       url('fonts/Carlito-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Carlito';
  src: url('fonts/Carlito-Italic.woff2') format('woff2'),
       url('fonts/Carlito-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Carlito';
  src: url('fonts/Carlito-BoldItalic.woff2') format('woff2'),
       url('fonts/Carlito-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/* ----------------------------
   HTML & Body
---------------------------- */
html {
  font-family: 'Carlito', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: 60px; /* account for fixed navbar */
  background: #fff;
  font-family: 'Carlito', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: contain;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ----------------------------
   Headings & Paragraphs
---------------------------- */
h1,h2,h3,h4,h5,h6 {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  font-size: clamp(24px, 4.79vw, 48px);
  letter-spacing: 0.025em;
  color: #000;
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.625;
  font-size: clamp(16px, 1.05vw, 20px);
  letter-spacing: 0.025em;
  color: #000;
}

/* ----------------------------
   Links
---------------------------- */
a {
  color: #0e0e0e;
  text-decoration: underline;
}
a:hover, a:focus {
  text-decoration: underline;
  outline: none;
}

/* ----------------------------
   Media elements
---------------------------- */
img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----------------------------
   Lists & Tables
---------------------------- */
ul, ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* ----------------------------
   Inputs & Buttons reset
---------------------------- */
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

:focus {
  outline: 3px solid rgba(11,102,255,0.2);
  outline-offset: 2px;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  html { font-size: 18px; }
}

/* ============================================================
   2. LAYOUT SECTION
============================================================ */
.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background-image: url("../images/events-overflow.jpg");
  background-size: cover;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* LEFT COLUMN — TEXT */
.layout > .grid-container:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  background: transparent;
}

.logo-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-wrap: normal;
}

.logo-heading img {
  width: 350px;
  height: auto;
}

.logo-heading h2,
.h2head {
  font-size: 68px;
}

.text-box p {
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.2;
}

.text-box ul {
  list-style: disc inside;
  margin: 16px 0;
}

.text-box li {
  margin-bottom: 3px;
  line-height: 1.2;
}

.font-semibold {
  font-weight: 600;
}

/* Social Icons */
.is-social {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  padding: 50px 0;
}

.is-social img {
  width: 32px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.is-social a:hover img {
  transform: scale(1.5);
}

/* RIGHT COLUMN — IMAGES */
.layout > .grid-container:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: transparent;
}

.grid-container3 {
  display: none;
}

.right-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.right-images .right-pic {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  object-fit: cover;
}

/* ============================================================
   3. RESPONSIVE STYLES
============================================================ */
@media (max-width: 1280px) {
  .logo-heading {
    background-color: rgba(255, 255, 255, 0.4);
    padding: 20px;
    border-radius: 20px;
    width: clamp(350px, 50%, 48px);
  }

  .layout {
  background-image: url("../images/1756729085917_kelly.png");
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  }

    .grid-container3 {
    display: block;
    width: 100%;
    margin: 0;
    padding: 50px;
    justify-content: center;
  }

  .h2head,
  .logo-heading h2 {
    display: none;
  }
}

@media (min-width: 1280px) {
  .h2head1 {
    display: none;
  }
}

@media (max-width: 768px) {
  .layout {
    background-image: none;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-content: center;
  }

  .layout > .grid-container:first-child,
  .layout > .grid-container:last-child {
    padding: 20px;
  }

  .layout > .grid-container:last-child {
    background-color: #000;
  }

  .grid-container3 {
    display: block;
    width: 100%;
    background-color: #000;
    margin: 0;
    padding: 50px;
    justify-content: center;
  }

  .right-images {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
    padding: 0px;
    align-items: center;
  }
}

/* ============================================================
   4. BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  background: #111;
  color: #fff;
  transition: all 0.3s;
}
.btn:hover { background: #333; }

/* ============================================================
   5. FOOTER
============================================================ */
footer {
  background: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
  z-index: 10;
  overflow: hidden;
}

footer .row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

footer p {
  margin: 0;
  text-align: center;
}

@media screen and (min-width: 769px) {
  footer .row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

footer .row .column:first-child img {
  max-width: 150px;
}

footer .is-social a i {
  font-size: 2rem;
  margin: 0 10px;
  color: #1E90FF;
  transition: transform 0.2s, color 0.2s;
}

footer .is-social a:hover i {
  transform: scale(1.2);
  color: #0096FF;
}

/* ============================================================
   6. GDPR POPUP
============================================================ */
.gdpr-popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.95);
  color: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  text-align: center;
  display: none;
  max-width: 90%;
}

.gdpr-popup button {
  margin: 10px 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.gdpr-popup button:hover { opacity: 0.9; }
.gdpr-popup button.accept { background-color: #1E90FF; color: #fff; }
.gdpr-popup button.decline { background-color: #ccc; color: #000; }