/* Modern Design System for New Beauty Pully */
:root {
    /* Color Palette */
    --primary-color: rgb(123, 48, 62);
    --primary-light: rgb(153, 68, 85);
    /* Lighter variation */
    --primary-dark: rgb(93, 28, 40);
    /* Darker variation */
    --secondary-color: #333333;
    /* Original Dark Grey */
    --text-color: #555555;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Raleway', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.35s ease;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    transition: all var(--transition-medium);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Navbar */
.navbar {
    padding: var(--spacing-sm) 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: var(--spacing-sm);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    /* Pill shape */
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: var(--spacing-sm) auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 250px;
    min-height: 150px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-btn {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    text-transform: uppercase;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--white);
}

/* Services */
.service-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-medium);
    text-align: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-card img {
    border-radius: 8px;
    margin-bottom: var(--spacing-sm);
    object-fit: cover;
    height: 200px;
    width: 100%;
}

/* Footer */
footer {
    background-color: #222;
    color: #e0e0e0;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

footer h5 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-size: 1.1rem;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: var(--primary-color);
}

footer ul {
    padding-left: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    margin-top: var(--spacing-lg);
    border-top: 1px solid #444;
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
}

.text-light-grey {
    color: #e0e0e0 !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Utilities */
.fade-in {
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}