body {
  background: #f8f6f3;
  font-family: 'Inter', sans-serif;
  color: #3a3a3a;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

.btn-pastel {
  background: #ef7672;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(229,169,167,0.25);
  transition: all 0.3s ease;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

.btn-pastel:hover:hover {
  background: #07ddd991;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(154,194,150,0.3);
}

.btn-outline-pastel {
  background: transparent;
  color: #ef7672;
  border: 1.5px solid #ef7672;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-outline-pastel:hover {
  background: #ef7672;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(154,194,150,0.3);
}

.text-pastel {
  color: #ef7672;
  transition: color 0.2s;
}

.text-pastel:hover {
  color: #07ddd991;
}

.card, .newsletter-box, .topic-card {
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(186, 176, 160, 0.12);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

#featured .card {
  min-width: 280px !important;
}

@media (max-width: 768px) {
  #featured .card {
    min-width: 220px !important;
  }
}

@media (max-width: 576px) {
  #featured .card {
    min-width: 80% !important;
    margin: 0 auto;
  }
  
  #featured .d-flex {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1.5rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  #featured .card {
    scroll-snap-align: center;
  }
}

#featured .card-img-top {
  height: 180px;
  object-fit: cover;
}

#featured .card-body {
  padding: 1.25rem;
}

#featured .card-title {
  font-size: 1.1rem;
}

#featured .card-text {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.card:hover, .topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(186, 176, 160, 0.18);
}

.hero-section {
  background: linear-gradient(rgba(248, 246, 243, 0.85), rgba(248, 246, 243, 0.85)), 
              url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 1rem;
  position: relative;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem;
    background-attachment: scroll;
  }
  
  .hero-section h2 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b5d8b1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.insta-img {
  height: 120px;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.5rem;
}

@media (max-width: 576px) {
  .insta-img {
    height: 100px;
  }
}

.insta-img-zoom {
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta-img:hover .insta-img-zoom {
  transform: scale(1.15);
}

input:focus, button:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(229,169,167,0.3) !important;
}

.newsletter-box {
  border: 1.5px solid rgba(229,169,167,0.3);
  background: #fff;
  padding: 1.5rem !important;
  border-radius: 1.2rem;
}

@media (max-width: 576px) {
  .newsletter-box {
    padding: 1.25rem !important;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .input-group > .form-control {
    width: 100%;
    border-radius: 0.375rem !important;
    margin-bottom: 0.75rem;
  }
  
  .input-group > .btn {
    width: 100%;
    border-radius: 0.375rem !important;
  }
}

footer {
  background: #f8f6f3 !important;
  border-top: 1px solid rgba(186, 176, 160, 0.2);
}

footer a {
  transition: color 0.2s;
}

footer a:hover {
  color: #ef7672 !important;
}

@media (max-width: 768px) {
  footer h6 {
    margin-top: 1.5rem;
  }
  
  footer .col-md-3:first-of-type h6 {
    margin-top: 0;
  }
}

::-webkit-scrollbar {
  height: 8px;
  background: #f8f6f3;
}
::-webkit-scrollbar-thumb {
  background: #ef7672;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #07ddd991;
}

nav a {
  position: relative;
  padding-bottom: 3px;
  font-weight: 500;
}

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

nav a:hover::after {
  width: 100%;
}

@media (max-width: 576px) {
  nav a {
    font-size: 0.9rem;
    margin: 0 0.5rem !important;
  }
}

.reading-list-item {
  border-left: 3px solid #ef7672;
  padding-left: 1rem;
  transition: transform 0.3s ease;
}

.reading-list-item:hover {
  transform: translateX(5px);
  border-left-color: #07ddd991;
}

@media (max-width: 768px) {
  .reading-list-item img {
    width: 60px;
    height: 90px;
  }
  
  .reading-list-item h5 {
    font-size: 1rem;
  }
}

.topic-card .card-body {
  padding: 1.5rem;
}

@media (max-width: 576px) {
  .topic-card .card-body {
    padding: 1rem;
  }
}

.topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(229,169,167,0.1);
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

@media (max-width: 576px) {
  .topic-icon {
    width: 50px;
    height: 50px;
  }
  
  .topic-icon .fs-2 {
    font-size: 1.25rem !important;
  }
}

.topic-card:hover .topic-icon {
  transform: scale(1.1);
  background: rgba(154,194,150,0.15);
}

.logo-text {
  position: relative;
  display: inline-block;
}

.logo-text::after {
  content: '';
  position: absolute;
  width: 30%;
  height: 3px;
  bottom: -5px;
  left: 35%;
  background-color: #ef7672;
  transition: width 0.3s ease, left 0.3s ease;
}

.logo-text:hover::after {
  width: 100%;
  left: 0;
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
} 