/* =========================================================
   CROWN HER HAIR
   LUXURY HAIR & BEAUTY
   COMPLETE WEBSITE STYLES
========================================================= */

/* =========================================================
   FONTS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: #080808;
    color: #ffffff;
    font-family: 'Bai Jamjuree', sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================================
   GENERAL CONTAINER
========================================================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

section {
    display: block;
    width: 100%;
    padding: 90px 0;
    clear: both;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    margin-top: 0;
}

.section-title {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    display: block;
    color: #ff69b4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title h2 {
    display: block;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.section-title p {
    display: block;
    max-width: 650px;
    margin: 15px auto 0;
    color: #999999;
}


/* =========================================================
   HEADER
========================================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 105, 180, 0.12);
}

.navbar {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 150px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

nav a {
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    transition: 0.3s ease;
}

nav a:hover {
    color: #ff69b4;
}

.nav-book {
    background: #ff69b4;
    color: #080808 !important;
    padding: 11px 22px;
    border-radius: 30px;
    font-weight: 700;
}

.nav-book:hover {
    background: #ffffff;
    color: #080808 !important;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    position: relative;
    padding-top: 85px;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.72) 45%,
            rgba(0, 0, 0, 0.35) 100%
        ),
        url('../images/bg.jpg') center center / cover no-repeat;
}

.hero-content {
    display: block;
    width: 100%;
    max-width: 700px;
}

.hero-tag {
    display: block;
    color: #ff69b4;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    display: block;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 1.05;
    font-weight: 500;
    margin: 0 0 25px;
}

.hero h1 span {
    color: #ff69b4;
}

.hero p {
    display: block;
    max-width: 580px;
    color: #c5c5c5;
    font-size: 17px;
    margin: 0 0 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary {
    background: #ff69b4;
    color: #080808;
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #ff69b4;
    color: #ff69b4;
}

.btn-outline:hover {
    background: #ff69b4;
    color: #080808;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    display: block;
    width: 100%;
    background: #0d0d0d;
}

.about-grid {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.about-image {
    display: block;
    position: relative;
    width: 100%;
}

.about-image img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 25px;
}

.about-image::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 105, 180, 0.4);
    border-radius: 25px;
    top: 15px;
    left: 15px;
    z-index: 0;
    pointer-events: none;
}

.about-content {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.about-content > span {
    display: block;
    color: #ff69b4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-content h2 {
    display: block;
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 20px;
}

.about-content p {
    display: block;
    color: #aaaaaa;
    margin: 0 0 18px;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    display: block;
    width: 100%;
    background: #080808;
}

.services-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.service-card {
    display: block;
    width: 100%;
    background: #121212;
    border: 1px solid rgba(255, 105, 180, 0.12);
    border-radius: 22px;
    padding: 35px;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 105, 180, 0.5);
}

.service-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 105, 180, 0.1);
    border-radius: 50%;
    color: #ff69b4;
    font-size: 24px;
    margin-bottom: 25px;
}

.service-card h3 {
    display: block;
    font-size: 25px;
    margin: 0 0 12px;
}

.service-card p {
    display: block;
    color: #999999;
    font-size: 14px;
    margin: 0;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery {
    display: block;
    width: 100%;
    background: #0d0d0d;
}

.gallery-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.gallery-item {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 18px;
    position: relative;
    background: #151515;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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


/* =========================================================
   HAIR COLLECTION
========================================================= */

.featured {
    display: block;
    width: 100%;
    background: #080808;
}

.featured-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.featured-card {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #121212;
    border-radius: 22px;
    border: 1px solid rgba(255, 105, 180, 0.12);
}

.featured-card img {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.featured-info {
    display: block;
    padding: 25px;
}

.featured-info h3 {
    display: block;
    font-size: 25px;
    margin: 0 0 8px;
}

.featured-info p {
    display: block;
    color: #999999;
    font-size: 14px;
    margin: 0;
}

.featured-info br {
    display: block;
    content: "";
    margin: 10px 0;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    display: block;
    width: 100%;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.78)
        ),
        url('../images/bg.jpg') center / cover no-repeat;
    text-align: center;
}

.cta h2 {
    display: block;
    font-size: 55px;
    line-height: 1.2;
    margin: 0 0 15px;
}

.cta p {
    display: block;
    color: #bbbbbb;
    max-width: 600px;
    margin: 0 auto 30px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    display: block;
    width: 100%;
    background: #0d0d0d;
}

.contact-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.contact-card {
    display: block;
    width: 100%;
    text-align: center;
    background: #121212;
    border: 1px solid rgba(255, 105, 180, 0.12);
    border-radius: 22px;
    padding: 35px 25px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 105, 180, 0.1);
    color: #ff69b4;
    font-size: 23px;
}

.contact-card h3 {
    display: block;
    font-size: 22px;
    margin: 0 0 8px;
}

.contact-card p {
    display: block;
    color: #999999;
    font-size: 14px;
    margin: 0;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    display: block;
    width: 100%;
    background: #050505;
    padding: 50px 0 25px;
    border-top: 1px solid rgba(255, 105, 180, 0.12);
}

.footer-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-logo {
    display: block;
}

.footer-logo img {
    width: 140px;
    height: auto;
}

.footer-content > p {
    display: block;
    color: #777777;
    font-size: 13px;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    display: inline-block;
    color: #999999;
    font-size: 13px;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #ff69b4;
}

.footer-bottom {
    display: block;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 20px;
    text-align: center;
    color: #666666;
    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .container {
        width: 92%;
    }

    .navbar {
        gap: 20px;
    }

    nav {
        gap: 16px;
    }

    .about-grid {
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    body {
        font-size: 15px;
    }

    section {
        padding: 65px 0;
    }

    .container {
        width: 92%;
    }


    /* HEADER */

    .navbar {
        min-height: 75px;
    }

    .logo img {
        width: 125px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        display: none;
    }

    nav .nav-book {
        display: inline-flex;
        padding: 9px 16px;
        font-size: 12px;
    }


    /* HERO */

    .hero {
        min-height: 90vh;
        padding-top: 75px;
        background-position: center center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* TITLES */

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 38px;
    }


    /* ABOUT */

    .about-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image img {
        height: 400px;
    }

    .about-content h2 {
        font-size: 38px;
    }


    /* SERVICES */

    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }


    /* GALLERY */

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery-item {
        height: 230px;
    }


    /* HAIR COLLECTION */

    .featured-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .featured-card img {
        height: 350px;
    }


    /* CTA */

    .cta h2 {
        font-size: 40px;
    }


    /* CONTACT */

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }


    /* FOOTER */

    .footer-content {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

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

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 42px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }

    .featured-card img {
        height: 320px;
    }

    .cta h2 {
        font-size: 34px;
    }

}