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


:root {

    --primary: #4A6E3D;
    --secondary: #A7C99B;
    --dark: #2D3A2A;
    --light: #E6F4E6;

    --white: #FFFFFF;
    --black: #111111;

    --border: #D5E4D3;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --container: 1200px;

}


* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: 'DM Sans', sans-serif;

    color: var(--dark);

    background: var(--white);

    line-height: 1.6;

}


img {

    width: 100%;
    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font-family: inherit;

}


.container {

    width: min(92%, var(--container));

    margin: auto;

}


.section {

    padding: 100px 0;

}


/* ================= NAVBAR ================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);

}


.nav-container {

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    display: flex;

    flex-direction: column;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 2px;

    line-height: 1;

}


.logo span {

    font-size: 9px;

    letter-spacing: 4px;

    margin-top: 5px;

    color: var(--primary);

}


.navbar {

    display: flex;

    align-items: center;

    gap: 32px;

}


.navbar > a {

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;

}


.navbar > a:hover,
.navbar > a.active {

    color: var(--primary);

}


.nav-book {

    background: var(--primary);

    color: var(--white) !important;

    padding: 13px 22px;

    border-radius: 50px;

}


.nav-book:hover {

    background: var(--dark);

}


.menu-toggle {

    display: none;

    border: none;

    background: none;

    font-size: 22px;

    color: var(--dark);

}


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

.hero {

    background: var(--light);

    padding: 80px 0;

    overflow: hidden;

}


.hero-container {

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 70px;

}


.eyebrow {

    display: inline-block;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 18px;

}


.hero h1 {

    font-family: 'Playfair Display', serif;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.02;

    margin-bottom: 25px;

}


.hero h1 span,
.section-heading h2 span,
.about-content h2 span,
.booking-cta h2 span {

    color: var(--primary);

}


.hero-content > p {

    max-width: 560px;

    color: #596554;

    font-size: 18px;

    margin-bottom: 32px;

}


.hero-buttons {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 15px 24px;

    border-radius: 50px;

    font-size: 14px;

    font-weight: 700;

    transition: 0.3s;

}


.btn-primary {

    background: var(--primary);

    color: var(--white);

}


.btn-primary:hover {

    background: var(--dark);

    transform: translateY(-2px);

}


.btn-outline {

    border: 1px solid var(--primary);

    color: var(--primary);

}


.btn-outline:hover {

    background: var(--primary);

    color: var(--white);

}


.hero-info {

    display: flex;

    gap: 35px;

    margin-top: 55px;

}


.hero-info div {

    display: flex;

    flex-direction: column;

}


.hero-info strong {

    font-size: clamp(16px, 2vw, 24px);

}


.hero-info span {

    font-size: 11px;

    color: #65705f;

}


.hero-image {

    position: relative;

}


.hero-image img {

    height: 600px;

    object-fit: cover;

    border-radius: var(--radius-lg);

}


.hero-badge {

    position: absolute;

    left: -25px;

    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 14px;

    background: var(--white);

    padding: 16px 20px;

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(45, 58, 42, 0.15);

}


.hero-badge i {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    background: var(--light);

    color: var(--primary);

    border-radius: 50%;

}


.hero-badge div {

    display: flex;

    flex-direction: column;

}


.hero-badge span {

    font-size: 12px;

    color: #65705f;

}


/* ================= SECTION HEADING ================= */

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 45px;

}


.section-heading h2 {

    font-family: 'Playfair Display', serif;

    font-size: clamp(36px, 5vw, 56px);

    line-height: 1.1;

}


.section-heading.centered {

    display: block;

    text-align: center;

    max-width: 650px;

    margin: 0 auto 50px;

}


.section-heading.centered p {

    margin-top: 15px;

    color: #65705f;

}


.text-link {

    color: var(--primary);

    font-weight: 700;

    font-size: 14px;

}


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

.service-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

}


.service-card {

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    overflow: hidden;

    background: var(--white);

    transition: 0.3s;

}


.service-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 20px 45px rgba(45, 58, 42, 0.1);

}


.service-image {

    height: 280px;

    overflow: hidden;

}


.service-image img {

    height: 100%;

    object-fit: cover;

    transition: 0.5s;

}


.service-card:hover img {

    transform: scale(1.04);

}


.service-content {

    padding: 24px;

}


.service-top {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 10px;

}


.service-top h3 {

    font-size: 20px;

}


.service-top span {

    color: var(--primary);

    font-weight: 800;

}


.service-content p {

    color: #687263;

    font-size: 14px;

    margin-bottom: 18px;

}


.duration {

    font-size: 12px;

    color: #687263;

}


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

.about {

    background: var(--light);

}


.about-container {

    display: grid;

    grid-template-columns: 0.9fr 1fr;

    gap: 80px;

    align-items: center;

}


.about-image img {

    height: 600px;

    object-fit: cover;

    border-radius: var(--radius-lg);

}


.about-content h2 {

    font-family: 'Playfair Display', serif;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.05;

    margin-bottom: 25px;

}


.about-content p {

    color: #5d6859;

    margin-bottom: 18px;

    max-width: 560px;

}


/* ================= BARBERS ================= */

.barber-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

}


.barber-card {

    background: var(--light);

    border-radius: var(--radius-md);

    overflow: hidden;

}


.barber-image {

    height: 420px;

}


.barber-image img {

    height: 100%;

    object-fit: cover;

}


.barber-info {

    padding: 20px;

}


.barber-info h3 {

    font-size: 20px;

    margin-bottom: 3px;

}


.barber-info span {

    color: var(--primary);

    font-size: 13px;

    font-weight: 600;

}


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

.booking-cta {

    background: var(--dark);

    color: var(--white);

    padding: 80px 0;

}


.cta-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}


.booking-cta .eyebrow {

    color: var(--secondary);

}


.booking-cta h2 {

    font-family: 'Playfair Display', serif;

    font-size: clamp(40px, 5vw, 62px);

    line-height: 1.05;

}


.btn-light {

    background: var(--light);

    color: var(--dark);

}


.btn-light:hover {

    background: var(--secondary);

}


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

.footer {

    background: #20291e;

    color: var(--white);

}


.footer-grid {

    padding: 75px 0;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 50px;

}


.footer-brand p {

    color: #b5c0b0;

    max-width: 260px;

    margin: 20px 0;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-column h4 {

    margin-bottom: 10px;

}


.footer-column a,
.footer-column p {

    color: #b5c0b0;

    font-size: 13px;

}


.footer-column a:hover {

    color: var(--secondary);

}


.social-links {

    display: flex;

    gap: 10px;

}


.social-links a {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border: 1px solid #465143;

    border-radius: 50%;

}


.footer-bottom {

    border-top: 1px solid #3b4638;

    padding: 20px 0;

}


.footer-bottom .container {

    display: flex;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    color: #879382;

    font-size: 11px;

}


/* ================= PAGE BANNER / HEADER ================= */

.page-header {

    background: linear-gradient(135deg, var(--dark) 0%, #1c251a 100%);

    color: var(--white);

    padding: 80px 0 60px;

    position: relative;

    overflow: hidden;

}

.page-header::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: radial-gradient(circle at 80% 20%, rgba(74, 110, 61, 0.25) 0%, transparent 60%);

    pointer-events: none;

}

.page-header h1 {

    font-family: 'Playfair Display', serif;

    font-size: clamp(36px, 5vw, 56px);

    margin-bottom: 12px;

}

.page-header h1 span {

    color: var(--secondary);

}

.page-header p {

    color: #b5c0b0;

    font-size: 17px;

    max-width: 600px;

}

.breadcrumb {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    color: var(--secondary);

    margin-bottom: 15px;

    text-transform: uppercase;

    letter-spacing: 1px;

}

.breadcrumb a {

    color: #b5c0b0;

    transition: 0.2s;

}

.breadcrumb a:hover {

    color: var(--white);

}


/* ================= WHY CHOOSE US ================= */

.features-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    margin-top: 40px;

}

.feature-card {

    background: var(--light);

    padding: 36px 28px;

    border-radius: var(--radius-md);

    border: 1px solid var(--border);

    transition: 0.3s ease;

}

.feature-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 16px 36px rgba(45, 58, 42, 0.08);

    border-color: var(--secondary);

}

.feature-icon {

    width: 56px;

    height: 56px;

    border-radius: 14px;

    background: var(--primary);

    color: var(--white);

    display: grid;

    place-items: center;

    font-size: 22px;

    margin-bottom: 22px;

}

.feature-card h3 {

    font-size: 19px;

    margin-bottom: 10px;

    color: var(--dark);

}

.feature-card p {

    font-size: 14px;

    color: #5d6859;

    line-height: 1.6;

}


/* ================= TESTIMONIALS (SAMPLE/DEMO CONTENT) ================= */

.testimonials {

    background: var(--white);

}

.demo-disclaimer {

    display: inline-block;

    background: rgba(74, 110, 61, 0.1);

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    padding: 4px 12px;

    border-radius: 20px;

    margin-bottom: 14px;

    text-transform: uppercase;

}

.testimonials-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

}

.testimonial-card {

    background: var(--light);

    padding: 32px;

    border-radius: var(--radius-md);

    border: 1px solid var(--border);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

}

.testimonial-card::before {

    content: '"';

    position: absolute;

    top: 15px;

    right: 25px;

    font-family: 'Playfair Display', serif;

    font-size: 70px;

    color: rgba(74, 110, 61, 0.15);

    line-height: 1;

    pointer-events: none;

}

.testimonial-stars {

    color: #f59e0b;

    font-size: 14px;

    margin-bottom: 16px;

    display: flex;

    gap: 4px;

}

.testimonial-card p {

    font-size: 15px;

    color: #4b5547;

    line-height: 1.6;

    margin-bottom: 24px;

    font-style: italic;

}

.testimonial-author {

    display: flex;

    align-items: center;

    gap: 14px;

}

.author-avatar {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: grid;

    place-items: center;

    font-weight: 700;

    font-size: 15px;

}

.author-info h4 {

    font-size: 15px;

    color: var(--dark);

}

.author-info span {

    font-size: 12px;

    color: #717d6e;

}


/* ================= CONTACT SECTION & DETAILS ================= */

.contact-preview-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-top: 30px;

}

.contact-preview-card {

    background: var(--white);

    padding: 24px;

    border-radius: var(--radius-sm);

    border: 1px solid var(--border);

    text-align: center;

}

.contact-preview-card i {

    font-size: 26px;

    color: var(--primary);

    margin-bottom: 12px;

}

.contact-preview-card h4 {

    font-size: 16px;

    margin-bottom: 6px;

}

.contact-preview-card p {

    font-size: 13px;

    color: #65705f;

}


/* ================= BADGES & STATUS ================= */

.badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 5px 12px;

    border-radius: 50px;

    font-size: 12px;

    font-weight: 700;

    text-transform: capitalize;

}

.badge-pending {

    background: #fef3c7;

    color: #92400e;

    border: 1px solid #fde68a;

}

.badge-confirmed {

    background: var(--light);

    color: var(--primary);

    border: 1px solid var(--secondary);

}

.badge-completed {

    background: #e0f2fe;

    color: #0369a1;

    border: 1px solid #bae6fd;

}

.badge-cancelled {

    background: #fee2e2;

    color: #b91c1c;

    border: 1px solid #fecaca;

}

.badge-active {

    background: var(--light);

    color: var(--primary);

    border: 1px solid var(--secondary);

}

.badge-inactive {

    background: #f3f4f6;

    color: #6b7280;

    border: 1px solid #e5e7eb;

}


/* ================= FORMS & INPUTS ================= */

.form-group {

    margin-bottom: 20px;

}

.form-label {

    display: block;

    font-size: 13px;

    font-weight: 600;

    color: var(--dark);

    margin-bottom: 8px;

}

.form-control,
.form-select {

    width: 100%;

    padding: 13px 16px;

    font-family: 'DM Sans', sans-serif;

    font-size: 14px;

    color: var(--dark);

    background: var(--white);

    border: 1.5px solid var(--border);

    border-radius: var(--radius-sm);

    outline: none;

    transition: 0.25s ease;

}

.form-control:focus,
.form-select:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(74, 110, 61, 0.15);

}

.form-control::placeholder {

    color: #9ca3af;

}

textarea.form-control {

    resize: vertical;

    min-height: 100px;

}

.form-helper {

    font-size: 12px;

    color: #65705f;

    margin-top: 5px;

}

.api-state {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    color: #5d6859;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
}

.api-state-error {
    color: #a13131;
    border-color: #e8b4b4;
    background: #fff8f8;
}


/* ================= BUTTON STATES & VARIANTS ================= */

.btn:disabled,
.btn[disabled] {

    opacity: 0.6;

    cursor: not-allowed;

    transform: none !important;

}

.btn-secondary {

    background: var(--secondary);

    color: var(--dark);

}

.btn-secondary:hover {

    background: #94b887;

    color: var(--dark);

}

.btn-danger {

    background: #dc2626;

    color: var(--white);

}

.btn-danger:hover {

    background: #b91c1c;

}

.btn-sm {

    padding: 9px 16px;

    font-size: 13px;

}

.btn-block {

    width: 100%;

}


/* ================= TOAST NOTIFICATIONS ================= */

.toast-container {

    position: fixed;

    bottom: 24px;

    right: 24px;

    z-index: 9999;

    display: flex;

    flex-direction: column;

    gap: 12px;

    pointer-events: none;

}

.toast {

    pointer-events: auto;

    min-width: 280px;

    max-width: 400px;

    padding: 14px 18px;

    border-radius: var(--radius-sm);

    background: var(--dark);

    color: var(--white);

    font-size: 14px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    display: flex;

    align-items: center;

    gap: 12px;

    animation: toastSlideIn 0.3s ease;

    transition: opacity 0.3s ease, transform 0.3s ease;

}

.toast.toast-success {

    background: #2D3A2A;

    border-left: 5px solid var(--secondary);

}

.toast.toast-error {

    background: #2D3A2A;

    border-left: 5px solid #ef4444;

}

.toast.toast-info {

    background: #2D3A2A;

    border-left: 5px solid var(--primary);

}

@keyframes toastSlideIn {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* ================= MODALS ================= */

.modal-backdrop {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(32, 41, 30, 0.65);

    backdrop-filter: blur(4px);

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    opacity: 0;

    visibility: hidden;

    transition: 0.25s ease;

}

.modal-backdrop.active {

    opacity: 1;

    visibility: visible;

}

.modal-dialog {

    background: var(--white);

    border-radius: var(--radius-md);

    width: 100%;

    max-width: 520px;

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);

    transform: translateY(20px);

    transition: 0.25s ease;

    overflow: hidden;

}

.modal-backdrop.active .modal-dialog {

    transform: translateY(0);

}

.modal-header {

    padding: 20px 24px;

    border-bottom: 1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.modal-header h3 {

    font-size: 18px;

    color: var(--dark);

}

.modal-close {

    background: none;

    border: none;

    font-size: 20px;

    color: #65705f;

    cursor: pointer;

    transition: 0.2s;

}

.modal-close:hover {

    color: var(--dark);

}

.modal-body {

    padding: 24px;

}

.modal-footer {

    padding: 16px 24px;

    border-top: 1px solid var(--border);

    background: #fafcfa;

    display: flex;

    justify-content: flex-end;

    gap: 12px;

}


/* ================= IMAGE FALLBACK SYSTEM ================= */

.img-fallback-wrap {

    position: relative;

    background: linear-gradient(135deg, #e6f4e6 0%, #d8ead8 100%);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--primary);

    overflow: hidden;

}

.img-fallback-wrap svg,
.img-fallback-wrap i {

    font-size: 38px;

    color: var(--primary);

    opacity: 0.85;

    margin-bottom: 8px;

}

.img-fallback-label {

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: var(--dark);

    opacity: 0.7;

}


/* ================= NAVBAR AUTH & USER BADGE ================= */

.nav-user {

    display: flex;

    align-items: center;

    gap: 12px;

}

.nav-user-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    font-weight: 600;

    color: var(--dark);

    padding: 8px 14px;

    border-radius: 50px;

    border: 1px solid var(--border);

    background: var(--light);

    transition: 0.2s;

}

.nav-user-btn:hover {

    border-color: var(--primary);

    color: var(--primary);

}

.nav-auth-link {

    font-size: 14px;

    font-weight: 600;

    color: var(--dark);

    transition: 0.2s;

}

.nav-auth-link:hover {

    color: var(--primary);

}

.forgot-password-link {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 20px;
}

.forgot-password-link a {
    color: #4f7d43;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password-link a:hover {
    color: #365a2e;
    text-decoration: underline;
}

.logo img {
    display: block;
    width: 150px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        width: 120px;
    }
}

/* ================= REVIEW SYSTEM STYLES ================= */
.star-rate {
    transition: color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}
.star-rate:hover {
    transform: scale(1.15);
}
.star-rate.active {
    color: #f59e0b !important;
}
.reviewed-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.reviewed-pill i {
    color: #f59e0b;
}
