/* 
 * Lannie's Nails and Hair Salon - Main Stylesheet
 * A clean, elegant design for a professional salon
 */

/* Welcome Modal Dialog Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.modal-dialog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(1) translateY(0);
    transition: transform 0.4s ease;
}

.modal-overlay.hidden .modal-dialog {
    transform: scale(0.9) translateY(-20px);
}

.modal-content {
    padding: 0;
}

.modal-header {
    text-align: center;
    padding: 2.5rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.welcome-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.modal-body {
    padding: 2rem;
    line-height: 1.7;
}

.modal-body p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 1.5rem 2rem 2.5rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.checkbox-container {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: var(--transition);
    background-color: white;
}

.checkbox-label:hover .checkmark {
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modal-footer .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 180px;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal-dialog {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
    
    .modal-footer {
        padding: 1.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .welcome-icon {
        font-size: 2.5rem;
    }
    
    .modal-header {
        padding: 1.5rem 1rem 0.75rem;
    }
    
    .modal-header h2 {
        font-size: 1.6rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
}

/* Base Styles and Reset */
:root {
    --primary-color: #bc8f8f;  /* Rosy brown - elegant color for a salon */
    --secondary-color: #778899; /* Light slate gray */
    --accent-color: #daa520;   /* Goldenrod for accents */
    --text-color: #333;
    --light-text: #777;
    --background-color: #fff;
    --light-background: #f8f8f8;
    --border-color: #e0e0e0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn.primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: var(--background-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Services Preview Section */
.services-preview {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(188, 143, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* About Preview Section */
.about-preview {
    padding: 5rem 0;
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    margin-left: 0;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.testimonial p {
    font-style: italic;
    position: relative;
    padding: 0 0.5rem;
}

.testimonial p::before,
.testimonial p::after {
    content: '"';
    font-size: 3rem;
    color: rgba(188, 143, 143, 0.2);
    position: absolute;
    line-height: 0;
}

.testimonial p::before {
    top: 15px;
    left: -15px;
}

.testimonial p::after {
    bottom: -5px;
    right: -15px;
}

.client-info {
    margin-top: 1.5rem;
}

.client-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.client-info p {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0;
}

/* Contact Info Section */
.contact-info {
    padding: 5rem 0;
}

.contact-info .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.hours h3, .location h3 {
    margin-bottom: 1.5rem;
}

.hours ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-color);
}

.hours ul li:last-child {
    border-bottom: none;
}

.hours ul li span {
    font-weight: 500;
}

.location p {
    margin-bottom: 0.5rem;
}

.location .btn {
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-links h3, .footer-contact h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.footer-contact p i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-preview .container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding-right: 0;
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0.5rem 1rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--background-color);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .mobile-nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Improve tap targets */
    nav a, 
    .btn,
    .footer-links a,
    .social-links a {
        padding: 10px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Fix form elements on mobile */
    input, 
    textarea, 
    select,
    button {
        font-size: 16px; /* Prevents iOS zoom on focus */
        min-height: 44px;
        padding: 10px 15px;
    }
    
    /* Improve spacing on mobile */
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Better mobile menu overlay */
    body.nav-active {
        overflow: hidden;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info .container {
        flex-direction: column;
    }
    
    .hours {
        margin-bottom: 2rem;
    }
    
    /* Better card stacking on very small screens */
    .services-grid,
    .info-blocks,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust image sizes */
    .about-image img,
    .gift-image img {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
    }
}

/* Google Reviews Section */
.google-reviews {
    margin-top: 3rem;
    text-align: center;
}

.google-reviews h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.google-reviews .btn {
    margin-bottom: 2rem;
}

/* Reviews Filter Styles */
.reviews-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.filter-btn:hover {
    background-color: rgba(188, 143, 143, 0.1);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.review-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.review-salon {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 0.2rem;
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: var(--light-text);
    font-style: italic;
}

.google-reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.google-review-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.reviewer-info h4 {
    margin-bottom: 0.2rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--light-text);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.loading-reviews {
    text-align: center;
    padding: 3rem;
    color: var(--light-text);
}

.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(188, 143, 143, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reviews-error {
    text-align: center;
    padding: 2rem;
    color: #d32f2f;
}

.reviews-error p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .google-reviews-container {
        flex-direction: column;
        align-items: center;
    }
    
    .google-review-card {
        max-width: 100%;
    }
    
    .filter-btn {
        padding: 10px 14px;
        min-height: 44px;
    }
} 