body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #e2d3d8;
    color: #4B004B;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    body {
        font-size: 0.9em;
        padding:0;
    }
} 

/*===================== Hero Section =================== */
/* ===== HEADER BASE ===== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    z-index: 10;
    background: transparent;
    box-sizing: border-box;
}

header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ff4eb8;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: default;
}

header h2 span {
    color: #fff;
}

/* ===== DEFAULT NAV (DESKTOP VIEW) ===== */
.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ff4eb8;
}

/* Hide toggle and close button on large screens */
.menu-toggle,
.nav-links .close-btn {
    display: none;
}

/* ===== MOBILE NAVIGATION ===== */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        z-index: 100;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -50%;
        width: 40%;
        height: 100vh;
        background-color: #dd9ca5;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1rem;
        padding-left: 0.1rem;
        transition: right 0.3s ease;
        z-index: 2000;
    }
    .nav.active {
        right: 0;
    }
    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 80%;
    }
    .nav-links .close-btn {
        display: block;
        align-self: flex-end;
        font-size: 2.3rem;
        cursor: pointer;
        color: #fff;
    }
    .close-btn {
        font-size: 2.5rem;
    }
    .nav a {
        font-size: 1.2rem;
        font-weight: 600;
        color: #fff;
    }
    header h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .nav {
        width: 60%;
        right: -60%;
        padding: 0;
    }
    .nav.active {
        right: 0;
    }
}

.hero {
    position: relative;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.hero-text p{
    font-size: 1.2rem;
}

.cta-button {
    background: linear-gradient(90deg, #ff4eb8, #e91e63);
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(233, 30, 99, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.6);
    }
    70% {
        transform: scale(1.07);
        box-shadow: 0 0 0 15px rgba(233, 30, 99, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0.2rem;
        min-height: 95vh;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 90vh;
    }
}

/*===================== Services Section =================== */
.services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(135deg, #ffe6ec 0%, #d63965 50%, #fbe7f2 100%);
}

.services h2 {
    padding-top: 1.5rem;
    font-size: 2.2rem;
    color: #a0006d;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 5px 15px rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 2rem;
    justify-content: center;
}

.info-card {
    background-color: #dd9ca5;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;

    opacity: 0;
    transform: translateY(30px);

}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.info-card:hover::before {
    background: linear-gradient(to top, rgba(255, 20, 147, 0.25), rgba(0, 0, 0, 0.25));
}


.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 20, 147, 0.5), rgba(0, 0, 0, 0.6));
    border-radius: 12px;
    z-index: 1;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    letter-spacing: 0.5px;
}
.info-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #fff;
}

.info-card h3,
.info-card p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Specific images per service */
.nails {
    background-image: url('images/services/nails.jpg');
}

.makeup {
    background-image: url('images/services/makeup.jpg');
}

.hair {
    background-image: url('images/services/hair.jpg');
}

@media (max-width: 600px) {
    .info-grid {
        flex-direction: column;
        align-items: center;
    }
    .info-card {
        width: 90%;
    }
    .services h2 {
        width: 70%;
        text-align: center;
        margin: 0 auto;
    }
}

/*===================== About Section =================== */
.about {
    background: linear-gradient(135deg, #fff0f5, #ffe6f0);
    padding: 40px 20px;
    text-align: center;
    color: #4B004B;
}

.about-container {
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin-bottom: 25px;
    color: #C71585;
    position: relative;
}

.about h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #ff4eb8;
    margin: 15px auto 0;
    border-radius: 5px;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: #5c005c;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

@media (max-width: 600px) {
    .about-container {
        padding: 0 15px;
    }
    .about h2 {
        font-size: 2rem;
    }
    .about-container p {
        font-size: 1.1rem;
    }
}

/*===================== Testimonial Section =================== */
.testimonials {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(180deg, #FFDDEE 0%, #FFF0F5 100%);
}

.testimonials h2 {
    font-family: 'Playfair Display', serif;
    color: #C71585;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    padding: 30px 20px;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(199, 21, 133, 0.3);
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5a005a;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-card blockquote::before {
    content: "❝";
    font-size: 2rem;
    color: #C71585;
    position: absolute;
    top: -15px;
    left: -10px;
}

.testimonial-card blockquote::after {
    content: "❞";
    font-size: 2rem;
    color: #C71585;
    position: absolute;
    bottom: -10px;
    right: -5px;
}

.client-name {
    font-weight: bold;
    color: #800080;
    font-size: 1rem;
}

.client-name span {
    color: #C71585;
}

/* Responsive adjustments */
@media (max-width: 700px) {
    .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }
    .testimonials h2 {
        font-size: 1.8rem;
    }
}

/*===================== Footer Section =================== */
.site-footer {
    display: flex;
    flex-direction: column;
    background-color: #FF69B4;
    color: #FFFFFF;
    text-align: left;
    padding: 40px 20px 20px;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 30px;
}

.footer-brand {
    flex: 2;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #fff;
}

.footer-brand p {
    margin-top: 15px;
    line-height: 1.6;
}

.footer-links, .footer-contact, .footer-socials {
    flex: 1;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-links li {
    margin-bottom: 12px;
}

.footer-links a, .footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    color:#e91e63;
}

.footer-contact p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links img {
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.15);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    margin: 5px 0;
}

h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 15px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-contact, .footer-socials {
        margin-bottom: 30px;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ===== Scroll Reveal Animation Base ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}