/* ------------------- Global ------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 1px;
}
img { width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ------------------- Header ------------------- */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
nav ul li a {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
nav ul li a:hover { color: #777; }

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #000;
  transition: 0.3s ease;
}

/* ------------------- Mobile Nav ------------------- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 75%;
  max-width: 320px;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  padding: 80px 30px;
  z-index: 999;
}
.mobile-nav.active { right: 0; }
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav ul li a {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* ------------------- Mobile Menu Social Icons (Left Aligned) ------------------- */
.mobile-social-icons {
  position: absolute;
  bottom: 30px;
  left: 30px; /* Moved from right to left */
  display: flex;
  gap: 18px;
  align-items: center;
}

.mobile-social-icons img {
  width: 20px;
  height: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-social-icons a:hover img {
  opacity: 0.6;
  transform: scale(1.1);
}

/* ------------------- Close Button (Mobile Menu) ------------------- */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.close-menu img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-menu:hover img {
  transform: rotate(90deg);
  opacity: 0.7;
}


/* ------------------- Hero ------------------- */
.hero {
  position: relative;
  height: 100vh;
  background: url('../images/hero-fashion.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}
.hero p {
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5em;
}
.hero .btn {
  display: inline-block;
  border: 1px solid #fff;
  padding: 12px 36px;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}
.hero .btn:hover {
  background: #fff;
  color: #000;
}

/* ------------------- About ------------------- */
.about {
  max-width: 900px;
  margin: 120px auto;
  padding: 0 20px;
  text-align: center;
}
.about h2 {
  font-size: 2.2rem;
  margin-bottom: 1em;
  text-transform: uppercase;
}
.about p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 2em;
}

.about p:last-child {
  margin-bottom: 0;
}

/* ------------------- News Section ------------------- */
.news {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
}

.news h2 {
  font-size: 2rem;
  margin-bottom: 2em;
  text-transform: uppercase;
}

/* Grid Layout with centered items and max-width */
.news-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center items if less than full width */
  gap: 30px;
}

.news-item {
  flex: 0 1 300px; /* Fixed elegant width */
  max-width: 350px; /* Ensure small card even on wide screens */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-item img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.news-content a {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #1a1a1a;
  letter-spacing: 1px;
  border-bottom: 1px solid #1a1a1a;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.news-content a:hover {
  color: #777;
  border-color: #777;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .news-items { gap: 25px; }
  .news-item { flex: 0 1 45%; max-width: 45%; }
}

@media (max-width: 768px) {
  .news-items { flex-direction: column; align-items: center; gap: 20px; }
  .news-item { flex: 0 1 80%; max-width: 80%; }
}

@media (max-width: 480px) {
  .news-item { flex: 0 1 100%; max-width: 100%; }
  .news h2 { font-size: 1.5rem; }
  .news-content h3 { font-size: 1rem; }
}

/* ------------------- Portfolio ------------------- */
.portfolio {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  align-content: center;
}
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ------------------- Contact ------------------- */
.contact {
  background: #f5f5f5;
  text-align: center;
  padding: 100px 20px;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 1em;
  text-transform: uppercase;
}
.contact p {
  max-width: 500px;
  margin: 0 auto 2em;
  color: #555;
}
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.contact-icons a {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.contact-icons a:hover { color: #777; }

/* ------------------- Footer ------------------- */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #eaeaea;
  font-size: 0.9rem;
  color: #777;
}

/* ------------------- Responsive ------------------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav ul { display: none; }
  .menu-toggle { display: flex; }
  .portfolio { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.9rem; }
  .hero .btn { padding: 10px 28px; }
}

/* ------------------- Menu Animation ------------------- */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ------------------- Fade-In Animation ------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-icons a:hover img {
  transform: scale(1.1);
  opacity: 0.7;
}

