/* ===================================
   ROZZANA ESSENCE MANUFACTURER
   Main Stylesheet
   =================================== */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #FFFFFF;
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(77, 0, 0, 0.15);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo img {
  height: 120px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo a:hover img {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  gap: 35px;
  align-items: center;
}

nav a {
  font-size: 13px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 400;
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease-in-out;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #4D0000;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: #4D0000;
  font-weight: 500;
}

/* ===================================
   FOOTER
   =================================== */

footer {
  background: #4D0000;
  color: #FFFFFF;
  padding: 25px 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-left p {
  font-size: 12px;
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.hero-media-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-media-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(77, 0, 0, 0.4);
  z-index: 3;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-media.active {
  opacity: 1;
}

.hero-video {
  z-index: 1;
}

.hero-image {
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  margin-top: -80px;
}

.hero-title {
  font-size: 72px;
  color: #FFFFFF;
  letter-spacing: 8px;
  font-weight: 300;
  margin-bottom: 20px;
  opacity: 0;
  transform: scale(0.95);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  color: #FFFFFF;
  letter-spacing: 2px;
  font-weight: 300;
  opacity: 0;
}

/* ===================================
   SCROLL SECTIONS (INDEX.HTML)
   =================================== */

.scroll-section {
  padding: 100px 60px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-section {
  background: #FFFFFF;
}

.section-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.section-title {
  font-size: 42px;
  color: #4D0000;
  letter-spacing: 3px;
  font-weight: 300;
  margin-bottom: 25px;
}

.section-intro {
  font-size: 18px;
  color: #000000;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 300;
}

/* ===================================
   IMAGE GALLERY
   =================================== */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  opacity: 0;
  transform: translateY(30px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.image-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 25px;
  color: #FFFFFF;
  background: rgba(77, 0, 0, 0.85);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease-in-out;
}

.gallery-item:hover .image-overlay-text {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   CONTENT PAGES (FRAGRANCE, FLAVOR)
   =================================== */

.content-page {
  padding: 140px 60px 100px;
  background: #FFFFFF;
  min-height: 100vh;
}

.page-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.page-title {
  font-size: 56px;
  color: #4D0000;
  letter-spacing: 4px;
  font-weight: 300;
  margin-bottom: 30px;
}

.page-intro {
  font-size: 20px;
  color: #000000;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
  font-weight: 300;
}

.page-content {
  max-width: 900px;
  margin: 60px auto 0;
  opacity: 0;
  transform: translateY(30px);
}

.page-content p {
  font-size: 18px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 25px;
  font-weight: 300;
}

/* ===================================
   BLOG PAGE (TRENDS)
   =================================== */

.blog-page {
  padding: 140px 60px 100px;
  background: #FFFFFF;
  min-height: 100vh;
}

.blog-container {
  max-width: 1400px;
  margin: 0 auto;
}

.blog-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
}

.blog-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.blog-article {
  background: #FFFFFF;
  border: 1px solid rgba(77, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.blog-article:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(77, 0, 0, 0.15);
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.blog-article:hover .article-image img {
  transform: scale(1.08);
}

.article-content {
  padding: 30px;
}

.article-date {
  font-size: 12px;
  color: #4D0000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  display: block;
  margin-bottom: 15px;
}

.article-title {
  font-size: 24px;
  color: #4D0000;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.article-excerpt {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}

.article-link {
  font-size: 13px;
  color: #4D0000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.article-link:hover {
  border-bottom-color: #4D0000;
}

.article-full-text {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(77, 0, 0, 0.1);
}

.article-full-text p {
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 15px;
  font-weight: 300;
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-page {
  padding: 140px 60px 100px;
  background: #FFFFFF;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contact-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.contact-label {
  font-size: 14px;
  color: #4D0000;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 15px;
}

.contact-value {
  font-size: 24px;
  color: #000000;
  font-weight: 300;
  line-height: 1.6;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
  header {
    padding: 18px 40px;
  }

  nav ul {
    gap: 25px;
  }

  nav a {
    font-size: 12px;
  }

  .hero-title {
    font-size: 56px;
    letter-spacing: 6px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .scroll-section {
    padding: 80px 40px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-intro {
    font-size: 17px;
  }

  .image-gallery {
    gap: 20px;
  }

  .content-page,
  .blog-page,
  .contact-page {
    padding: 120px 40px 80px;
  }

  .page-title {
    font-size: 48px;
  }

  .page-intro {
    font-size: 18px;
  }
}

/* Mobile (480px - 767px) */
@media (max-width: 767px) {
  header {
    padding: 15px 25px;
    flex-direction: column;
    gap: 15px;
  }

  .logo img {
    height: 70px;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 40px;
    letter-spacing: 4px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .scroll-section {
    padding: 60px 25px;
    min-height: auto;
  }

  .section-title {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .section-intro {
    font-size: 16px;
  }

  .image-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .content-page,
  .blog-page,
  .contact-page {
    padding: 100px 25px 60px;
  }

  .page-title {
    font-size: 36px;
    letter-spacing: 3px;
  }

  .page-intro {
    font-size: 17px;
  }

  .page-content p {
    font-size: 17px;
  }

  .blog-articles {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-title {
    font-size: 22px;
  }

  footer {
    padding: 20px 25px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-nav {
    gap: 20px;
  }

  .contact-value {
    font-size: 20px;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
  nav ul {
    gap: 10px;
  }

  nav a {
    font-size: 10px;
    padding: 5px 0;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .page-title {
    font-size: 30px;
  }
}
