/* GENERAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}

body {
  background-color: #F8F3EC;
  color: #5C232B;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 450px;
  background-image: url("tiramisuheading.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* header */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 40px;
  background-color: #F9F5F0;
  backdrop-filter: blur(2px);
}

/* TIRAVIE LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 45px;
  max-width: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 24px;
  font-weight: bold;
  color: #67202D;
  letter-spacing: 1px;
}

.brand-tagline {
  margin-top: -2px;
  font-size: 11px;
  color: #67202D;
  font-style: italic;
  text-align: center;
}

/* NAVIGATION BAR */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #67202D;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  text-decoration: underline;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.brand-title h1 { /*Tiravie*/
  font-size: 30px;
  color: #5C232B;
  letter-spacing: 2px;
}

.brand-title p { /*sweet*/
  font-size: 15px;
  color: #5C232B;
}

nav.main-nav a { /*8 all text link*/
  text-decoration: none;
  color: #5C232B;
  margin-left: 20px;
  font-size: 14px;
}

/* HERO SECTION */
.hero {
  background: url('homepagebg.png') center/cover no-repeat;
  height: 700px;
  padding: 50px 40px;
}

.hero-box {
  background-color: #8a603785;
  color: white;
  padding: 30px;
  width: 320px;
  border-radius: 20px;
  margin-top: 150px;
}

.hero-box h2 { /*Text inside the box*/
  font-size: 30px;
  margin-bottom: 10px;
  line-height: 1.2;
  text-align: center;
}

.hero-box p { /*text sa baba nung nasa malaki */
  font-size: 14px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 30px;
  position:relative;
  margin-left: 60px; /* Adjust this value to slide them further left or right */
  margin-top: 20px;
}

/* BUTTON STYLES */
.btn {
  display: inline-block;
  padding: 8px 18px;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
}

.primary-btn {
  background-color: #5c2d33;
  color: white;
}

.secondary-btn {
  background-color: #5c2d33;
  color: white;
}

.outline-btn {
  border: 1px solid #5C232B;
  color: #5C232B;
  background-color: transparent;
}

/* FEATURED FAVORITE SECTION */
.featured {
  text-align: center;
  padding: 50px 20px;
  background-color: #F8F3EC;
}

.featured h2 {
  font-size: 26px;
  color: #5C232B;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.featured-copy {
  font-size: 15px;
  color: #5C232B;
  max-width: 600px;
  margin: 15px auto 40px auto;
}

/* PRODUCTS DISPLAY CONTAINER */
.products {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

/* INDIVIDUAL PRODUCT CARD */
.product-card {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* frame for the featured product */
.arch-frame {
  width: 100%;
  height: 190px;
  background-color: #B0997D;
  border-radius: 400px 400px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* yung pictures nung featured product */
.arch-frame img {
  width: 480px;
  height: 210px;
  object-fit: contain;
  border-radius: 1px;
  margin-left: -7px; /* Adjust this value to slide the image left or right */
}

/* LABEL BOX AT THE BOTTOM */
.product-title {
  width: 100%;
  background-color: #B0997D;
  color: #5a181f;
  padding: 10px;
  font-size: 13px;
  border-radius: 0 0 12px 12px;
  text-align: center;
  margin-top: -20px;
}

/* MORE PRODUCTS SECTION */
.more-section h3 {
  font-size: 16px;
  color: #5C232B;
  margin-bottom: 15px;
}

/* FOOTER */
.footer {
  background-color: #67202D;
  color: #FFFFFF;
  padding: 40px 60px 20px;
  margin-top: auto;
}

/* FOOTER CONTAINER */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* FOOTER BRAND */
.footer-brand {
  max-width: 350px;
}

.footer-brand h2 {
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0 0 12px 0;
}

.footer-brand p {
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0 0 20px 0;
}

.copyright {
  display: block;
  font-size: 10px;
  opacity: 0.6;
}

/* FOOTER NAVIGATION */
.footer-navigation {
  display: flex;
  gap: 60px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column h4 {
  font-size: 12px;
  margin: 0 0 6px 0;
}

.footer-column > a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 11px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-column > a:hover {
  opacity: 1;
}

/* SOCIAL MEDIA */
.social-column {
  min-width: 190px;
}

/* Instagram + Facebook links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Icon + account name */
.social-account {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Instagram + Facebook icons */
.Instagram-logo,
.facebook-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Social media hover */
.social-account:hover {
  color: #FFFFFF;
  text-shadow: 0 0 5px #FFFFFF, 0 0 10px #FFFFFF, 0 0 15px #FFFFFF;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer {
    padding: 35px 25px 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-navigation {
    flex-wrap: wrap;
    gap: 30px;
  }
}

/* MOBILE (Smartphones: 600px and below) */
@media (max-width: 600px) {
  /* Logo & Title */
  .brand {
    flex-direction: column;
    gap: 5px;
  }

  .logo {
    width: 70px;
    height: 70px;
  }

  .brand-title h1 {
    font-size: 24px;
  }

  /* Navigation Links */
  nav.main-nav {
    gap: 10px;
  }

  nav.main-nav a {
    font-size: 13px;
  }

  /* Hero Section Card */
  .hero-box {
    width: 100%;
    padding: 20px;
  }

  .hero-box h2 {
    font-size: 22px;
  }

  .hero-buttons {
    gap: 15px;
  }

  /* Product Cards Stacked */
  .products {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 100%;
    max-width: 280px;
  }

  /* Footer Layout Stacked */
  .footer-col {
    width: 100%; /* Single column layout on mobile */
    text-align: center;
  }
}