/* Scalp Wellness Page Styles */

/* Image Number Overlay for Identification */
.gallery-item {
    position: relative;
}

.image-number-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border: 2px solid white;
}

/* Hero Section */
.scalp-hero {
    height: 80vh;
    background: linear-gradient(135deg, #9CAF88 0%, #2D5A3D 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
    background-blend-mode: overlay;
}

.scalp-hero .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.scalp-hero .hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.scalp-hero .headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.scalp-hero .subheadline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.scalp-hero .cta-button {
    display: inline-block;
    background: #D4AF37;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.scalp-hero .cta-button:hover {
    background: #6B4423;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.intro-header {
    text-align: center;
    margin-bottom: 60px;
}

.intro-title {
    color: #2D5A3D;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.intro-subtitle {
    color: #D4AF37;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    opacity: 0.9;
}

.intro-with-image {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-text {
    flex: 1;
}

.intro-paragraph {
    margin-bottom: 35px;
}

.intro-paragraph:last-child {
    margin-bottom: 0;
}

.intro-section-heading {
    color: #2D5A3D;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.intro-section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #D4AF37;
    border-radius: 2px;
}

.intro-text p {
    color: #8B8680;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: justify;
}

.intro-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rounded-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rounded-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #F7F5F3;
}

.section-title {
    text-align: center;
    color: #2D5A3D;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    background: linear-gradient(135deg, #9CAF88, #2D5A3D);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 90, 61, 0.7);
    z-index: 1;
}

.service-icon, .service-image h3 {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.service-image h3 {
    font-size: 1.5rem;
    margin: 0;
}

.service-content {
    padding: 25px;
}

.service-content h4 {
    color: #2D5A3D;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-content p {
    color: #8B8680;
    margin-bottom: 20px;
}

.service-benefits {
    list-style: none;
    margin: 20px 0;
}

.service-benefits li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #8B8680;
}

.service-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

.service-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #F7F5F3;
    font-size: 0.9rem;
    color: #8B8680;
}

.service-details i {
    margin-right: 5px;
    color: #D4AF37;
}

.guarantee-badge {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #D4AF37, #F5E6D3);
    border-radius: 10px;
    border-left: 4px solid #D4AF37;
}

.guarantee-text {
    margin: 0;
    font-size: 0.95rem;
    color: #2D5A3D;
    font-weight: 500;
}

.guarantee-text a {
    color: #2D5A3D;
    text-decoration: underline;
    font-weight: 600;
}

.guarantee-text a:hover {
    color: #1a3424;
}

/* Treatment Packages Section */
.treatment-packages-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-subtitle {
    text-align: center;
    color: #8B8680;
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.package-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.package-card.featured {
    border: 2px solid #D4AF37;
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    background: linear-gradient(135deg, #9CAF88 0%, #2D5A3D 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.package-card.featured .package-header {
    background: linear-gradient(135deg, #D4AF37 0%, #6B4423 100%);
}

.package-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.package-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.package-price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.package-content {
    padding: 40px 30px;
}

.package-content h4 {
    color: #2D5A3D;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.package-content p {
    color: #8B8680;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.package-benefits {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.package-benefits li {
    padding: 12px 0;
    position: relative;
    padding-left: 30px;
    color: #8B8680;
    font-size: 1rem;
    line-height: 1.5;
}

.package-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
    font-size: 1.2rem;
}

.package-details {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #F7F5F3;
    border-bottom: 1px solid #F7F5F3;
    font-size: 1rem;
    color: #8B8680;
}

.package-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-details i {
    color: #D4AF37;
    font-size: 1.1rem;
}

.package-cta-button {
    display: block;
    width: 100%;
    background: #2D5A3D;
    color: #fff;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.package-cta-button:hover {
    background: #1a3424;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 61, 0.3);
}

.package-cta-button.featured-btn {
    background: #D4AF37;
}

.package-cta-button.featured-btn:hover {
    background: #6B4423;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Education Section */
.education-section {
    padding: 80px 0;
    background-color: #F7F5F3;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.education-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.education-item h3 {
    color: #2D5A3D;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.education-item h3 i {
    margin-right: 10px;
    color: #D4AF37;
}

.education-item p {
    color: #8B8680;
    line-height: 1.7;
}

.education-image {
    height: 400px;
    background: linear-gradient(135deg, #F5E6D3, #9CAF88);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.education-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 90, 61, 0.4);
    border-radius: 15px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #F7F5F3;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #8B8680;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9CAF88, #D4AF37);
    border-radius: 50%;
}

.author-info h4 {
    color: #2D5A3D;
    margin: 0;
    font-size: 1rem;
}

.author-info span {
    color: #8B8680;
    font-size: 0.9rem;
}

/* Results Gallery Section */
.results-gallery-section {
    padding: 80px 0;
    background-color: #F7F5F3;
}

.results-gallery-section .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-subtitle {
    text-align: center;
    color: #8B8680;
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.results-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
    aspect-ratio: 1;
    min-height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(45, 90, 61, 0.9));
    color: #fff;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .result-overlay {
    transform: translateY(0);
}

.result-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

.result-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.gallery-cta {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.gallery-cta p {
    color: #2D5A3D;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.gallery-cta .cta-button {
    display: inline-block;
    background: #D4AF37;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gallery-cta .cta-button:hover {
    background: #6B4423;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #F7F5F3;
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #D4AF37;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #2D5A3D;
}

.faq-toggle {
    color: #D4AF37;
    font-size: 1.2rem;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 0 20px 20px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer p {
    color: #8B8680;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #9CAF88 0%, #2D5A3D 100%);
    color: #fff;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.cta-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cta-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.cta-image:hover {
    transform: scale(1.02);
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-text .cta-button {
    display: inline-block;
    background: #D4AF37;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-text .cta-button:hover {
    background: #6B4423;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .education-content {
        grid-template-columns: 1fr;
    }
    
    .education-image {
        height: 300px;
        order: -1;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .cta-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .scalp-hero .headline {
        font-size: 2.5rem;
    }
    
    .scalp-hero .subheadline {
        font-size: 1.2rem;
    }
    
    .intro-title {
        font-size: 2.2rem;
    }
    
    .intro-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-header {
        margin-bottom: 40px;
    }
    
    .intro-section-heading {
        font-size: 1.2rem;
    }
    
    .intro-text p {
        text-align: left;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .results-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 15px !important;
        padding: 0 10px !important;
    }
    
    .gallery-item {
        min-height: 250px !important;
    }
}

@media (max-width: 480px) {
    .results-gallery {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px !important;
    }
    
    .gallery-item {
        min-height: 280px !important;
    }
    
    .intro-with-image {
        flex-direction: column;
        gap: 30px;
    }
    
    .intro-image {
        order: -1;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .package-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
}
