/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  /* New Color Palette */
  --brand-pink: #CF145A;
  --brand-color: #CF145A;
 
  --brand-blue: #CF145A;
  
  
  --purple-indigo:  #CF145A; /* Replaced old primary with new Blue */
  --cta-purple:  #CF145A;    /* Replaced CTA with new Pink */
  --cta-hover: #A00F45;     /* Darker version of Pink */
  
  --bg-main:  #F5F3FA;
  --white: #FFFFFF;

  --heading-dark: #2E2B4F;
  --text-body:  #5F6B73;
  --text-muted:  #8A9AA3;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --transition: 0.3s ease-in-out;
  --shadow-card: 0 10px 30px rgba(0, 111, 159, 0.1);
  --shadow-hover: 0 15px 40px rgba(207, 20, 90, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body { 
    font-family: var(--font-body);
    background: var(--bg-main); 
    color: var(--text-body); 
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-dark);
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   UTILITIES
=========================== */
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--brand-pink);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(207, 20, 90, 0.3);
}

.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(207, 20, 90, 0.4);
}

.btn-outline {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: var(--white);
}

/* ===========================
   HEADER & NAV
=========================== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    height: 80px; display:flex; align-items:center; justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.logo span { color: var(--brand-pink); }

.nav-menu {
    display:flex; list-style:none; gap: 2rem; align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--heading-dark);
    position: relative;
}

.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--brand-pink); transition: var(--transition);
}

.nav-link:hover { color: var(--brand-pink); }
.nav-link:hover::after { width: 100%; }

.nav-link.active { color: var(--brand-pink); }
.nav-link.active::after { width: 100%; }
/* Logo Image Styling */
.logo img {
    height: 65px; /* Adjust this value to fit your header height */
    width: auto;  /* Maintains the aspect ratio */
    display: block;
    object-fit: contain;
}

/* Optional: If you want the logo to be slightly larger on mobile */
@media (max-width: 768px) {
    .logo img {
        height: 40px; 
    }
}

.mobile-toggle { display: none; font-size: 1.5rem; color: var(--heading-dark); }

/* ===========================
   HERO SECTION
=========================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 111, 159, 0.5), rgba(46, 43, 79, 0.6)), url('images/hero/heroimage.jpg') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* ===========================
   SECTIONS GENERAL
=========================== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-dark);
}

.section-subtitle {
    color: var(--brand-pink);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

/* ===========================
   SERVICES (UPDATED)
=========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%; /* Equal height */
    display: flex;
    flex-direction: column;
}

/* Remove padding from main card to let image touch edges, add padding to content div */
.service-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 { 
    margin-bottom: 1rem; 
    font-size: 1.5rem; 
    color: var(--brand-blue);
}

/* ===========================
   SPECIAL OFFERS (UPDATED)
=========================== */
.offers-section {
    background: linear-gradient(135deg, var(--bg-main) 0%, #E8F4FA 100%);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.offer-link {
    display: block;
    height: 100%;
}

.offer-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Changed to column for equal sizing easily */
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%; /* Force full height of grid cell */
}

.offer-link:hover .offer-card { 
    transform: scale(1.02); 
    box-shadow: var(--shadow-hover);
}

.offer-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
}

.offer-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-tag {
    background: var(--brand-pink);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 1rem;
}

/* ===========================
   WELCOME SECTION
=========================== */
.welcome-section {
    background: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-img {
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

/* ===========================
   TESTIMONIALS (UPDATED)
=========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--brand-pink);
}

.stars { color: #FFD700; margin-bottom: 1rem; }
.client-name { font-weight: 700; color: var(--brand-blue); margin-top: 1rem; display: block; }

/* ===========================
   BOOKING SECTION
=========================== */
.booking-section {
    background: linear-gradient(rgba(0, 111, 159, 0.9), rgba(207, 20, 90, 0.8)), url('images/hero/booking-hero.jpg') center/cover;
    color: var(--white);
}

.booking-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--heading-dark);
}

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 { color: var(--white); margin-bottom: 1.5rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.8rem; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--brand-pink); }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: var(--text-muted);
}

/* ===========================
   ANIMATIONS
=========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
    .hero-content h1 { font-size: 3rem; }
    
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 80px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active { transform: translateY(0); }
    
    .welcome-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    
    .btn { padding: 10px 20px; font-size: 0.9rem; }
}


/* 1. Define the Zoom In Animation */
@keyframes zoomInFade {
    0% {
        opacity: 0;
        transform: scale(0.5); /* Starts at 50% size */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Ends at 100% size */
    }
}

/* 2. Apply to the Heading */
.hero-content h1 {
    opacity: 0; /* Hide initially to prevent flashing */
    animation: zoomInFade 0.8s ease-out forwards; /* Run for 0.8 seconds */
    animation-delay: 0.2s; /* Wait 0.2s before starting */
}

/* 3. Apply to the Paragraph */
.hero-content p {
    opacity: 0; /* Hide initially */
    animation: zoomInFade 0.8s ease-out forwards;
    animation-delay: 0.6s; /* Wait 0.6s so it comes in after the H1 */
}
/* 1. Define the Slide Up Animation */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px); /* Starts 30px lower than normal */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Moves to original position */
    }
}

/* 2. Apply to the Button */
.hero-content .btn {
    opacity: 0; /* Keep hidden initially */
    animation: slideUpFade 0.8s ease-out forwards;
    
    /* Delay ensures it appears AFTER the text */
    animation-delay: 1s; 
}
/* --- 1. Define the Animations --- */

/* Text Slide Down */
@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Card Slide Up */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 2. Header Text (Slower) --- */
.text-center .section-subtitle {
    display: inline-block;
    opacity: 0;
    /* Changed duration from 0.8s to 1.2s for a relaxed feel */
    animation: slideDownFade 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

.text-center .section-title {
    opacity: 0;
    animation: slideDownFade 1.2s ease-out forwards;
    animation-delay: 0.6s;
}

.text-center p {
    opacity: 0;
    animation: slideDownFade 1.2s ease-out forwards;
    animation-delay: 0.9s;
}

/* --- 3. Service Cards (One by One - Slower) --- */

.services-grid .service-card {
    opacity: 0;
    /* Duration increased to 1.2s for a slow rise */
    animation: slideUpFade 1.2s ease-out forwards;
}

/* Increased gap between cards to 0.5s (was 0.2s) */
.services-grid .service-card:nth-child(1) {
    animation-delay: 1.2s; /* Starts after text */
}

.services-grid .service-card:nth-child(2) {
    animation-delay: 1.7s; /* 0.5s gap */
}

.services-grid .service-card:nth-child(3) {
    animation-delay: 2.2s; /* 0.5s gap */
}

.services-grid .service-card:nth-child(4) {
    animation-delay: 2.7s; /* 0.5s gap */
}

/* Button at the end */
.text-center .btn {
    opacity: 0;
    animation: slideUpFade 1.2s ease-out forwards;
    animation-delay: 3.2s; /* Comes after last card */
}
/* --- 1. Define Animations --- */
@keyframes slideDownFade {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomInFade {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- 2. Initial State (Hidden) --- */
/* Everything is hidden until the scroll trigger happens */
.offers-section .section-subtitle,
.offers-section .section-title,
.offers-grid .offer-link {
    opacity: 0; 
}

/* --- 3. Triggered Animation (When Scrolled) --- */

/* Subtitle Animation */
.offers-section .section-subtitle.start-animation {
    animation: slideDownFade 1s ease-out forwards;
    animation-delay: 0.2s;
}

/* Title Animation */
.offers-section .section-title.start-animation {
    animation: slideDownFade 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* Offer Cards Animation */
.offers-grid .offer-link.start-animation {
    animation: zoomInFade 1s ease-out forwards;
}

/* Staggered Delays for Cards */
/* Note: We use the combined selector to ensure delay applies correctly */
.offers-grid .offer-link:nth-child(1).start-animation {
    animation-delay: 0.8s;
}

.offers-grid .offer-link:nth-child(2).start-animation {
    animation-delay: 1.2s;
}

.offers-grid .offer-link:nth-child(3).start-animation {
    animation-delay: 1.6s;
}
/* --- 1. Animation Definitions --- */
@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* --- 2. Initial Hidden State --- */
/* We hide these initially so they don't flash on screen before animating */
.welcome-text .section-subtitle,
.welcome-text .section-title,
.welcome-text p,
.welcome-text .btn,
.welcome-img-wrapper {
    opacity: 0;
}

/* --- 3. Animation Triggers (Only works when JS adds 'start-animation') --- */

/* Subtitle */
.welcome-text .section-subtitle.start-animation {
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.2s;
}

/* Title */
.welcome-text .section-title.start-animation {
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.4s;
}

/* Paragraphs */
/* This targets the 1st paragraph specifically */
.welcome-text p:nth-of-type(1).start-animation {
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.6s;
}

/* This targets the 2nd paragraph specifically */
.welcome-text p:nth-of-type(2).start-animation {
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.8s;
}

/* Button */
.welcome-text .btn.start-animation {
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 1.0s;
}

/* Image Wrapper (Right Side) */
.welcome-img-wrapper.start-animation {
    animation: slideInRight 1.2s ease-out forwards;
    animation-delay: 0.4s;
}
/* --- 1. Animation Definition (Slide Up) --- */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px); /* Starts 50px lower */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 2. Initial State (Hidden) --- */
/* Hide the titles and the cards initially */
.text-center .section-subtitle,
.text-center .section-title,
.testimonials-grid .testimonial-card {
    opacity: 0;
}

/* --- 3. Animation Triggers (When 'start-animation' is added) --- */

/* Subtitle (First) */
.text-center .section-subtitle.start-animation {
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.2s;
}

/* Title (Second) */
.text-center .section-title.start-animation {
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.4s;
}

/* Testimonial Cards (One by One - Slow) */
.testimonials-grid .testimonial-card.start-animation {
    animation: slideUpFade 1.2s ease-out forwards; /* 1.2s duration for slow rise */
}

/* Staggering the cards */
.testimonials-grid .testimonial-card:nth-child(1).start-animation {
    animation-delay: 0.8s; /* Starts after title finishes */
}

.testimonials-grid .testimonial-card:nth-child(2).start-animation {
    animation-delay: 1.3s; /* 0.5s gap */
}

.testimonials-grid .testimonial-card:nth-child(3).start-animation {
    animation-delay: 1.8s; /* 0.5s gap */
}
/* --- 1. Animation Definition --- */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px); /* Starts 50px lower */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 2. Initial State (Hidden) --- */
.booking-form {
    opacity: 0; /* Hidden initially */
}

/* --- 3. Animation Trigger --- */
.booking-form.start-animation {
    /* 1s duration for a smooth entrance */
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.2s; /* Short wait before starting */
}