/* Shared Page Styles */
.page-hero {
    min-height: 35vh;
    height: auto;
    padding: clamp(3rem, 10vw, 6rem) 0;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.page-title {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    letter-spacing: clamp(1px, 0.5vw, 5px);
    text-transform: uppercase;
    line-height: 1.2;
}

/* Gallery Page Styles */
.gallery-section {
    padding: clamp(2rem, 8vw, 4rem) 0;
}

.gallery-category-title {
    color: #333;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 600;
    margin-bottom: clamp(1rem, 4vw, 2rem);
    padding-bottom: clamp(0.5rem, 2vw, 1rem);
    border-bottom: 1px solid #ddd;
}

.gallery-img {
    width: 100%;
    height: clamp(200px, 40vw, 300px);
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

/* Gift Cards Page Styles */
.gift-hero {
    padding: 0.5rem 0 !important;
}



.gift-steps-section {
    padding: clamp(2rem, 8vw, 4rem) 0;
}

.step-circle {
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    background-color: #b8860b; /* Gold */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: clamp(10px, 3vw, 15px);
    flex-shrink: 0;
}

.step-item {
    display: flex;
    margin-bottom: clamp(1rem, 4vw, 2rem);
    align-items: flex-start;
}

.step-content h4 {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
    font-weight: 700;
}

.step-content p {
    color: #666;
    font-size: clamp(0.875rem, 2.5vw, 0.95rem);
    line-height: 1.5;
}

.gift-card-note {
    background-color: #fff3e0;
    border-left: 5px solid #ffb74d;
    padding: clamp(1rem, 4vw, 1.5rem);
    margin-top: clamp(1rem, 4vw, 2rem);
    border-radius: 4px;
}

/* Service Page Styles */
.service-img {
    border: 5px solid white;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.service-row:hover .service-img {
    transform: rotate(0deg) scale(1.02);
}

.service-category-title {
    color: #b8860b;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-family: serif;
    margin-bottom: clamp(1rem, 4vw, 2rem);
    font-weight: bold;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    border-bottom: 1px dotted #ddd;
    padding-bottom: clamp(0.25rem, 1vw, 0.5rem);
    color: #555;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-style: italic;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-list li .price {
    font-weight: bold;
    color: #333;
    font-style: normal;
    white-space: nowrap;
}

/* Medical list styling - inherit from service-list */
.medical-list {
    list-style: none;
    padding: 0;
}

.medical-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    border-bottom: 1px dotted #ddd;
    padding-bottom: clamp(0.25rem, 1vw, 0.5rem);
    color: #555;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-style: italic;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
    overflow-wrap: break-word;
}

.medical-list li span:first-child {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.medical-list li .price {
    font-weight: bold;
    color: #333;
    font-style: normal;
    white-space: nowrap;
    flex-shrink: 0;
}


/* ===== MOBILE-FIRST RESPONSIVE BREAKPOINTS FOR PAGES ===== */

/* Small Mobile Enhancement (375px+) */
@media (min-width: 375px) {
    .step-item {
        margin-bottom: 1.5rem;
    }
    
    .service-list li {
        flex-wrap: nowrap;
    }
}

/* Large Mobile Enhancement (414px+) */
@media (min-width: 414px) {
    .page-hero {
        min-height: 38vh;
    }
    
    .gallery-img {
        height: clamp(220px, 35vw, 280px);
    }

}

/* Tablet Transition (768px+) */
@media (min-width: 768px) {
    .page-hero {
        min-height: 42vh;
        padding: clamp(4rem, 8vw, 6rem) 0;
    }
    
    .gallery-img {
        height: 300px;
    }
    
    
    .step-item {
        margin-bottom: 2rem;
    }
    
    .service-list li {
        font-size: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
}

/* Desktop Threshold (1024px+) */
@media (min-width: 1024px) {
    .page-hero {
        min-height: 45vh;
    }
    
    .service-category-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .page-hero {
        padding: 6rem 0;
    }
    
    .gallery-section {
        padding: 4rem 0;
    }
    
    .gift-steps-section {
        padding: 4rem 0;
    }
}



/* ===== RESPONSIVE SERVICE SECTIONS ===== */
.services-list-section {
    padding: clamp(2rem, 6vw, 4rem) 0;
    overflow-x: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .services-list-section {
        padding: clamp(3rem, 6vw, 5rem) 0;
    }
}

/* ===== RESPONSIVE GRID LAYOUTS ===== */
.service-row {
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.service-row .col-lg-5,
.service-row .col-lg-6 {
    overflow: hidden;
    min-width: 0;
}

.service-row .col-lg-5 {
    padding-left: 0 !important;
    padding-right: 1rem !important;
}

.service-row .col-lg-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 767px) {
    .service-row .col-lg-5,
    .service-row .col-lg-6 {
        margin-bottom: 1.5rem;
        width: 100% !important;
    }
    
    .service-row .col-lg-5:last-child,
    .service-row .col-lg-6:last-child {
        margin-bottom: 0;
    }
}