/* 
 * Main stylesheet for Aesthetic Institute theme 
 * Contains Tailwind-like utility classes and custom components
 */

/* Base Styles */
:root {
    --background: 34 33% 96%;
    --foreground: 222 47% 11%;
    --card: 0 0% 100%;
    --card-foreground: 222 47% 11%;
    --popover: 0 0% 100%;
    --popover-foreground: 222 47% 11%;
    --primary: 39 54% 51%;
    --primary-foreground: 0 0% 100%;
    --secondary: 39 24% 41%;
    --secondary-foreground: 34 33% 96%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 39 24% 41%;
    --accent: 39 54% 51%;
    --accent-foreground: 222 47% 11%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 39 54% 51%;
    --radius: 0.5rem;
}

body {
    background-color: #F9F6F1;
    color: #403E43;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #403E43;
    letter-spacing: -0.025em;
}

/* Custom Colors */
.bg-luxury-ivory {
    background-color: #F9F6F1;
}

.bg-luxury-charcoal {
    background-color: #403E43;
}

.bg-luxury-gold {
    background-color: #C79A3A;
}

.bg-luxury-bronze {
    background-color: #A8782C;
}

.text-luxury-ivory {
    color: #F9F6F1;
}

.text-luxury-charcoal {
    color: #403E43;
}

.text-luxury-gold {
    color: #C79A3A;
}

.text-luxury-bronze {
    color: #A8782C;
}

/* Font Families */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Open Sans', sans-serif;
}

/* Components */
.btn-primary {
    background-color: #C79A3A;
    color: white;
    transition: background-color 0.3s;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.btn-primary:hover {
    background-color: #A8782C;
}

.btn-secondary {
    background-color: transparent;
    color: #C79A3A;
    border: 2px solid rgba(199, 154, 58, 0.3);
    transition: all 0.3s;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #C79A3A;
    background-color: rgba(199, 154, 58, 0.1);
}

.btn-sticky {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .btn-sticky {
        display: none;
    }
}

.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #403E43;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }
}

.section-subtitle {
    color: rgba(64, 62, 67, 0.8);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.25rem;
    }
}

.container {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Layout Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.w-full {
    width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-xl {
    max-width: 36rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pb-0 {
    padding-bottom: 0;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

@media (min-width: 768px) {
    .md\:p-8 {
        padding: 2rem;
    }
}

.text-center {
    text-align: center;
}

@media (min-width: 1024px) {
    .lg\:text-left {
        text-align: left;
    }
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

@media (min-width: 768px) {
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .lg\:text-6xl {
        font-size: 3.75rem;
    }
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.leading-tight {
    line-height: 1.25;
}

/* Animations and Transitions */
.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Other utilities */
.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.top-0 {
    top: 0;
}

.sticky {
    position: sticky;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Line clamping */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive utilities */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
}

.h-48 {
    height: 12rem;
}

.object-cover {
    object-fit: cover;
}
