/* ================= BASE ================= */
body {
  font-family: "Inter", sans-serif;
  color: #5f5f5f;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* ================= ANIMATION KEYFRAMES ================= */
@keyframes fadeInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= SECTION ================= */
.samantha-journal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  padding-inline: 10px;
  
  /* Initial state - hidden */
  opacity: 0;
  transform: translateY(20px);
  
  /* Animation */
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

/* ================= HEADER ================= */
.journal-header {
  text-align: center;
  margin-bottom: 70px;
  
  /* Initial state - hidden */
  opacity: 0;
  transform: translateY(20px);
  
  /* Animation */
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

.journal-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.2;
  
  /* Initial state - hidden */
  opacity: 0;
  transform: translateY(20px);
  
  /* Animation */
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.title-light {
  color: #7a7a7a;
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  
  /* Initial state - hidden from left */
  opacity: 0;
  transform: translateX(-30px);
  
  /* Animation from left */
  animation: fadeInFromLeft 0.8s ease-out 0.8s forwards;
}

.title-dark {
  color: #2b2b2b;
  font-weight: 600;
  margin-left: 6px;
  display: inline-block;
  
  /* Initial state - hidden from right */
  opacity: 0;
  transform: translateX(30px);
  
  /* Animation from right */
  animation: fadeInFromRight 0.8s ease-out 1s forwards;
}

.journal-header p {
  font-size: 16px;
  line-height: 1.7;
  color: #6f6f6f;
  max-width: 760px;
  margin: 0 auto;
  
  /* Initial state - hidden */
  opacity: 0;
  transform: translateY(20px);
  
  /* Animation */
  animation: fadeInUp 1s ease-out 1.2s forwards;
}

/* ================= GRID CONTENT ================= */
.journal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

/* ================= IMAGE COLUMN ================= */
.journal-image {
  width: 100%;
  height: 100%;
  
  /* Initial state - hidden from left */
  opacity: 0;
  transform: translateX(-50px);
  
  /* Animation from left */
  animation: fadeInFromLeft 1s ease-out 1.4s forwards;
}

.journal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* ================= TEXT COLUMN ================= */
.journal-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: max-content;
  
  /* Initial state - hidden from right */
  opacity: 0;
  transform: translateX(50px);
  
  /* Animation from right */
  animation: fadeInFromRight 1s ease-out 1.4s forwards;
}

.journal-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 500;
  color: #2b2b2b;
  margin-bottom: 24px;
  
  /* Initial state - hidden from right */
  opacity: 0;
  transform: translateX(30px);
  
  /* Animation from right */
  animation: fadeInFromRight 0.8s ease-out 1.6s forwards;
}

.journal-text p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  
  /* Initial state - hidden from right */
  opacity: 0;
  transform: translateX(30px);
  
  /* Animation from right */
  animation: fadeInFromRight 0.8s ease-out 1.8s forwards;
}

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

/* Tablets */
@media (max-width: 1024px) {
  .samantha-journal {
    padding: 60px 20px;
  }

  .journal-content {
    gap: 40px;
  }

  .journal-header h1 {
    font-size: 38px;
  }
}

/* Stack on smaller screens - Reverse animation directions */
@media (max-width: 900px) {
  .journal-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* On mobile, both elements fade in from bottom */
  .journal-image {
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out 1.4s forwards;
  }
  
  .journal-text {
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out 1.6s forwards;
  }
  
  .journal-text h2 {
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.8s forwards;
  }
  
  .journal-text p {
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 2s forwards;
  }

  .journal-image img {
    height: auto;
    max-height: 420px;
  }

  .journal-text h2 {
    font-size: 26px;
  }

  .journal-header h1 {
    font-size: 34px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .samantha-journal {
    padding: 50px 16px;
  }

  .journal-header h1 {
    font-size: 28px;
  }

  .journal-header p,
  .journal-text p {
    font-size: 15px;
  }

  .journal-text h2 {
    font-size: 22px;
  }
  
  /* Faster animations on mobile */
  .samantha-journal,
  .journal-header,
  .journal-header h1,
  .title-light,
  .title-dark,
  .journal-header p,
  .journal-image,
  .journal-text,
  .journal-text h2,
  .journal-text p {
    animation-duration: 0.6s;
  }
}

/* Animation for when section is visible in viewport */
@media (prefers-reduced-motion: no-preference) {
  /* This will trigger when the section becomes visible */
  .samantha-journal {
    /* The animation is already defined above */
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .samantha-journal,
  .journal-header,
  .journal-header h1,
  .title-light,
  .title-dark,
  .journal-header p,
  .journal-image,
  .journal-text,
  .journal-text h2,
  .journal-text p {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Optional: Add hover effects for interactivity */
.journal-image:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.journal-text h2:hover {
  color: #2b2b2b;
  transition: color 0.3s ease;
}/* ================== INSTAGRAM EMBED SECTION ================== */
.sc-ig-wrapper {
    width: 100%;
    background-color: #ffffff;
    padding: 40px 20px;
    box-sizing: border-box;
    animation: scFadeIn 1s ease-in-out;
}

/* Layout container */
.sc-ig-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ================== LEFT TEXT BLOCK ================== */
.sc-ig-text {
    flex: 1 1 280px;
    background-color: #f5ece4;
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    min-height: 200px;
}

.sc-ig-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 600;
    margin: 0;
    color: #333;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.sc-ig-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 3.5vw, 16px);
    font-style: italic;
    margin-top: 12px;
    color: #666;
    max-width: 90%;
    line-height: 1.5;
}

.sc-ig-handle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 3vw, 18px);
    color: #E1306C;
    margin-top: 15px;
    display: inline-block;
}

/* ================== IMAGE GRID ================== */
.sc-ig-grid {
    flex: 2 1 480px;
    display: grid;
    gap: 12px;
}

/* Grid item */
.sc-ig-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.sc-ig-item:hover {
    transform: translateY(-4px);
}

/* Images & videos */
.sc-ig-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover effects */
.sc-ig-item:hover .sc-ig-media {
    transform: scale(1.08);
}

/* Instagram icon */
.sc-ig-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
   
    border-radius: 50%;
    padding: 4px;
    transition: all 0.3s ease;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}



/* Overlay effect */
.sc-ig-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sc-ig-item:hover .sc-ig-overlay {
    opacity: 1;
}

/* ================== MOBILE-FIRST RESPONSIVE DESIGN ================== */

/* Default: Hide mobile-hidden items */
.sc-ig-hidden-mobile {
    display: none;
}

/* Extra small phones (below 480px) */
.sc-ig-container {
    flex-direction: column;
}

.sc-ig-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sc-ig-text {
    padding: 20px 16px;
    min-height: 160px;
}

/* Small phones (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .sc-ig-wrapper {
        padding: 30px 16px;
    }
    
    .sc-ig-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .sc-ig-text h2 {
        font-size: 22px;
    }
}

/* Tablet (768px – 991px) */
@media (min-width: 768px) {
    .sc-ig-container {
        flex-direction: row;
    }
    
    .sc-ig-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    /* Show all items on tablet+ */
    .sc-ig-hidden-mobile {
        display: block;
    }
}

/* Laptop / Large Tablet (992px – 1199px) */
@media (min-width: 992px) {
    .sc-ig-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .sc-ig-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    
    .sc-ig-text {
        padding: 40px 30px;
    }
}

/* ================== ANIMATION ================== */
@keyframes scFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for grid items */
.sc-ig-grid .sc-ig-item:nth-child(1) { animation-delay: 0.1s; }
.sc-ig-grid .sc-ig-item:nth-child(2) { animation-delay: 0.2s; }
.sc-ig-grid .sc-ig-item:nth-child(3) { animation-delay: 0.3s; }
.sc-ig-grid .sc-ig-item:nth-child(4) { animation-delay: 0.4s; }
.sc-ig-grid .sc-ig-item:nth-child(5) { animation-delay: 0.5s; }
.sc-ig-grid .sc-ig-item:nth-child(6) { animation-delay: 0.6s; }
.sc-ig-grid .sc-ig-item:nth-child(7) { animation-delay: 0.7s; }
.sc-ig-grid .sc-ig-item:nth-child(8) { animation-delay: 0.8s; }




.footaa {
  background:  #222;
;
  padding: 60px 20px 30px;
  animation: fadeInfootaa 1.5s ease-in-out forwards;
}

.footaa-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 60px;
}

.footaa-newsletter h2,
.footaa-contact h2 {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.newsletter-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  padding: 10px;
  min-width: 150px;
  transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
  color: #ccc;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #f39c12;
}

.newsletter-form button {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 25px;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #f39c12;
  border-color: #f39c12;
  color: #000;
}

.footaa-contact p {
  margin: 5px 0;
  font-size: 14px;
  color: #ccc;
}

.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 16px;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #f39c12;
  transform: scale(1.2);
}

.footaa-copy {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #666;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInfootaa {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .footaa-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
    margin-top: 10px;
  }
}
