/* Hero H1 as button link */
.hero-content h1 a.category-btn {
  font-size: 15px;                 /* Text size */
  font-family: 'Futura', sans-serif;
  font-weight: 700;
  color: #E6C3A0;                  /* Link text color (not blue) */
  text-decoration: none;           /* Remove underline */
  padding: 10px 25px;              /* Button padding */
  border: 2px solid #E6C3A0;       /* Outline border */
  border-radius: 50px;              /* Rounded corners */
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Hover animation: border grows from left */
.hero-content h1 a.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-left: 2px solid #865E47;
  border-right: 2px solid #865E47;
  transition: width 0.3s ease;
}

.hero-content h1 a.category-btn:hover::before {
  width: 100%;
}

/* Optional: change text color on hover */
.hero-content h1 a.category-btn:hover {
  color: #C29470;
  border-color: #C29470;
}

@media (max-width: 390px) {
  .hero-content h1 a.category-btn {
  font-size: 10px;                 /* Text size */
  font-family: 'Futura', sans-serif;
  font-weight: 500;
  color: #E6C3A0;                  /* Link text color (not blue) */
  text-decoration: none;           /* Remove underline */
  padding: 10px 25px;              /* Button padding */
  border: 1px solid #E6C3A0;       /* Outline border */
  border-radius: 50px;              /* Rounded corners */
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Hover animation: border grows from left */
.hero-content h1 a.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-left: 2px solid #865E47;
  border-right: 2px solid #865E47;
  transition: width 0.3s ease;
}

.hero-content h1 a.category-btn:hover::before {
  width: 100%;
}

/* Optional: change text color on hover */
.hero-content h1 a.category-btn:hover {
  color: #C29470;
  border-color: #C29470;
}
}

 .hero-main {
  position: relative;
  width: 100vw;
  height: 800px;
  background-image: url("images/iphone.jpg");
  background-size: cover;
  background-position: center;
 } 
@media (max-width: 1024px) {
  .hero-main {
  position: relative;
  width: 100vw;
  height: 600px;
  background-image: url("images/iphone.jpg");
  background-size: cover;
  background-position: center;
  }
 }

 @media (max-width: 390px) {
  .hero-main {
  position: relative;
  width: 100vw;
  height: 400px;
  background-image: url("images/iphone.jpg");
  background-size: cover;
  background-position: center;
  }
 }



.h2 {
  font-family: 'Futura', sans-serif; /* Set your desired font */
  font-size: 45px; /* Adjust the font size */
  font-weight: 600; /* Set the font weight */
  color: #E0E0E0; /* Set the text color */
  text-align: center; /* Center-align the text */
  letter-spacing: 2px; /* Adjust letter spacing */
  line-height: 1.2; /* Adjust line height */
  margin: 20px 0; /* Add some margin */
  padding-bottom: 20px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .h2 {
    font-size: 32px;          /* smaller font size for tablets */
    font-weight: 600;         /* keep weight */
    letter-spacing: 1.2px;    /* reduced letter spacing */
    line-height: 1.3;         /* slightly increased line height */
    margin: 15px 0;           /* reduced margin */
    padding-bottom: 15px;     /* reduced padding */
  }
}

@media (max-width: 390px) {
  .h2 {
    font-size: 24px;           /* smaller font size */
    letter-spacing: 0.8px;     /* reduce letter spacing */
    line-height: 1.4;
    margin: 10px 0;
    padding-bottom: 10px;
  }
}

.h3 {
  font-family: 'Futura', sans-serif; /* Set your desired font */
  font-size: 40px; /* Adjust the font size */
  font-weight: 600; /* Set the font weight */
  color: #E6C3A0; /* Set the text color */
  text-align: center; /* Center-align the text */
  letter-spacing: 2px; /* Adjust letter spacing */
  line-height: 1.2; /* Adjust line height */
  margin-top: 0;       /* remove top margin */
  margin-bottom: 40px; /* Add some margin */
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .h3 {
    font-size: 32px;          /* smaller font size for tablets */
    font-weight: 700;         /* keep weight */
    letter-spacing: 1.2px;    /* reduce letter spacing */
    line-height: 1.3;         /* slightly increase line height */
    margin-bottom: 15px;      /* reduce margin */
    text-transform: uppercase; /* keep uppercase */
  }
}
@media (max-width: 390px) {
  .h3 {
    font-size: 22px;          /* smaller font for small screens */
    font-weight: 500;         /* keep weight */
    letter-spacing: 1px;      /* reduce letter spacing further */
    line-height: 1.3;         /* keep readability */
    margin-top: 40px;
    margin-bottom: 10px;      /* tighter spacing */
    padding-bottom: 20px;
    padding: 20px;
    text-align: center;
    text-transform: uppercase; /* keep uppercase */
  }
}

.dark-text {
  font-family: 'Acumin Pro', sans-serif; /* Set your desired font */
  font-size: 20px; /* Adjust the font size */
  font-weight: 400; /* Set the font weight */
  color: #000000; /* Set the text color */
  letter-spacing: 2px; /* Adjust letter spacing */
  line-height: 2; /* Adjust line height */
 flex-direction: column;     /* stack children vertically */
  justify-content: center;    /* vertical centering */
  align-items: center;        /* horizontal centering */
  text-align: center;         /* center text inside elements */
  max-width: 900px;  /* Maximum width of the paragraph */
}

@media (max-width: 1024px) {
  .dark-text {
    font-size: 16px;           /* smaller font size for tablets */
    font-weight: 400;          /* keep weight */
    color: #000000;            /* keep color */
    letter-spacing: 1.2px;     /* reduce letter spacing */
    line-height: 1.6;          /* reduce line height for better fit */
    text-align: center;        /* keep center alignment */
    max-width: 600px;          /* narrower max width */
  }
}
@media (max-width: 390px) {
  .dark-text {
    font-size: 14px;         /* smaller font for mobile */
    font-weight: 400;        /* keep weight */
    color: #000000;          /* keep color */
    letter-spacing: 0.8px;   /* slightly tighter spacing */
    line-height: 1.4;        /* adjusted line height for readability */
    text-align: center;      /* keep center alignment */
    max-width: 100%;  
    padding-right: 30px;
    padding-left: 30px;       /* full width for small screens */
  }
}


.article-header{
    padding-top: 40px;
}

.article-section {
     display: flex;           /* stack children vertically */
  justify-content: center;  
}

.image-split {
  display: flex;               /* use flex to put left & right side by side */
  flex-wrap: wrap;             /* wrap on smaller screens */
  gap: 20px;                   /* optional space between images */
  justify-content: center;     /* center horizontally if space left */
  align-items: center;         /* vertically align images */
  margin: 2rem 0;              /* spacing around section */
  padding-left: 40px;
}

.image-split .split {
  flex: 1 1 45%;               /* each takes roughly 45% of width */
  max-width: 35%;              /* prevent growing too large */
}

.image-split .split img {
  width: 90%;                 /* fill container width */
  height: auto;                /* maintain aspect ratio */
  display: block;              /* remove inline spacing */
  border-radius: 0px;          /* optional rounded corners */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Responsive for mobile screens */
@media (max-width: 1024px) {
  .image-split {
    flex-direction: column;    /* stack images on small screens */
  }
  .image-split .split {
    max-width: 100%;           /* full width */
  }
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 60% opacity */
  background: linear-gradient(to bottom, 
  rgb(246, 246, 221),
  rgba(21, 40, 45, 0.45),
  rgb(21, 40, 45));
  opacity: 0;
  animation: fadeInOverlay 2s forwards; /* fade-in animation */
}


/* Fade-in Animation */
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

