/* General Styles */
body {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
    background-color: rgb(246, 240, 235); /* Soft cream background */
}

/* Typography */
h1, h2 {
    font-family: 'Goudy Bookletter 1911', serif;
    color: #eb794f; /* Warm coral */
}

h3 {
    font-family: 'Lustria', serif;
    font-size: 22px;
    transform: scaleY(1.1); /* Stretches the letters to 130% of their original height */
    letter-spacing: 1px; /* Spaces out the letters */
    color: #111111; 
}

.hero-h1 {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.text-right {
    text-align: right;
}

.welcome-message h3 {
    font-family: 'Noto Serif Display', serif;
    font-size: 30px;
    font-weight: 300; /* Makes the text bolder */
    letter-spacing: 1.5px; /* Spaces out the letters */
    color: #e3e3e3 /* White text for contrast */
}

.welcome-message p {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 18px;
    font-weight: 700; /* Makes the text bolder */
    letter-spacing: 2px; /* Spaces out the letters */
    color: #e3e3e3 /* White text for contrast */
}

/* Welcome Section */
/* Base styles for the hero section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('landscape.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Logo styles */
.logo-container {
    position: absolute;
    top: 20px; /* Positions logo at top-left */
    margin-bottom: 20px; /* Space between logo and welcome message on mobile */
}

.hero-logo {
    width: 400px; /* Increased size, adjust as needed */
}

/* Welcome message styles */
.welcome-message {
    position: absolute;
    bottom: 20px;
    color: #fcfcfc; /* White text for contrast */
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5); /* Shadow for readability */
    background: none; /* Removes transparent background box */
    padding: 0; /* Removes padding */
    max-width: 80%; /* Prevents text from stretching too wide on mobile */
}

/* Desktop layout (screens wider than 900px) */
@media (min-width: 901px) {
    .hero-section {
        display: block; /* Switches to absolute positioning for children */
    }

    .logo-container {
        position: absolute;
        top: 20px; /* Positions logo at top-left */
        left: 20px;
        margin-bottom: 0; /* Removes margin used in mobile layout */
    }

    .welcome-message {
        position: absolute;
        top: 50%; /* Vertically centers the welcome message */
        right: 35px;
        transform: translateY(-50%); /* Adjusts for exact centering */
        text-align: left; /* Aligns text to the left for desktop */
        max-width: 35%; /* Limits width to avoid overlap with the image */
    }
}

/* About Section */
.about-content h1 {
    letter-spacing: 2px; /* Spaces out the letters */
}

.about-content h2 {
    font-family: 'Inspiration', serif;
    font-size: 60px;
    color: #000000 /* White text for contrast */
}

.about-content {
    background: #fcfcfc; 
    padding: 2rem;
    /*border-radius: 10px;*/
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-content a {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
}

.about-content a:hover {
    color: #000000;
    text-decoration: none;
}

.arch-photo {
    border-top-left-radius: 25vw;
    border-top-right-radius: 25vw;
    max-width: 100%;
    height: auto; /* Maintains aspect ratio */
    max-height: 90vh; /* Limits height to fit within the section */
    object-fit: contain; /* Ensures the entire photo is visible */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Services Section - Updated for Three Packages */
#services {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('baby-feet.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding: 5rem 0; /* Added more padding for better spacing */
}

.service-container {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    max-width: 1400px; /* Increased max-width to accommodate three cards */
    width: 100%;
}

.service-container h1 {
    font-family: 'Goudy Bookletter 1911', serif;
    color: #eb794f; /* Warm coral */
    font-size: 56px;
    letter-spacing: 2px; /* Spaces out the letters */
    text-shadow: 0px 0px 4px rgba(101, 101, 101, 0.3); /* Shadow for readability */
}

/* Service Cards - Updated for three cards */
.service-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: rgba(246, 240, 235, 0.9); /* Slightly more opaque for better readability */
    padding: 2rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
    transition: transform 0.3s ease;
    height: 100%;
    border-radius: 10px;
    min-height: 550px; /* Ensures consistent height across all cards */
}

.service-card h2 {
    font-family: 'Lustria', serif;
    font-size: 40px;
    font-weight: 700;
    transform: scaleY(1.1);
    color: #111111;
}

.service-card h3 {
    font-family: 'Lustria', serif;
    font-size: 32px; /* Slightly smaller for better fit with three cards */
    transform: scaleY(1.1);
    color: #111111;
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-8px); /* Slightly more pronounced lift effect */
}

/* Price Styling */
.service-card .price {
    margin-top: auto; /* Pushes the price to the bottom */
    font-size: 1.2rem;
    font-weight: bold;
}

/* Included section styling */
.service-card .included ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.service-card .included li {
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

/* Consultation note styling */
.consultation-note {
    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.8); /* Same shadow as main heading */
}

/* Ribbon Styling */
.ribbon {
    position: absolute;
    top: 10px;
    right: -10px;
    background-color: #eb794f; /* Warm Coral or your preferred color */
    color: #fcfcfc; /* White text for contrast */
    padding: 5px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px; /* Optional: Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Subtle shadow */
    transform: rotate(25deg); /* Optional: Slight rotation */
    z-index: 10; /* Ensures it sits above other elements */
}

/* Responsive adjustments for three cards */
@media (max-width: 991px) {
    /* On tablets and smaller, show 2 cards per row, then 1 */
    .service-container .row .col-lg-4 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .service-card {
        min-height: auto; /* Remove fixed height on mobile */
    }
}

@media (min-width: 992px) {
    /* On desktop, ensure equal width for three cards */
    .service-container .row .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .service-container h1 {
        font-size: 42px; /* Smaller heading on mobile */
    }
    
    .service-card h3 {
        font-size: 24px; /* Smaller card titles on mobile */
    }
    
    .service-container {
        padding: 1rem; /* Less padding on mobile */
    }
}

/* FAQ Section */
#faq {
    padding: 5rem 0;
}

#faq h2 {
    font-family: 'Goudy Bookletter 1911', serif;
    color: #eb794f; /* Warm Coral */
    font-size: 48px;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background-color: #fcfcfc !important; /* White */
    color: #eb794f !important; /* Warm Coral */
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: #eb794f !important; /* Warm Coral */
    font-weight: 500;
    color: #fcfcfc !important; /* White */
}

.accordion-body {
    background-color: #fcfcfc; /* White */
    padding: 1.5rem;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.8;
}

.accordion-body a {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
}

.accordion-body a:hover {
    color: #000000;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #faq h2 {
        font-size: 1.8rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .accordion-body {
        font-size: 1rem;
    }
}

/* Testimonials Section */
#testimonials {
    padding: 5rem 0;
}

#testimonials h2 {
   font-family: 'Goudy Bookletter 1911', serif;
    color: #eb794f;
    font-size: 48px;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: #fcfcfc;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-quote {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-name {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    font-style: italic;
    text-align: right;
}

/* DESKTOP CAROUSEL ONLY - Specific selectors */
#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(235, 121, 79, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#testimonialsCarousel .carousel-control-prev {
    left: -25px;
}

#testimonialsCarousel .carousel-control-next {
    right: -25px;
}

#testimonialsCarousel .carousel-control-prev:hover,
#testimonialsCarousel .carousel-control-next:hover {
    background-color: rgba(235, 121, 79, 1);
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

#testimonialsCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#testimonialsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(235, 121, 79, 0.5);
    border: none;
    margin: 0 5px;
}

#testimonialsCarousel .carousel-indicators button.active {
    background-color: #eb794f;
}

/* Desktop carousel specific card styling */
#testimonialsCarousel .carousel-item .testimonial-card {
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* MOBILE CAROUSEL ONLY - Specific selectors */
#mobileTestimonialsCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#mobileTestimonialsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(235, 121, 79, 0.5);
    border: none;
    margin: 0 5px;
}

#mobileTestimonialsCarousel .carousel-indicators button.active {
    background-color: #eb794f;
}

/* Mobile responsive - hide/show appropriate carousel */
@media (max-width: 767px) {
    /* Completely hide desktop carousel */
    #testimonialsCarousel {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Show mobile carousel with fixed height */
    #mobileTestimonialsCarousel {
        display: block !important;
        visibility: visible !important;
        min-height: 500px;
        position: relative;
    }
    
    #mobileTestimonialsCarousel .carousel-inner {
        min-height: 450px;
        position: relative;
    }
    
    #mobileTestimonialsCarousel .carousel-item {
        min-height: 450px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        display: none;
    }
    
    #mobileTestimonialsCarousel .carousel-item.active {
        display: block;
        position: relative;
    }
    
    #mobileTestimonialsCarousel .testimonial-card {
        width: 100%;
        margin-bottom: 0;
    }
    
    #mobileTestimonialsCarousel .carousel-indicators {
        position: absolute;
        bottom: -50px;
    }
    
    #testimonials h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        margin-bottom: 0;
    }
}

/* Philosophy Section */
.philosophy-content h1 {
    letter-spacing: 2px; /* Spaces out the letters */
}

.philosophy-content {
    background: #fcfcfc; 
    padding: 2rem;
    /*border-radius: 10px;*/
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.philosophy-photo {
    max-width: 100%;
    height: auto; /* Maintains aspect ratio */
    max-height: 80vh; /* Limits height to fit within the section */
    object-fit: contain; /* Ensures the entire photo is visible */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Manual Image Gallery Section */
#gallery {
    background-color: rgb(246, 240, 235);
    padding: 5rem 0;
}

#gallery h2 {
    font-family: 'Goudy Bookletter 1911', serif;
    color: #eb794f;
    font-size: 48px;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.image-gallery {
    max-width: 1400px; /* Increased from 1200px for wider layout */
    margin: 0 auto;
    padding: 0 1rem; /* Minimal side padding */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    aspect-ratio: 1/1; /* 1:1 aspect ratio (square) */
    background: #fcfcfc;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container properly */
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Custom minimal spacing - override Bootstrap defaults */
.image-gallery .row {
    --bs-gutter-x: 8px;
    --bs-gutter-y: 8px;
    margin: 0;
}

.image-gallery .row > * {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    margin-bottom: calc(var(--bs-gutter-y));
}

/* Remove any default Bootstrap spacing that might interfere */
.image-gallery .col-lg-4 {
    margin-bottom: 8px !important; /* Force consistent row spacing */
}

/* Make sure last row doesn't have bottom margin */
.image-gallery .row > *:nth-last-child(-n+3) {
    margin-bottom: 0;
}

/* Gallery Carousel Controls */
#gallery .carousel-control-prev,
#gallery .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(235, 121, 79, 0.8); /* Warm coral with transparency */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#gallery .carousel-control-prev {
    left: -25px;
}

#gallery .carousel-control-next {
    right: -25px;
}

#gallery .carousel-control-prev:hover,
#gallery .carousel-control-next:hover {
    background-color: rgba(235, 121, 79, 1); /* Solid coral on hover */
}

#gallery .carousel-control-prev-icon,
#gallery .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

/* Gallery Carousel Indicators */
#gallery .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#gallery .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(235, 121, 79, 0.5);
    border: none;
    margin: 0 5px;
}

#gallery .carousel-indicators button.active {
    background-color: #eb794f; /* Solid coral for active indicator */
}

/* Responsive adjustments */
@media (min-width: 992px) {
    /* Desktop: 3 columns */
    .image-gallery .row .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    /* Tablets: 2 columns */
    .image-gallery .row .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    /* Mobile: 2 columns instead of 1 */
    #gallery h2 {
        font-size: 1.8rem;
    }
    
    .image-gallery .row .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .image-gallery {
        padding: 0 0.5rem; /* Even less padding on mobile */
    }
    
    /* Hide carousel arrows on mobile - users can swipe */
    #gallery .carousel-control-prev,
    #gallery .carousel-control-next {
        display: none;
    }
    
    /* Adjust carousel indicators for mobile */
    #gallery .carousel-indicators {
        bottom: -30px; /* Bring indicators closer on mobile */
    }
}

/* Contact Section */
#contact h1 {
    font-size: 48px;
    letter-spacing: 2px; /* Spaces out the letters */
}

.form-control, .form-select {
    border-radius: 5px;
}

.btn-primary {
    background-color: #eb794f;
    border: none;
}

.btn-primary:hover {
    background-color: #ef7446;
}

/* Footer */
footer {
    background: #fcfcfc;
}

.social-icon {
    color: #eb794f;
    font-size: 1.2rem;
}

.social-icon:hover {
    color: #ef7446;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section { height: 80vh; }
    .hero-logo { max-width: 150px; }
    .w-50 { width: 90% !important; }
}