:root {
  /* ========================================
     COLOR PALETTE - LIGHT THEME
     ======================================== */
  --background-color: #b2beb5;
  --surface-color: #36454f;
  --box-card-color: #e5e4e2;
  --text-light-color: #e5e4e2;
  --text-dark-color: #353935;
  --text-shadow-color: #b2beb5;
  --shadow-color: rgba(0, 0, 0, 0.1);

  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-family-base:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
    Arial, sans-serif;
  --font-size-base: 1rem; /*equals to 16px*/

  /* Base line height for improved readability. It's unitless, meaning it's a multiplier of the font size. */
  --line-height-base: 1.5;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* ========================================
     SPACING & LAYOUT
     ======================================== */
  /* A base unit for consistent spacing (margins, padding). We can use multiples of this unit. */
  --spacing-unit: 1rem;

  /* Max width for our .container class to ensure content is readable on wide screens. */
  --container-width: 1140px;
  --container-side-margin: 120px;

  /* A consistent border-radius for rounded corners on buttons, cards, and inputs. */
  --border-radius: 0.25rem;
}

/*
  ========================================
  CSS RESET
  ========================================
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

#root,
#__next {
  isolation: isolate;
}

/*
  ========================================
  BASE STYLES
  ========================================
*/
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-dark-color);
  background-color: var(--background-color);
}

/*
  ========================================
  HEADER & NAVIGATION
  ========================================
*/
header {
  background-color: var(--surface-color);
  /* box-shadow: 0 2px 4px var(--shadow-color); */
  box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.588);
  padding: var(--spacing-unit) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* We also apply our max-width and centering here. */
  max-width: var(--container-width);
  margin: 0 auto; /* Centers the container horizontally */
  padding: 0 var(--spacing-unit); /* Adds padding on the sides for smaller screens */
}

header .container h2 {
  color: var(--text-light-color);
  font-size: 25px;
}

header nav ul {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  list-style: none;
}

header nav ul li a {
  text-decoration: none;
  color: var(--text-light-color);
  font-weight: var(--font-weight-bold);
  padding: 0.5rem;
  transition: color 0.3s ease-in-out;
}

header nav ul li a:hover {
  color: var(--text-shadow-color);
}

/*
  ========================================
  MENU TOGGLE (HAMBURGER)
  ========================================
  Styles for the mobile navigation toggle button.
*/
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle i {
  color: var(--text-light-color);
  font-size: calc(var(--font-size-base) * 1.8);
}

#closeBtn {
  display: none;
}

/*
  ========================================
  HERO SECTION
  ========================================
  Styles for the main introductory "hero" block of the page.
*/
#hero {
  min-height: 90vh;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  padding: calc(var(--spacing-unit) * 2) 0;
}

#hero .container {
  display: flex;
  justify-content: space-between;
  gap: calc(var(--spacing-unit));
  max-width: var(--container-width);
  margin: 0 auto; /* Centers the container horizontally */
  padding: 0 var(--spacing-unit); /* Adds padding on the sides for smaller screens */
}

#hero .container .intro {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hero .container .illustration {
  width: 40%;
  display: flex;
  align-items: center;
}

#hero h1 {
  font-size: 3.8rem;
  line-height: 85px;
  font-weight: var(--font-weight-normal);
  margin-bottom: var(--spacing-unit); /* Add space below the heading */
}

#hero .hero-subtitle {
  font-size: 1.5rem; /* ~24px */
  margin-bottom: calc(var(--spacing-unit));
  color: var(--text-color-light); /* Use our lighter text color variable */
  /* word-break: break-all; */
}

#hero p:last-of-type {
  margin-bottom: calc(var(--spacing-unit)*2);
}

.get-in-touch {
  padding: 12px;
  font-size: 15px;
  border-radius: var(--border-radius);
  color: var(--text-dark-color);
  text-decoration: none;
  background-color: var(--box-card-color);
}

.get-in-touch:hover {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/*
  ========================================
  Featured Art SECTION
  ========================================
*/
#featured-art {
  padding: calc(var(--spacing-unit)*4) 0;
}

#featured-art .container {
  max-width: var(--container-width);
  margin: 0 auto;

  overflow: hidden;
  width: 100%;
  background: var(--background-color);
  padding: 20px 0;
  border-radius: var(--border-radius);
}

.wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 16rem;
  gap: 2rem;
  width: max-content;
  animation: animate 15s linear infinite;
}

@keyframes animate {
  to {
    transform: translateX(calc(-5 * (16rem - 1rem)));
  }
}

.wrapper video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  border: 1px solid var(--text-dark-color);
  box-shadow: 4px 4px 10px black;
}


/*
  ========================================
  Banner SECTION
  ========================================
*/
#banner {
  padding: calc(var(--spacing-unit) * 4) 0;
}

#banner .container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.slider {
  width: 100%;
  height: 550px;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

.slides img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  flex-shrink: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/*
  ========================================
  Features SECTION
  ========================================
*/
#features-section {
  padding: calc(var(--spacing-unit) * 5) 0;
}

#features-section .container {
  max-width: var(--container-width);
  margin: 0 auto;
}

#features-section h2 {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.features {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(var(--spacing-unit));
}

.feat-box {
  height: 280px;
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  border-radius: 5px;
  background-color: var(--box-card-color);
  color: var(--text-dark-color);
}
.feat-box p {
  font-size: calc(var(--font-size-base) * 1.1);
  font-weight: var(--font-weight-bold);
}
.feat-box p:last-of-type {
  text-align: center;
  font-size: 15px;
  color: #000000ad;
}

.feat-box i {
  color: #353935;
  font-size: 30px;
  height: 70px;
  width: 70px;
  background-color: rgba(255, 255, 255, 0.902);
  border-radius: 50%;
  padding-top: 20px;
}

/*
  ========================================
  BTS SECTION
  ========================================
*/
#bts-section {
  padding: calc(var(--spacing-unit) * 5) 0;
}

#bts-section .container {
  max-width: var(--container-width);
  margin: 0 auto;
}

#bts-section h2 {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 4);
}

/* Video Gallery using Grid */
.videos-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 2);
}

.videos-container video {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/*
  ========================================
  Footer SECTION
  ========================================
*/
footer {
  background-color: var(--surface-color);
}

footer .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: calc(var(--spacing-unit) * 2) 0 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.about {
  width: 50%;
  padding-right: calc(var(--spacing-unit) * 5);
}

.services {
  width: 30%;
}
.media {
  width: 20%;
}

.footer-profile {
  display: flex;
  gap: var(--spacing-unit);
  margin-bottom: var(--spacing-unit);
}

.fp-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fp-name h3 {
  font-size: calc(var(--font-size-base) * 1.4);
  color: var(--text-light-color);
}

.fp-name p {
  color: #D9D9D9;
}

.footer-profile img {
  height: 60px;
  width: 60px;
  background-color: #fff;
  border-radius: 50%;
}

.footer-col {
  color: #a0a0a0;
}

.footer-btn {
  display: flex;
  gap: 15px;
  margin-top: var(--spacing-unit);
}
.footer-btn a {
  text-decoration: none;
  padding: 4px 9px;
  border-radius: 25px;
  font-size: 14px;
  background-color: #ffffff33;
  color: #fffff0;
  border: none;
}

.services h3,
.media h3 {
  color: var(--text-light-color);
  margin-bottom: var(--spacing-unit);
}

ul {
  list-style: none;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 15px;
  text-decoration: none;
  color: #a0a0a0;
  /* display: block; */
  transition: all 0.3s ease;
}
.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-col .social-links a {
  display: inline-block;
  height: 35px;
  width: 35px;
  font-size: 18px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #e5e4e2;
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 37px;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.footer-col .social-links #fb:hover {
  background-color: #1877f2;
  color: #e5e4e2;
}
.footer-col .social-links #insta:hover {
  background-color: #ff0069;
  color: #e5e4e2;
}
.footer-col .social-links #whp:hover {
  background-color: #25d366;
  color: #e5e4e2;
}
.footer-col .social-links #yt:hover {
  background-color: #ff0000;
  color: #e5e4e2;
}

.copyright {
  border-top: 1px solid var(--text-light-color);
  color: #a0a0a0;
  text-align: center;
  height: 50px;
  line-height: 50px;
}

.copyright a {
  text-decoration: none;
  color: #a0a0a0;
}

.copyright a:hover, .copyright a:focus {
  color: #5684c1;
}

/*
  ========================================
  RESPONSIVE STYLES - MEDIA QUERIES
  ========================================
*/
/* 
 ======== Breakpoint 1: Tablet Devices =========
*/
/*------- Responsive Navbar --------*/
@media (max-width: 768px) {
  header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  nav .menu {
    display: none;
  }

  #menuBtn {
    display: block;
  }

  nav .menu {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0px;
    background-color: var(--surface-color);
    width: 50%;
    padding: 25px 0;
    text-align: center;
    transition: all 0.5s ease-in-out;
  }

  nav .menu li a {
    font-size: calc(var(--font-size-base) * 1.1);
    padding: var(--spacing-unit) 0;
  }

  header nav ul li a:hover,
  header nav ul li a:focus,
  header nav ul li a:active {
    color: var(--text-shadow-color);
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  /*------- Hero Section --------*/
  /* === Typography Adjustments === */
  #hero h1 {
    font-size: 2.8rem; /* Down from 3.5rem */
    line-height: var(--line-height-base);
  }
  #hero .hero-subtitle {
    font-size: 1.25rem; /* Down from 1.5rem*/
  }

  /* === Layout Adjustments === */
  #hero {
    min-height: 60vh;
  }

  #hero .container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: calc(var(--spacing-unit) * 2);
    max-width: var(--container-width);
    margin: 0 auto; /* Centers the container horizontally */
    padding: calc(
      var(--spacing-unit) * 2
    ); /* Adds padding on the sides for smaller screens */
  }

  #hero .container .intro {
    width: 100%;
  }

  #hero .container .illustration {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #hero p:last-of-type {
  margin-bottom: calc(var(--spacing-unit)*1.5);
  }

  .get-in-touch {
    padding: 10px;
    font-size: 13.5px;
  }

  /*---------- Featured Art SECTION ---------- */
#featured-art {
  padding: calc(var(--spacing-unit)*2) 0;
}

#featured-art .container {
  max-width: var(--container-width);
  margin: 0 auto;
  /* padding: calc(var(--spacing-unit) * 2); */
}

  /*------- Banner Section --------*/
  #banner {
    padding: calc(var(--spacing-unit) * 2) 0;
  }

  #banner .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2);
  }

  .slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .slides img {
    width: 100%;
    height: 500px;
    object-fit: initial;
    flex-shrink: 0;
  }

  /* --------Features Section -------  */
  #features-section {
    padding: calc(var(--spacing-unit) * 2) 0;
  }

  #features-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2);
  }

  #features-section h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
  }

  .features {
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 1.7) 0;
  }

  .feat-box {
    height: 270px;
    width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 23px;
    border-radius: 5px;
    background-color: var(--box-card-color);
    color: var(--text-dark-color);
  }

  .feat-box p {
    word-break: break-all;
  }

  .feat-box i {
    color: #353935;
    font-size: 24px;
    height: 60px;
    width: 60px;
    background-color: rgba(255, 255, 255, 0.902);
    border-radius: 50%;
    padding-top: 20px;
  }

  /*-------BTS Section -------- */
  #bts-section {
    padding: calc(var(--spacing-unit) * 3) 0;
  }

  #bts-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2);
  }

  #bts-section h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
  }

  /* Video Gallery using Grid */
  .videos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 2);
    /* margin: 0 120px;  */
  }

  .videos-container video {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
}

/* ----------Footer Section ------*/
@media (max-width: 768px) {
  footer .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2);
  }

  .footer-col .social-links a {
    margin: 10px;
  }

  .copyright {
    border-top: 1px solid var(--text-light-color);
    color: #a0a0a0;
    text-align: center;
    height: 30px;
    line-height: 50px;
  }
}

/* 
 ========= Breakpoint 2: Mobile Devices ==========
*/
/*------ Navbar ------*/
@media (max-width: 480px) {
  header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  nav .menu {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0px;
    background-color: var(--surface-color);
    width: 50%;
    padding: 25px 0;
    text-align: center;
    transition: all 0.5s ease-in-out;
  }

  nav .menu li a {
    font-size: calc(var(--font-size-base) * 1.1);
    padding: var(--spacing-unit) 0;
  }
}

/*---------Hero Section-------*/
@media (max-width: 480px) {
  /* === Typography Adjustments === */
  #hero h1 {
    font-size: 2rem;
    line-height: var(--line-height-base);
  }
  #hero .hero-subtitle {
    font-size: 1.2rem;
  }

  /* === Layout Adjustments === */
  #hero {
    min-height: 40vh;
  }

  #hero .container {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
    padding: calc(
      var(--spacing-unit) * 1
    ); /* Adds padding on the sides for smaller screens */
  }

  #hero .container .intro {
    display: flex;
    flex-direction: column;
    padding: 0 calc(var(--spacing-unit) * 2);
  }

  #hero p:last-of-type {
  margin-bottom: calc(var(--spacing-unit)*1);
  }

  .get-in-touch {
    padding: 10px;
    font-size: 15px;
  }

  /*---------Featured art section -------*/
  .wrapper {
    gap: 1.5rem;
  }

  /*------- Banner Section --------*/
  #banner {
    padding: calc(var(--spacing-unit) * 2) 0;
  }

  #banner .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 1);
  }

  /* --------Features Section -------  */
  #features-section {
    padding: calc(var(--spacing-unit) * 2) 0;
  }

  #features-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 1);
  }

  #features-section h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
  }

  .features {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feat-box {
    height: 270px;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 30px;
    border-radius: 5px;
    background-color: var(--box-card-color);
    color: var(--text-dark-color);
  }

  .feat-box p {
    /* word-break: break-all; */
    font-size: var(--font-family-base);
  }

  .feat-box i {
    color: #353935;
    font-size: 28px;
    height: 70px;
    width: 70px;
    background-color: rgba(255, 255, 255, 0.902);
    border-radius: 50%;
    padding-top: 20px;
  }

  /*-------BTS Section -------- */
  #bts-section {
    padding: calc(var(--spacing-unit) * 1) 0 calc(var(--spacing-unit) * 3);
  }

  #bts-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 1);
  }

  #bts-section h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
  }

  /* Video Gallery using Grid */
  .videos-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: calc(var(--spacing-unit) * 2);
  }

  .videos-container video {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    object-fit: cover;
  }
}

/* ----------Footer Section ------*/
@media (max-width: 480px) {
  footer .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 1);
  }

  .footer-row {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit));
    margin-bottom: calc(var(--spacing-unit) * 1);
  }

  .footer-row h3 {
    margin-bottom: 0.5rem;
  }

  .fp-name h3 {
    margin-bottom: 0.2px;
  }

  .about {
    width: 100%;
    padding-right: calc(var(--spacing-unit) 0);
  }

  .about p {
    font-size: var((--font-size-base));
    word-break: break-all;
  }

  .footer-btn a {
    font-size: 0.9rem;
  }

  .services {
    width: 100%;
  }
  .media {
    width: 100%;
  }

  .footer-col .social-links a {
    margin: 10px;
  }

  .copyright {
    border-top: 1px solid var(--text-light-color);
    color: #a0a0a0;
    text-align: center;
    height: 40px;
    line-height: 50px;
  }
  .copyright p {
    font-size: 0.9rem;
  }
}

/* 
 ========= Breakpoint 3: Small Mobile Devices ==========
*/
@media (max-width: 394px) {
  #hero .container .intro {
    display: flex;
    flex-direction: column;
    padding: 0 calc(var(--spacing-unit) * 3);
  }

  .copyright p {
    font-size: 0.8rem;
  }
}
