/* SSF Custom CSS - Replacement for Tailwind CSS */

/* Font Import - Choose ONE of the following methods */

/* Option 1: Using Adobe Fonts (Typekit) */
@import url('https://use.typekit.net/xxx.css'); /* Replace 'xxx' with your actual Typekit kit ID */

/* Option 2: Self-hosted font files - Uncomment and adjust paths as needed */
/*
@font-face {
    font-family: 'Filson Soft';
    src: url('../fonts/FilsonSoft-Light.woff2') format('woff2'),
         url('../fonts/FilsonSoft-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Filson Soft';
    src: url('../fonts/FilsonSoft-Regular.woff2') format('woff2'),
         url('../fonts/FilsonSoft-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Filson Soft';
    src: url('../fonts/FilsonSoft-Medium.woff2') format('woff2'),
         url('../fonts/FilsonSoft-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Filson Soft';
    src: url('../fonts/FilsonSoft-Bold.woff2') format('woff2'),
         url('../fonts/FilsonSoft-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
*/

/* Global Font Setting */
[class*="ssf-"],
#ssf-popup-form,
#ssf-popup-form * {
    font-family: 'Filson Soft', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Layout */
.ssf-fixed { position: fixed; }
.ssf-absolute { position: absolute; }
.ssf-relative { position: relative; }
.ssf-inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.ssf-z-50 { z-index: 50; }
.ssf-top-4 { top: 1rem; }
.ssf-right-4 { right: 1rem; }
.ssf-hidden { display: none; }
.ssf-block { display: block; }
.ssf-flex { display: flex; }
.ssf-grid { display: grid; }
.ssf-w-full { width: 100%; }
.ssf-w-10 { width: 2.5rem; }
.ssf-w-14 { width: 3.5rem; }
.ssf-w-6 { width: 1.5rem; }
.ssf-w-5 { width: 1.25rem; }
.ssf-h-10 { height: 2.5rem; }
.ssf-h-14 { height: 3.5rem; }
.ssf-h-6 { height: 1.5rem; }
.ssf-h-5 { height: 1.25rem; }
.ssf-min-h-60vh { min-height: 60vh; }
.ssf-max-h-90vh { max-height: 90vh; }
.ssf-h-20vh { height: 225px; }
.ssf-max-w-4xl { max-width: 56rem; }
.ssf-min-sm-w-2-3 { min-width: 66.666667%; }
.ssf-max-sm-w-full { max-width: 100%; }
.ssf-overflow-y-auto { overflow-y: auto; }
.ssf-rounded { border-radius: 0.25rem; }
.ssf-rounded-lg { border-radius: 0.5rem; }
.ssf-rounded-md { border-radius: 0.375rem; }
.ssf-rounded-full { border-radius: 9999px; }

/* Flexbox & Grid */
.ssf-flex-items-center { display: flex; align-items: center; }
.ssf-justify-center { justify-content: center; }
.ssf-justify-start { justify-content: flex-start; }
.ssf-items-center { align-items: center; }
.ssf-space-x-3 > * + * { margin-left: 0.75rem; }
.ssf-space-x-8 > * + * { margin-left: 2rem; }
.ssf-space-x-2 > * + * { margin-left: 0.5rem; }
.ssf-space-y-4 > * + * { margin-top: 1rem; }
.ssf-gap-0 { gap: 0; }
.ssf-gap-2 { gap: 0.5rem; }
.ssf-gap-3 { gap: 0.75rem; }
.ssf-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ssf-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ssf-col-span-1 { grid-column: span 1 / span 1; }

/* Spacing */
.ssf-p-3 { padding: 0.75rem; }
.ssf-p-6 { padding: 1.5rem; }
.ssf-px-4 { padding-left: 1rem; padding-right: 1rem; }
.ssf-px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.ssf-px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.ssf-px-16 { padding-left: 4rem; padding-right: 4rem; }
.ssf-px-20 { padding-left: 5rem; padding-right: 5rem; }
.ssf-py-0 { padding-top: 0; padding-bottom: 0; }
.ssf-py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.ssf-py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.ssf-pt-20 { padding-top: 5rem; }
.ssf-m-0 { margin: 0; }
.ssf-my-0 { margin-top: 0; margin-bottom: 0; }
.ssf-my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.ssf-mb-0 { margin-bottom: 0 !important; }
.ssf-mb-3 { margin-bottom: 0.75rem; }
.ssf-mb-4 { margin-bottom: 1rem; }
.ssf-mb-6 { margin-bottom: 1.5rem; }
.ssf-mr-4 { margin-right: 1rem; }
.ssf-mt-1 { margin-top: 0.25rem; }
.ssf-mt-6 { margin-top: 1.5rem; }
.ssf-ml-4 { margin-left: 1rem; }

/* Typography */
.ssf-text-start { text-align: start; }
.ssf-text-justify { text-align: justify; }
.ssf-text-white { color: #ffffff; }
.ssf-text-black { color: #000000; }
.ssf-text-blue-600 { color: #2563eb; }
.ssf-text-gray-400 { color: #9ca3af; }
.ssf-text-gray-600 { color: #4b5563; }
.ssf-text-gray-700 { color: #374151; }
.ssf-text-gray-800 { color: #1f2937; }
.ssf-text-5xl { font-size: 40px; line-height: 1; }
.ssf-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.ssf-text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.ssf-text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.ssf-text-base { font-size: 1rem; line-height: 1.5rem; }
.ssf-font-bold { font-weight: 700; }
.ssf-font-normal { font-weight: 400; }
.ssf-font-semibold { font-weight: 600; }
.ssf-font-medium { font-weight: 500; }
.ssf-leading-none { line-height: 1; }

/* Backgrounds */
.ssf-bg-white { background-color: #ffffff; }
.ssf-bg-black { background-color: #000000; }
.ssf-bg-blue-50 { background-color: #eff6ff; }
.ssf-bg-blue-100 { background-color: #dbeafe; }
.ssf-bg-blue-600 { background-color: #2563eb; }
.ssf-bg-gray-50 { background-color: #f9fafb; }
.ssf-bg-opacity-50 { --bg-opacity: 0.5; }
.ssf-bg-theme { background-color: #55abf7; }
.ssf-bg-gradient-to-r { background-image: linear-gradient(to right, #55abf7, #3b82f6); }

/* Borders */
.ssf-border { border-width: 1px; }
.ssf-border-2 { border-width: 2px; }
.ssf-border-gray-300 { border-color: #d1d5db; }
.ssf-border-gray-500 { border-color: #727377; }
.ssf-border-theme { border-color: #55abf7; }

/* Effects */
.ssf-shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.ssf-shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Interactive */
.ssf-cursor-pointer { cursor: pointer; }
.ssf-focus-outline-none:focus { outline: none; }
.ssf-focus-ring-2:focus { --ring-width: 2px; box-shadow: 0 0 0 var(--ring-width) rgba(59, 130, 246, 0.5); }
.ssf-focus-ring-blue-400:focus { --ring-color: #60a5fa; }

/* Hover States */
.ssf-hover-bg-blue-600:hover { background-color: #2563eb; }
.ssf-hover-bg-gray-50:hover { background-color: #f9fafb; }
.ssf-hover-bg-theme:hover { background-color: #55abf7; }
.ssf-hover-text-white:hover { color: #ffffff; }
.ssf-hover-text-gray-200:hover { color: #e5e7eb; }

/* Form Elements */
.ssf-form-radio { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 1.25rem; height: 1.25rem; border: 1px solid #d1d5db; border-radius: 50%; outline: none; }
.ssf-form-radio:checked { background-color: #2563eb; border-color: #2563eb; background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='4'/%3e%3c/svg%3e"); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; }
.ssf-form-checkbox { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 1.25rem; height: 1.25rem; border: 1px solid #d1d5db; border-radius: 0.25rem; outline: none; }
.ssf-form-checkbox:checked { background-color: #2563eb; border-color: #2563eb; background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; }

/* Custom Components */
.ssf-popup { display: none; }
.ssf-modal-overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; display: flex; justify-content: center; align-items: center; background-color: rgba(0, 0, 0, 0.5); }
.ssf-modal-content { background-color: #ffffff; border-radius: 0.5rem; max-width: 56rem; width: 100%; min-height: 60vh; max-height: 90vh; overflow-y: auto; }
.ssf-form-content { margin-top: 1rem; margin-bottom: 1rem; }
.ssf-nav-buttons { display: grid; justify-content: flex-start; gap: 0.5rem; padding-left: 5rem; padding-right: 5rem; margin-bottom: 7.75rem; }
.ssf-next-btn { background-color: #55abf7; color: #ffffff; padding-left: 4rem; padding-right: 4rem; font-size: 1.25rem; line-height: 1.75rem; padding-top: 0.75rem; padding-bottom: 0.75rem; border-radius: 0.25rem; }
.ssf-next-btn:hover { background-color: #2563eb; }
.ssf-next-btn:disabled { background-color: #9ca3af; cursor: not-allowed; }
.ssf-prev-btn { color: #55abf7; font-size: 1.125rem; line-height: 1.75rem; padding-top: 0.75rem; padding-bottom: 0.75rem; cursor: pointer; text-align: start; }
.ssf-service-btn { grid-column: span 1 / span 1; background-color: #ffffff; border:2px solid #55abf7;  cursor: pointer; font-weight: 600; color: #55abf7; padding-left: 1.5rem; padding-right: 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; border-radius: 0.25rem; margin-right: 1rem; margin-bottom: 1rem; }
.ssf-service-btn:hover { background-color: #55abf7; color: #ffffff; }
.ssf-service-btn.checked { background-color: #55abf7; color: #ffffff; }
.ssf-time-slots-container { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 0.75rem; }
.ssf-open-popup { cursor: pointer; }

/* Utility */
.ssf-important { font-weight: bold !important; }

.ssf-text-red-600 { color: #dc2626; }
.ssf-book-another-btn { background-color: #55abf7; color: #ffffff; padding-left: 2rem; padding-right: 2rem; font-size: 1.25rem; line-height: 1.75rem; padding-top: 0.75rem; padding-bottom: 0.75rem; border-radius: 0.25rem; }


.ssf-contact-details-input-couple{
    display: flex;
}

/* Mobile Responsive Styles (max-width: 430px) */
@media (max-width: 500px) {
    /* Typography adjustments */
    .ssf-text-5xl { font-size: 28px; line-height: 1.2; }
    .ssf-text-4xl { font-size: 1.75rem; line-height: 2rem; }
    .ssf-text-xl { font-size: 1.125rem; line-height: 1.5rem; }
    .ssf-text-lg { font-size: 0.9rem; line-height: 1.5rem; }

    /* Layout adjustments */
    .ssf-modal-content {
        min-height: 50vh;
        height: 100svh;
        max-height: 100svh;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .ssf-contact-details-input-couple{
        display: grid;
    }

    .ssf-header-top-banner{
        justify-content: center;
    }

    .ssf-min-sm-w-2-3{
        min-width: 90svw;
    }
    
    /* Modal overlay adjustments for full-width */
    .ssf-modal-overlay {
        padding: 0;
    }

    /* Spacing adjustments for full-width modal */
    .ssf-px-20 { padding-left: 1rem; padding-right: 1rem; }
    .ssf-px-16 { padding-left: 0.75rem; padding-right: 0.75rem; }
    .ssf-px-6 { padding-left: 0.75rem; padding-right: 0.75rem; }
    .ssf-p-6 { padding: 0.75rem; }
    .ssf-pt-20 { padding-top: 2.5rem; }
    .ssf-my-8 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
    .ssf-mb-6 { margin-bottom: 1rem; }
    .ssf-mt-6 { margin-top: 1rem; }

    /* Navigation buttons */
    .ssf-nav-buttons {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 0.5rem;
    }

    .ssf-next-btn {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        font-size: 1.125rem;
        width: 100%;
    }

    .ssf-prev-btn {
        font-size: 1rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    /* Service buttons */
    .ssf-service-btn {
        margin-right: 0.5rem;
        margin-bottom: 0.75rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Grid adjustments */
    .ssf-grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Spacing adjustments for grid items */
    .ssf-space-x-8 > * + * { margin-left: 1rem; }
    .ssf-space-x-3 > * + * { margin-left: 0.5rem; }

    /* Time slots */
    .ssf-time-slots-container {
        gap: 0.5rem;
    }

    /* Form content */
    .ssf-form-content {
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }

    /* Book another button */
    .ssf-book-another-btn {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 1.125rem;
        width: 100%;
    }
    
    /* Form elements adjustments for better touch interaction */
    .ssf-form-radio, 
    .ssf-form-checkbox {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    /* Improve touch targets for interactive elements */
    .ssf-cursor-pointer {
        min-height: 44px;
    }
}
