/* 
* Naazyglow.com - Main Stylesheet
* Beauty Products & Services Website
*/

/* ----- Global Styles ----- */
:root {
    /* Primary brand colors */
    --primary-color: #7b28e6;      /* Deep purple - from the logo */
    --secondary-color: #ff80ab;    /* Pink secondary color */
    --dark-color: #343a40;         /* Dark gray for text */
    --light-color: #f8f9fa;        /* Light purple tinted white for backgrounds */
    --success-color: #28a745;      /* Green for success messages */
    --warning-color: #ffc107;      /* Yellow for warnings */
    --danger-color: #dc3545;       /* Red for errors */
    --gray-color: #6c757d;
    
    /* Typography */
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Playfair Display', serif;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

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

.btn-primary:hover {
    background-color: #6422c5;
    border-color: #6422c5;
}

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

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

.text-primary {
    color: var(--primary-color) !important;
}

/* ----- Header ----- */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: 1.8rem;
}

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

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    position: relative;
}

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

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* ----- Hero Section ----- */
.hero-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ----- Featured Products ----- */
.product-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

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

.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* ----- Testimonials ----- */
.testimonial-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.testimonial-card .client-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-card .client-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.testimonial-card .client-position {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}

.testimonial-card .rating {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

/* ----- Blog ----- */
.blog-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

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

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .card-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-card .meta {
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.blog-card .category {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

/* ----- Forms ----- */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 111, 97, 0.25);
}

.form-label {
    font-weight: 500;
}

/* ----- Footer ----- */
.footer {
    background-color: var(--dark-color);
}

.footer h5 {
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer .social-icons a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* ----- Responsive Styles ----- */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
}

/* ----- Admin Dashboard ----- */
.admin-sidebar {
    background-color: var(--dark-color);
    min-height: 100vh;
    padding: 1.5rem 0;
}

.admin-logo {
    filter: brightness(0) invert(1);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(123, 40, 230, 0.2);
    border-left-color: var(--primary-color);
}

.admin-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

/* ----- Utility Classes ----- */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.text-muted {
    color: #6c757d !important;
}

/* ----- Category Showcase ----- */
.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(123, 40, 230, 0.5) 0%, rgba(123, 40, 230, 0.8) 100%);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ----- Service Cards ----- */
.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    background-color: rgba(123, 40, 230, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ----- Offer Banner ----- */
.offer-banner {
    background-color: var(--primary-color);
    color: #fff;
}

.offer-card {
    padding: 3rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.offer-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.offer-code {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
}

.offer-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.timer-item {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    min-width: 80px;
    text-align: center;
}

.timer-item span {
    display: block;
}

.timer-item .days,
.timer-item .hours,
.timer-item .minutes,
.timer-item .seconds {
    font-size: 2rem;
    font-weight: 700;
}

.timer-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ----- Feature Items ----- */
.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ----- Newsletter Section ----- */
.newsletter-section {
    background-color: #fff;
}

.newsletter-container {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-form .input-group {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.8rem 1.5rem;
    height: auto;
}

.newsletter-form .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 0 50px 50px 0;
}

/* ----- Instagram Feed ----- */
.instagram-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(123, 40, 230, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay i {
    color: #fff;
    font-size: 2rem;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* ----- Responsive Adjustments ----- */
@media (max-width: 991px) {
    .offer-timer {
        flex-wrap: wrap;
    }
    
    .timer-item {
        min-width: 70px;
    }
    
    .offer-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .category-card {
        height: 250px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .newsletter-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .offer-title {
        font-size: 1.8rem;
    }
    
    .timer-item {
        min-width: 60px;
        padding: 0.8rem;
    }
    
    .timer-item .days,
    .timer-item .hours,
    .timer-item .minutes,
    .timer-item .seconds {
        font-size: 1.5rem;
    }
}

/* ----- Services Page ----- */
.service-detail-card {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.service-detail-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-detail-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.service-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-features li i {
    margin-right: 10px;
    font-size: 0.9rem;
}

.booking-form {
    padding: 1rem;
}

.booking-form .form-label {
    font-weight: 500;
}

/* Accordion Styling */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: #fff;
    font-weight: 600;
    padding: 1.2rem;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(123, 40, 230, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(123, 40, 230, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237b28e6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.2rem;
    background-color: #fff;
}

/* General Styles */
.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

/* Category Cards */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 300px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center;
}

.category-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.category-card:hover img {
    transform: scale(1.1);
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

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

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.product-card .price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Special Offer Banner */
.offer-banner {
    background-color: var(--primary-color);
    color: white;
}

.offer-card {
    padding: 30px;
    border-radius: 10px;
}

.offer-title {
    font-weight: 700;
}

.offer-code {
    background: white;
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.offer-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.timer-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
}

.timer-item span {
    display: block;
}

.timer-item .days,
.timer-item .hours,
.timer-item .minutes,
.timer-item .seconds {
    font-size: 2rem;
    font-weight: 700;
}

.timer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Service Cards */
.service-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    background-color: white;
    height: 100%;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.service-link:hover {
    text-decoration: underline;
}

/* Testimonial Cards */
.testimonial-card {
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-weight: 600;
}

.client-position {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
}

/* Blog Cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

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

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.blog-card .meta {
    font-size: 0.85rem;
    color: var(--gray-color);
}

/* Newsletter Section */
.newsletter-section {
    background-color: #f8f9fa;
}

.newsletter-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Instagram Feed */
.instagram-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.instagram-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay i {
    color: white;
    font-size: 2rem;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.social-icons a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Utility Classes */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .offer-timer {
        gap: 10px;
    }
    
    .timer-item {
        padding: 10px;
        min-width: 60px;
    }
    
    .timer-item .days,
    .timer-item .hours,
    .timer-item .minutes,
    .timer-item .seconds {
        font-size: 1.5rem;
    }
}

/* ----- About Page ----- */
.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.certification-badge {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.certification-badge:hover {
    transform: translateY(-5px);
}

.certification-badge img {
    max-height: 80px;
    max-width: 100%;
}

.testimonial-card .bi-quote {
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Team member cards */
.card .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.card .social-icons a:hover {
    background-color: var(--primary-color);
    color: white !important;
} 