/* TanaApp Custom Styles */

/* Feature Tab Styles */
.feature-tab-button.active {
    border-color: var(--tw-text-opacity-primary);
    color: var(--tw-text-opacity-primary);
    background-color: rgba(37, 99, 235, 0.05);
}

/* Aspect Ratio Utility */
.aspect-w-16 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 16;
}

.aspect-h-9 {
    --tw-aspect-h: 9;
}

.aspect-w-4 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 4;
}

.aspect-h-3 {
    --tw-aspect-h: 3;
}

.aspect-w-16 > *, .aspect-w-4 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Reference Cards Placeholder - For Demo Only */
.reference-card .aspect-w-4.aspect-h-3 {
    background-color: rgba(37, 99, 235, 0.1);
    position: relative;
}

.reference-card .aspect-w-4.aspect-h-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 99, 235, 0.1);
    background-image: linear-gradient(60deg, rgba(37, 99, 235, 0.1) 25%, rgba(37, 99, 235, 0.2) 25%, rgba(37, 99, 235, 0.2) 50%, rgba(37, 99, 235, 0.1) 50%, rgba(37, 99, 235, 0.1) 75%, rgba(37, 99, 235, 0.2) 75%, rgba(37, 99, 235, 0.2));
    background-size: 20px 20px;
}

.reference-card .aspect-w-4.aspect-h-3::after {
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(37, 99, 235, 0.3);
}

/* Reference card hover effects */
.reference-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Custom Input Range for Room Count Slider */
input[type=range] {
    height: 8px;
    -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input[type=range]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Animation utilities */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom checkbox styles */
input[type="checkbox"] {
    border-radius: 0.25rem;
    border-color: #d1d5db;
}

input[type="checkbox"]:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* Mobile menu animations */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 1000px;
    opacity: 1;
}

/* Pricing card hover effect */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Additional responsive fixes */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    h2 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

/* Custom utility classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-md {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.text-shadow-lg {
    text-shadow: 0 15px 30px rgba(0, 0, 0, 0.11), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.text-shadow-none {
    text-shadow: none;
} 