/* Modern Mane Barbershop - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
    --primary: #2D2D2D;
    --primary-dark: #1A1A1A;
    --primary-light: #4A4A4A;
    --secondary: #2D2D2D;
    --dark: #1A1A1A;
    --darker: #000000;
    --cream: #F8F8F8;
    --cream-dark: #EEEEEE;
    --white: #FFFFFF;
    --text-dark: #2D2D2D;
    --text-muted: #666666;
    --accent: #FFFFFF;
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 20px;
    --radius-sm: 10px;
    /* Safe Area for iPhone Notch */
    --safe-area-top: env(safe-area-inset-top);
    --safe-area-bottom: env(safe-area-inset-bottom);
    --safe-area-left: env(safe-area-inset-left);
    --safe-area-right: env(safe-area-inset-right);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.25rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    word-break: break-word;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background: var(--darker);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
}

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

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--secondary);
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

/* Mobile header always has dark background */
@media (max-width: 992px) {
    .header {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        padding: 15px 0;
    }

    .header .container {
        padding: 0 15px;
    }
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

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

.logo-img {
    height: 45px;
    width: auto;
    background: var(--white);
    padding: 5px 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 38px;
    padding: 4px 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50px;
}

.nav-menu a {
    padding: 10px 20px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--white);
    color: var(--dark);
}

.header-cta .btn {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.header-cta .btn:hover {
    background: var(--white);
    color: var(--dark);
}

.header-cta .btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: var(--white);
}

.header-cta .btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    color: var(--white);
}

.header-cta .btn-whatsapp i {
    font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

/* Hamburger to X animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    display: flex;
    align-items: center;
    /* Background set via inline style in index.php for dynamic updates */
    background-color: #1a1a1a;
    overflow: hidden;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Hero barber image removed - using logo watermark instead */

.hero-watermark {
    display: none; /* Hidden - logo has white background */
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    box-sizing: border-box;
}

/* Appointment Form */
.appointment-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 400px;
}

.appointment-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

/* Select styling for appointment form */
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

select.form-control option {
    background: var(--dark);
    color: var(--white);
    padding: 10px;
}

select.form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.appointment-card .btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
}

/* Hero Content */
.hero-content {
    text-align: right;
    max-width: 550px;
    margin-left: auto;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    color: var(--white);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 2px;
    word-break: break-word;
}

.hero-tagline span {
    display: block;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    font-size: 1rem;
    max-width: 500px;
    margin-left: auto;
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: var(--cream);
}

.about-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding-right: 30px;
}

.about-content .section-title {
    line-height: 1.1;
}

.about-content p {
    color: var(--text-muted);
    margin: 20px 0 30px;
}

.about-content .btn {
    padding: 14px 30px;
}

.about-content .btn i {
    font-size: 12px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-image .badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark);
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 100px 0;
    background: var(--cream-dark);
}

.gallery-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.gallery-header .section-title {
    line-height: 1.1;
}

.gallery-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-counter {
    font-size: 14px;
    color: var(--text-muted);
    margin-right: 15px;
}

.gallery-nav button {
    width: 50px;
    height: 50px;
    border: 2px solid var(--dark);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-nav button:hover {
    background: var(--dark);
    color: var(--white);
}

.gallery-slider {
    overflow: hidden;
}

.gallery-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

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

/* Gallery Overlay - Hover Effect */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* ===== Testimonials & Pricing Section ===== */
.testimonials-pricing {
    padding: 100px 0;
    background: var(--cream);
}

.testimonials-pricing .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 50px;
    position: relative;
}

.testimonial-stars {
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 16px;
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.author-subtitle {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-top: 2px;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    font-family: var(--font-display);
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.testimonial-nav {
    display: flex;
    gap: 10px;
}

.testimonial-nav button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--white);
    background: transparent;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-nav button:hover {
    background: var(--white);
    color: var(--dark);
}

/* Pricing Card */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--cream-dark);
}

.price-item:last-child {
    border-bottom: none;
}

.price-name {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

/* ===== Team Section ===== */
.team-section {
    padding: 100px 0;
    background: var(--cream);
}

.team-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    text-align: left;
}

.team-header > div:first-child {
    max-width: 500px;
}

.team-header .section-subtitle {
    margin: 0;
}

/* Team Navigation */
.team-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-counter {
    font-size: 14px;
    color: var(--text-muted);
    margin-right: 15px;
}

.team-nav button {
    width: 50px;
    height: 50px;
    border: 2px solid var(--dark);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-nav button:hover {
    background: var(--dark);
    color: var(--white);
}

/* Team Slider */
.team-slider-wrapper {
    overflow: hidden;
}

.team-slider {
    overflow: hidden;
}

.team-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.team-grid .team-card {
    flex: 0 0 calc(25% - 23px);
    min-width: calc(25% - 23px);
}

.team-grid .join-card {
    flex: 0 0 calc(25% - 23px);
    min-width: calc(25% - 23px);
}

.team-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.team-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.team-card:hover img {
    filter: grayscale(0%);
}

.team-info {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
}

.team-info h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
}

.team-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.team-social {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.team-social:hover {
    background: var(--dark);
    color: var(--white);
}

/* Join Team Card */
.join-card {
    background: var(--cream-dark);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 350px;
}

.join-card-image {
    flex: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}

.join-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.join-card .btn {
    padding: 12px 24px;
    font-size: 13px;
}

/* ===== Location Section ===== */
.location-section {
    position: relative;
    height: 500px;
    background: var(--dark);
}

.location-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.1);
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.location-card {
    max-width: 400px;
    margin-left: 5%;
}

.location-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.location-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.location-address {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.location-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.location-info-item i {
    width: 20px;
    color: var(--white);
}

.location-card .btn {
    background: var(--white);
    color: var(--dark);
}

.location-card .btn:hover {
    background: var(--cream-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .location-section {
        height: auto;
    }

    .location-map {
        position: relative;
        height: 300px;
    }

    .location-overlay {
        position: relative;
        background: var(--dark);
        padding: 40px 20px;
    }

    .location-card {
        margin-left: 0;
        max-width: 100%;
    }

    .location-card h3 {
        font-size: 1.5rem;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--cream);
    padding: 80px 0 30px;
    border-top: 1px solid var(--cream-dark);
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.footer-whatsapp {
    color: #25D366;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-whatsapp:hover {
    color: #128C7E;
}

.footer-whatsapp i {
    font-size: 1.2rem;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 8px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--dark);
}

.footer-hours p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-hours .btn {
    margin-top: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--cream-dark);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Responsive Design ===== */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .header .container,
    .hero .container,
    .about-section .container,
    .gallery-section .container,
    .testimonials-pricing .container,
    .team-section .container,
    .footer .container {
        max-width: 1600px;
    }

    .hero-tagline {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .appointment-card {
        max-width: 450px;
        padding: 50px;
    }
}

/* MacBook Pro / Standard Desktop (1440px) */
@media (max-width: 1440px) {
    .header .container {
        padding: 0 40px;
    }

    .hero .container {
        gap: 40px;
    }

    .appointment-card {
        max-width: 380px;
        padding: 35px;
    }
}

/* Small Desktop / Large Tablet Landscape (1200px) */
@media (max-width: 1200px) {
    .about-section .container {
        grid-template-columns: 1fr 1fr;
    }

    .about-info {
        grid-column: span 2;
        flex-direction: row;
    }

    .team-grid .team-card,
    .team-grid .join-card {
        flex: 0 0 calc(33.333% - 20px);
        min-width: calc(33.333% - 20px);
    }

    .nav-menu a {
        padding: 8px 15px;
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 40px;
    }
}

/* iPad Pro Landscape / Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .header .container {
        padding: 0 25px;
    }

    .nav-menu {
        gap: 5px;
        padding: 6px;
    }

    .nav-menu a {
        padding: 8px 12px;
        font-size: 12px;
    }

    .hero .container {
        gap: 30px;
        padding: 0 25px;
    }

    .hero-tagline {
        font-size: 2.5rem;
    }

    .appointment-card {
        max-width: 350px;
        padding: 30px;
    }

    .appointment-card h3 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .form-control {
        padding: 12px 15px;
    }

    .about-section .container,
    .gallery-section .container,
    .testimonials-pricing .container,
    .team-section .container,
    .footer .container {
        padding: 0 25px;
    }

    .about-section,
    .gallery-section,
    .testimonials-pricing,
    .team-section {
        padding: 80px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 3;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-logo {
        height: 60px;
    }
}

/* iPad / Android Tablet Portrait (992px) */
@media (max-width: 992px) {
    /* Prevent horizontal overflow */
    *,
    *::before,
    *::after {
        max-width: 100%;
    }

    .nav-menu,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 50px;
        width: 100%;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }

    .appointment-card {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        padding: 25px 20px;
    }

    .hero-content {
        text-align: center;
        order: -1;
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-tagline {
        font-size: 1.5rem;
        letter-spacing: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-description {
        margin: 15px auto 0;
        max-width: 100%;
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .about-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        text-align: center;
        padding-right: 0;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-info {
        grid-column: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-card {
        flex: 1 1 calc(50% - 15px);
        min-width: 280px;
    }

    .testimonials-pricing .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial-card,
    .pricing-card {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .location-section {
        height: auto;
    }

    .location-map {
        position: relative;
        height: 350px;
    }

    .location-overlay {
        position: relative;
        background: var(--dark);
        padding: 50px 25px;
    }

    .location-card {
        margin: 0 auto;
        max-width: 100%;
        text-align: center;
    }

    .location-icon {
        margin: 0 auto 20px;
    }
}

/* iPad Mini / Small Tablet (768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .header {
        padding: 15px 0;
    }

    .header .container {
        padding: 0 20px;
    }

    .logo-img {
        height: 40px;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero .container {
        padding: 0 20px;
    }

    .hero-tagline {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .appointment-card {
        padding: 25px 20px;
    }

    .appointment-card h3 {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .about-section,
    .gallery-section,
    .testimonials-pricing,
    .team-section {
        padding: 60px 0;
    }

    .about-section .container,
    .gallery-section .container,
    .testimonials-pricing .container,
    .team-section .container,
    .footer .container {
        padding: 0 20px;
    }

    .about-image img {
        height: auto;
        aspect-ratio: 3/4;
    }

    .about-info {
        flex-direction: column;
    }

    .info-card {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .gallery-header,
    .team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .gallery-nav,
    .team-nav {
        align-self: flex-start;
    }

    .gallery-item {
        flex: 0 0 calc(50% - 10px);
    }

    .team-header {
        text-align: center;
        align-items: center;
    }

    .team-header > div:first-child {
        max-width: 100%;
    }

    .team-nav {
        align-self: center;
    }

    .team-grid .team-card,
    .team-grid .join-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }

    .testimonial-card,
    .pricing-card {
        padding: 35px 25px;
    }

    .pricing-card h3 {
        font-size: 1.5rem;
    }

    .footer {
        padding: 50px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

    .location-map {
        height: 280px;
    }

    .location-overlay {
        padding: 40px 20px;
    }

    .location-card h3 {
        font-size: 1.5rem;
    }

    .location-address {
        font-size: 0.9rem;
    }
}

/* Large Phone - iPhone Plus, Android Large (576px) */
@media (max-width: 576px) {
    .header .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 35px;
        padding: 4px 8px;
    }

    .menu-toggle {
        padding: 8px;
    }

    .menu-toggle span {
        width: 22px;
    }

    .hero {
        padding: 90px 0 40px;
    }

    .hero .container {
        padding: 0 15px;
        gap: 30px;
    }

    .hero-tagline {
        font-size: 1.4rem;
        letter-spacing: 0;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .appointment-card {
        padding: 20px 15px;
        border-radius: 15px;
        max-width: 100%;
    }

    .appointment-card h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-control {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .appointment-card .btn {
        padding: 14px;
        font-size: 13px;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: 0;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .about-section,
    .gallery-section,
    .testimonials-pricing,
    .team-section {
        padding: 50px 0;
    }

    .about-section .container,
    .gallery-section .container,
    .testimonials-pricing .container,
    .team-section .container,
    .footer .container {
        padding: 0 15px;
    }

    .about-image img {
        height: auto;
        aspect-ratio: 3/4;
    }

    .about-image .badge {
        bottom: -10px;
        right: -10px;
        padding: 10px 15px;
    }

    .badge-icon {
        width: 35px;
        height: 35px;
    }

    .badge-text {
        font-size: 11px;
    }

    .info-card {
        padding: 20px;
        gap: 15px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .info-content h4 {
        font-size: 0.95rem;
    }

    .info-content p {
        font-size: 13px;
    }

    .gallery-header,
    .team-header {
        margin-bottom: 30px;
    }

    .gallery-nav button,
    .team-nav button {
        width: 40px;
        height: 40px;
    }

    .gallery-item {
        flex: 0 0 100%;
    }

    .gallery-title {
        font-size: 1.1rem;
    }

    .gallery-desc {
        font-size: 0.8rem;
    }

    /* Team Carousel on Mobile */
    .team-slider-wrapper {
        overflow: visible;
    }

    .team-slider {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -15px;
        padding: 0 15px;
    }

    .team-slider::-webkit-scrollbar {
        display: none;
    }

    .team-grid {
        display: flex;
        gap: 15px;
        transform: none !important;
    }

    .team-grid .team-card,
    .team-grid .join-card {
        flex: 0 0 85%;
        min-width: 85%;
        scroll-snap-align: center;
    }

    .team-nav {
        display: none;
    }

    .team-info {
        top: 15px;
        left: 15px;
        padding: 12px 15px;
    }

    .team-info h4 {
        font-size: 0.9rem;
    }

    .team-social {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }

    .join-card {
        padding: 20px;
        min-height: 300px;
    }

    .testimonial-card,
    .pricing-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.7;
    }

    .testimonial-quote::before {
        font-size: 3rem;
        top: 10px;
        left: 15px;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .testimonial-nav button {
        width: 35px;
        height: 35px;
    }

    .pricing-card h3 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .price-list {
        gap: 15px;
    }

    .price-item {
        padding-bottom: 12px;
    }

    .price-name {
        font-size: 0.9rem;
    }

    .price-amount {
        font-size: 1rem;
    }

    .location-map {
        height: 250px;
    }

    .location-overlay {
        padding: 30px 15px;
    }

    .location-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .location-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .location-address {
        font-size: 0.85rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .location-info {
        gap: 10px;
        margin-bottom: 20px;
    }

    .location-info-item {
        font-size: 0.85rem;
    }

    .location-card .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-title {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .footer-links a {
        font-size: 13px;
        padding: 6px 0;
    }

    .footer-hours p {
        font-size: 13px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .mobile-nav a {
        font-size: 1.25rem;
    }

    .mobile-nav-logo {
        height: 50px;
        margin-bottom: 20px;
    }

    .mobile-nav-close {
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .toast {
        padding: 12px 20px;
        font-size: 13px;
        max-width: calc(100% - 30px);
    }
}

/* Standard Phone - iPhone, Android (480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .about-image img {
        height: auto;
        aspect-ratio: 3/4;
    }

    .testimonial-card,
    .pricing-card {
        padding: 20px 15px;
    }

    .pricing-card h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Small Phone - iPhone SE, Small Android (375px) */
@media (max-width: 375px) {
    .header .container {
        padding: 0 12px;
    }

    .logo-img {
        height: 32px;
    }

    .hero .container {
        padding: 0 12px;
    }

    .hero-tagline {
        font-size: 1.35rem;
    }

    .appointment-card {
        padding: 18px 12px;
    }

    .appointment-card h3 {
        font-size: 0.95rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .about-section .container,
    .gallery-section .container,
    .testimonials-pricing .container,
    .team-section .container,
    .footer .container {
        padding: 0 12px;
    }

    .info-card {
        padding: 15px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .testimonial-quote {
        font-size: 0.9rem;
    }

    .price-name {
        font-size: 0.85rem;
    }

    .price-amount {
        font-size: 0.95rem;
    }

    .location-overlay {
        padding: 25px 12px;
    }

    .footer-logo {
        height: 45px;
    }

    .mobile-nav a {
        font-size: 1.1rem;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 15px;
        left: 15px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Landscape Mode for Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .hero-content {
        order: 0;
        text-align: left;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-description {
        margin-left: 0;
        font-size: 0.85rem;
    }

    .appointment-card {
        margin: 0;
        padding: 20px;
    }

    .mobile-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        padding: 20px;
    }

    .mobile-nav-logo {
        width: 100%;
        height: 40px;
        margin-bottom: 10px;
    }

    .mobile-nav a {
        font-size: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .gallery-overlay {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
        padding: 20px 15px 15px;
    }

    .team-card:hover img {
        filter: grayscale(100%);
    }

    .nav-menu a:hover,
    .social-links a:hover,
    .team-social:hover {
        transform: none;
    }

    /* Larger touch targets */
    .btn {
        min-height: 44px;
    }

    .form-control {
        min-height: 44px;
    }

    .gallery-nav button,
    .team-nav button,
    .testimonial-nav button {
        min-width: 44px;
        min-height: 44px;
    }

    .social-links a {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-nav,
    .floating-whatsapp,
    .scroll-top,
    .appointment-card,
    .gallery-nav,
    .team-nav,
    .testimonial-nav {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}

/* ===== Mobile Navigation Overlay ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-logo {
    height: 70px;
    width: auto;
    background: var(--white);
    padding: 8px 15px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.mobile-nav a {
    font-size: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-nav a:hover {
    color: var(--cream-dark);
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* ===== Loading Animation ===== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Live Queue Banner ===== */
.queue-banner {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 50%, #222222 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.queue-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.queue-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    gap: 24px;
}

.queue-banner-left,
.queue-banner-center,
.queue-banner-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.queue-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
    display: inline-block;
    flex-shrink: 0;
}

.queue-dot.open {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    animation: queue-dot-pulse 2s infinite;
}

.queue-dot.closed {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

@keyframes queue-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.queue-open-label {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.queue-banner-center {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    padding: 0 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.queue-banner-center i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.queue-banner-center strong {
    color: var(--white);
    font-weight: 700;
}

.queue-banner-right {
    font-size: 13px;
    font-weight: 500;
}

.queue-banner-right i {
    font-size: 14px;
}

.queue-banner-right.available {
    color: #4ade80;
}

.queue-banner-right.busy {
    color: #fbbf24;
}

.queue-banner-right.almost-full {
    color: #f87171;
}

/* Queue banner tablet */
@media (max-width: 768px) {
    .queue-banner-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
        padding: 12px 0;
    }

    .queue-banner-center {
        border: none;
        padding: 0;
    }

    .queue-open-label {
        font-size: 11px;
    }

    .queue-banner-center,
    .queue-banner-right {
        font-size: 12px;
    }
}

/* Queue banner mobile */
@media (max-width: 480px) {
    .queue-banner-inner {
        flex-direction: column;
        gap: 4px;
        padding: 10px 0;
    }

    .queue-banner-center {
        border: none;
        padding: 0;
    }

    .queue-banner-right {
        font-size: 11px;
    }
}

/* ===== Floating WhatsApp Button ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.floating-whatsapp .whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: var(--darker);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp .whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-right-color: var(--darker);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    left: 75px;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--darker);
    transform: translateY(-5px);
}

/* ===== Toast Notifications ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: var(--transition);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    background: #22c55e;
}

.toast.error {
    background: #ef4444;
}

/* ===== iPhone Safe Area Support ===== */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(20px, var(--safe-area-top));
        padding-left: max(30px, var(--safe-area-left));
        padding-right: max(30px, var(--safe-area-right));
    }

    .hero {
        padding-top: max(100px, calc(80px + var(--safe-area-top)));
    }

    .footer {
        padding-bottom: max(30px, var(--safe-area-bottom));
    }

    .floating-whatsapp {
        bottom: max(30px, calc(20px + var(--safe-area-bottom)));
        left: max(30px, calc(20px + var(--safe-area-left)));
    }

    .scroll-top {
        bottom: max(30px, calc(20px + var(--safe-area-bottom)));
        right: max(30px, calc(20px + var(--safe-area-right)));
    }

    .toast {
        bottom: max(30px, calc(20px + var(--safe-area-bottom)));
    }

    .mobile-nav {
        padding-top: var(--safe-area-top);
        padding-bottom: var(--safe-area-bottom);
        padding-left: var(--safe-area-left);
        padding-right: var(--safe-area-right);
    }

    .mobile-nav-close {
        top: max(30px, calc(20px + var(--safe-area-top)));
        right: max(30px, calc(20px + var(--safe-area-right)));
    }
}

/* Mobile Safe Area - specific for smaller devices */
@media (max-width: 576px) {
    @supports (padding: max(0px)) {
        .header .container {
            padding-left: max(15px, var(--safe-area-left));
            padding-right: max(15px, var(--safe-area-right));
        }

        .hero .container,
        .about-section .container,
        .gallery-section .container,
        .testimonials-pricing .container,
        .team-section .container,
        .footer .container {
            padding-left: max(15px, var(--safe-area-left));
            padding-right: max(15px, var(--safe-area-right));
        }

        .floating-whatsapp {
            bottom: max(20px, calc(15px + var(--safe-area-bottom)));
            left: max(20px, calc(15px + var(--safe-area-left)));
        }

        .scroll-top {
            bottom: max(20px, calc(15px + var(--safe-area-bottom)));
            right: max(20px, calc(15px + var(--safe-area-right)));
        }
    }
}
