/**
 * Custom CSS for Body & Mind Pilates Studio
 * Additional styles beyond Tailwind
 */

/* Hide scrollbar for webkit browsers */
::-webkit-scrollbar {
    display: none;
}

/* Custom font families */
body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #ab82c5;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    footer,
    nav {
        display: none;
    }
}

.pw-edit-InputfieldTextarea .pw-edit-orig {
    display: block;
    font-size: 1.125rem;
    line-height: 1.625;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

/* Mobile menu toggle button */
.mobile-menu-btn {
    display: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: #4b5563;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* Navigation responsive */
nav .nav-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    nav .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0.5rem;
    }

    nav .nav-links.active {
        display: flex;
    }

    nav .nav-links a {
        padding: 0.75rem 1rem;
        display: block;
        margin-left: 0 !important;
    }
}

/* About me image responsive */
.about-me img {
    height: auto;
    max-width: 100%;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .about-me img {
        height: 600px;
        max-width: none;
    }
}

/* Header responsive */
header .header-content {
    width: 100%;
}

@media (max-width: 768px) {
    header {
        height: auto !important;
        min-height: 500px;
    }

    header h1 {
        font-size: 2.25rem !important; /* text-4xl */
    }

    header p {
        font-size: 1rem !important;
    }

    header .space-x-4 {
        flex-direction: column;
        display: flex;
        gap: 1rem;
    }

    header .space-x-4 a {
        display: block;
        text-align: center;
    }
}
