/* ====== Slider Container and Slides ====== */

/* General Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffdae0;
    transition: background-color 1s ease-in-out;
}

/* Container for slides */
.slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Each individual slide */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0; /* Hidden by default */
}

/* Responsive images inside slides */
.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    right: 0;
    bottom: 0;
}

/* Overlay for soft tint effect */
.slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 182, 193, 0.3);
    z-index: 1;
}

/* ====== Text Overlay Styles ====== */
.text-overlay {
    position: absolute;
    text-align: center;
    z-index: 10;
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 2px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    background: rgba(200, 34, 59, 0.2); /* Soft pink with low opacity */
    border-radius: 10px;
    backdrop-filter: blur(5px); /* Subtle blur */
    max-width: 80%;
    animation: fadeInUp 1s ease-in-out forwards;
}

/* Title styling inside overlay */
.title {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 3px;
    opacity: 0; /* Initially hidden for animation */
}

/* Subtitle styling */
.subtitle {
    font-size: 2rem;
    margin-top: 20px;
    letter-spacing: 1px;
    font-weight: 300;
    opacity: 0; /* Initially hidden for animation */
}

/* Slide button overlay */
.slide-btn-overlay {
    position: absolute;
    bottom: -60px; /* Positioned just below text */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: #c8223b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0; /* Initially hidden for animation */
    transition: opacity 1s ease-in-out;
    z-index: 2;
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 1024px) {
    .text-overlay {
        max-width: 90%;
        padding: 15px;
    }
    .title {
        font-size: 3rem;
    }
    .subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .text-overlay {
        max-width: 95%;
        padding: 10px;
    }
    .title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .text-overlay {
        max-width: 95%;
        padding: 8px;
    }
    .title {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
}

/* ====== Image Slider Section Styling ====== */
.image-slider-section {
    background: linear-gradient(135deg, #b99191a1, #c4faf0); /* Soft pink to light purple */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ====== Swiper Styles ====== */
.swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 500px;
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

/* ====== Popup Styles ====== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #b99191a1, #c4faf0);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden; /* Avoid scrollbars */
}

.popup img {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 80vh; /* Restrict height on small devices */
}

/* Popup close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive popup image */
@media (max-width: 768px) {
    .popup img {
        max-width: 90%;
        max-height: 80vh;
    }
}

/* ====== Social Icon Styles ====== */
.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 15px rgb(0 0 0 / 0.15);
    transition: all 0.4s cubic-bezier(.22,.61,.36,1);
    transform: translateY(0);
}

.social-icon:hover {
    transform: translateY(-7px) scale(1.25);
    box-shadow: 0 18px 40px rgb(0 0 0 / 0.30);
}

.social-icon i {
    font-size: 20px;
}

/* ====== Section Title Styles ====== */
.section-title {
    font-family: 'Georgia', serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: #be185d; /* deep pink */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    user-select: none;
}

.section-icon {
    font-size: 1.6rem;
    line-height: 1;
    color: #db2777;
    filter: drop-shadow(0 1px 1px rgba(219, 39, 119, 0.6));
    transition: transform 0.3s ease, color 0.3s ease;
}

.section-title:hover .section-icon {
    transform: scale(1.3) rotate(15deg);
    color: #be185d;
    filter: drop-shadow(0 2px 6px rgba(190, 24, 93, 0.9));
}

.section-text {
    flex-grow: 1;
}

.section-underline {
    flex-shrink: 0;
    width: 65px;
    height: 3px;
    background: linear-gradient(90deg, #db2777, #be185d);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(219, 39, 119, 0.7);
    transition: width 0.4s ease;
    margin-left: 15px;
}

.section-title:hover .section-underline {
    width: 120px;
    box-shadow: 0 5px 20px rgba(219, 39, 119, 0.9);
}

/* ====== Animation Keyframes ====== */
@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
@keyframes grow {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes float {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.8;
    }
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation utility classes */
.animate-draw-circle {
    animation: drawCircle 1.5s ease-out forwards;
}
.animate-pulse {
    animation: pulse 2s infinite 1s;
}
.animate-grow {
    animation: grow 0.8s ease-out forwards;
}
.animate-float {
    animation: float 3s infinite ease-in-out;
}
.animate-bounce {
    animation: bounce 1s infinite;
}
.animate-fade-in {
    animation: fadeIn 0.3s ease forwards;
}

/* ====== Button Hover Effects ====== */
    /* Navigation */
    .nav-glass {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(16px);
      box-shadow: 0 2px 8px rgba(183, 110, 121, 0.15);
      border-bottom: 1px solid rgba(183, 110, 121, 0.4);
      animation: fadeInDown 0.8s ease forwards;
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Links & Buttons */
    .nav-link, .mobile-nav-link {
      position: relative;
      font-weight: 500;
      font-size: 14px;
      transition: all 0.3s ease;
    }
    
    .nav-link {
      color: #4a4a4a;
      white-space: nowrap;
      padding: 0 0.75rem;
    }
    
    .nav-link::before {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 50%;
      width: 0%;
      height: 2px;
      background-color: #b76e79;
      transform: translateX(-50%);
      transition: 0.3s ease;
    }

    .nav-link:hover::before,
    .nav-link.active::before { width: 100%; }

    .nav-link:hover,
    .nav-link.active,
    .mobile-nav-link:hover,
    .mobile-nav-link.active {
      color: #b76e79;
    }

    .mobile-nav-link {
      display: block;
      padding: 0.5rem 0;
      color: #4a5568;
      border-bottom: 2px solid transparent;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
      border-bottom-color: #b76e79;
    }

    /* Icons & Book Button */
    .icon-btn {
      transition: all 0.3s ease;
      color: #4a5568;
    }

    .icon-btn:hover {
      transform: scale(1.1);
      color: #b76e79;
    }

    .book-btn {
      background: linear-gradient(to right, #c86f85, #b76e79);
      color: white;
      font-weight: 500;
      padding: 0.4rem 1rem;
      border-radius: 9999px;
      box-shadow: 0 4px 12px rgba(183, 110, 121, 0.4);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      white-space: nowrap;
      font-size: 14px;
    }

    .book-btn::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 200%;
      height: 100%;
      background: rgba(255,255,255,0.1);
      transform: skewX(-30deg);
      transition: 0.75s;
    }

    .book-btn:hover::before { left: 100%; }
    .book-btn:hover {
      background: linear-gradient(to right, #b76e79, #a55c6a);
      box-shadow: 0 6px 20px rgba(183, 110, 121, 0.5);
    }

    /* Mobile Menu */
    .mobile-menu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    .mobile-menu.open { max-height: 500px; }

    /* Desktop Icons */
    .desktop-icons {
      display: flex;
      gap: 1rem;
      margin-left: auto;
    }

    .desktop-icons a {
      transition: opacity 0.3s, transform 0.3s, width 0.3s, margin 0.3s;
    }

    /* Progressive Hiding */
    @media (max-width: 1550px) {
      .desktop-icons .icon-whatsapp {
        opacity: 0;
        width: 0;
        margin: 0;
        transform: translateX(10px);
        pointer-events: none;
      }
    }
    @media (max-width: 1450px) {
      .desktop-icons .icon-search {
        opacity: 0;
        width: 0;
        margin: 0;
        transform: translateX(10px);
        pointer-events: none;
      }
    }
    @media (max-width: 1350px) {
      .desktop-icons .icon-user {
        opacity: 0;
        width: 0;
        margin: 0;
        transform: translateX(10px);
        pointer-events: none;
      }
    }
    @media (max-width: 1300px) {
      .desktop-icons .icon-book {
        opacity: 0;
        width: 0;
        margin: 0;
        transform: translateX(10px);
        pointer-events: none;
      }
    }

    /* Helper Function */
@media (min-width: 769px) {
  .hide-item {
    opacity: 0;
    width: 0;
    margin: 0;
    transform: translateX(10px);
    pointer-events: none;
  }
}


    /* Responsive Toggles */
    @media (max-width: 768px) {
      .desktop-menu, .desktop-icons { display: none !important; }
      .mobile-menu-button { display: block !important; }
    }

    @media (min-width: 769px) {
      .desktop-menu { display: flex !important; }
      .mobile-menu-button { display: none !important; }
    }
