@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap');

@font-face {
    font-family: 'Alike';
    src: url('/public/fonts/Alike-Regular.ttf') format('truetype'),
         url('../public/fonts/Alike-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Gistesy';
    src: url('/public/fonts/Gistesy.ttf') format('truetype'),
         url('../public/fonts/Gistesy.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

:root {
    --background: #ffffff;
    --foreground: #171717;
    --brand-cream: #fff9ef;
    --brand-cream-dark: #f5ede1;
    --brand-dark: #262421;
    --brand-tan: #d4c4b0;
    --font-playfair: 'Playfair Display', serif;
    --font-alike: 'Alike', Arial, Helvetica, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: 'Alike', 'Playfair Display', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Ensure Alike font is used for body text */
body, p, span, div, a, li, label, input, textarea, button {
    font-family: 'Alike', Arial, Helvetica, sans-serif;
}

/* Navigation specific fixes */
nav {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 50;
    background-color: #fff9ef;
    margin-bottom: 0 !important;
}

/* Ensure navigation doesn't overlap content */
nav + * {
    margin-top: 0;
}

/* Remove bottom margin on mobile and reduce top padding */
@media (max-width: 1023px) {
    nav {
        margin-bottom: 0 !important;
    }

    nav > div {
        margin-bottom: 0 !important;
    }

    /* Reduce hero section padding on mobile */
    .pt-44 {
        padding-top: 6rem !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Utility Classes */
.min-h-screen {
    min-height: 100vh;
}

.pt-44 {
    padding-top: 11rem;
}

.pt-64 {
    padding-top: 16rem;
}

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

.pb-16 {
    padding-bottom: 4rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

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

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

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

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

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

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

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

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

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

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

.mb-12 {
    margin-bottom: 3rem;
}

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

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

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

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

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

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

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

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

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

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

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

.text-white {
    color: #ffffff;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-red-700 {
    color: #b91c1c;
}

.bg-white {
    background-color: #ffffff;
}

/* Arbitrary background colors - handle Tailwind's bg-[#color] syntax */
.bg-\[#fff9ef\] {
    background-color: #fff9ef;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.bg-black\/90 {
    background-color: rgba(0, 0, 0, 0.9);
}

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

.border {
    border-width: 1px;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-transparent {
    border-color: transparent;
}

.rounded-2xl {
    border-radius: 1rem;
}

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

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

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

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-7xl {
    max-width: 80rem;
}

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

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

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

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

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

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

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

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

.flex {
    display: flex;
}

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

.grid {
    display: grid;
}

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

.hidden {
    display: none;
}

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

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

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

.justify-end {
    justify-content: flex-end;
}

.space-x-6 {
    gap: 1.5rem;
}

.space-x-8 {
    gap: 2rem;
}

.space-y-4 {
    gap: 1rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-4 p + p {
    margin-top: 1rem;
}

.space-y-6 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-full {
    height: 100%;
}

.h-20 {
    height: 5rem;
}

.h-32 {
    height: 8rem;
}

.aspect-square {
    aspect-ratio: 1 / 1;
    position: relative;
}

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

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

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

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

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:text-rose-600:hover {
    color: #e11d48;
}

.hover\:text-\[#fff9ef\]:hover {
    color: #fff9ef;
}

/* Custom gradients */
.bg-gradient-testimonial {
    background: linear-gradient(to bottom right, var(--brand-cream), var(--brand-cream-dark));
}

.bg-gradient-services {
    background: linear-gradient(to bottom, #ffffff, var(--brand-cream));
}

/* Main background gradient */
.min-h-screen[style*="background: linear-gradient"] {
    background: linear-gradient(to bottom, #fff9ef 0%, #ffffff 100%);
}

.divider-line {
    background: linear-gradient(to right, transparent, var(--brand-dark) 50%, transparent);
    height: 1px;
}

/* Responsive */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .sm\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .sm\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

@media (min-width: 768px) {
    .md\:grid {
        display: grid;
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:px-12 {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
    
    .md\:p-12 {
        padding: 3rem;
    }
    
    .md\:pt-6 {
        padding-top: 1.5rem;
    }
    
    .md\:pb-6 {
        padding-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid {
        display: grid;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

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

    .lg\:pb-6 {
        padding-bottom: 1.5rem;
    }

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

    .lg\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.5);
    border-color: transparent;
}

input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e11d48;
    outline-offset: 2px;
}

button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Contact form specific spacing */
.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Form label spacing */
label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Fix links in boxes - remove underlines */
.bg-white a,
.bg-gradient-testimonial a,
div[style*="background-color: #fff9ef"] a,
div[style*="background-color: #ffffff"] a,
a.group {
    text-decoration: none !important;
    color: inherit;
}

a.group:hover {
    text-decoration: none !important;
}

/* Ensure buttons don't have underlines */
a[style*="background-color: #262421"],
a[style*="background-color: #262421"]:hover,
a[style*="background-color: #262421"]:visited,
a[style*="background-color: #262421"]:active {
    text-decoration: none !important;
    color: #ffffff !important;
}

/* Image containers should not have padding */
.rounded-2xl.overflow-hidden {
    padding: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .md\:p-12 {
        padding: 3rem !important;
    }
}

/* List item spacing fixes */
.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Ensure proper horizontal padding on boxes */
.bg-white.rounded-2xl,
div[style*="background-color: #ffffff"].rounded-2xl {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 768px) {
    .bg-white.rounded-2xl.md\:p-12,
    div[style*="background-color: #ffffff"].rounded-2xl.md\:p-12 {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Transform utilities */
.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

.transition-all {
    transition-property: all;
}

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

/* SVG sizing fixes */
svg {
    display: inline-block;
    vertical-align: middle;
}

svg.w-5 {
    width: 1.25rem;
    height: 1.25rem;
}

svg.w-6 {
    width: 1.5rem;
    height: 1.5rem;
}

svg.w-8 {
    width: 2rem;
    height: 2rem;
}

svg.w-10 {
    width: 2.5rem;
    height: 2.5rem;
}

svg.w-12 {
    width: 3rem;
    height: 3rem;
}

/* Additional utilities */
.leading-relaxed {
    line-height: 1.625;
}

.list-disc {
    list-style-type: disc;
}

.list-inside {
    list-style-position: inside;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

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

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

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

.flex-shrink-0 {
    flex-shrink: 0;
}

.inline-block {
    display: inline-block;
}

.text-rose-600 {
    color: #e11d48;
}

.text-rose-700 {
    color: #be123c;
}

/* Arbitrary text colors - handle Tailwind's text-[#color] syntax */
.text-\[#262421\] {
    color: #262421;
}

.underline {
    text-decoration: underline;
}

.decoration-2 {
    text-decoration-thickness: 2px;
}

.underline-offset-4 {
    text-underline-offset: 4px;
}

.hover\:text-rose-700:hover {
    color: #be123c;
}

.group:hover .group-hover\:text-rose-600 {
    color: #e11d48;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.5);
}

.focus\:ring-rose-500:focus {
    --tw-ring-color: #e11d48;
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

.bg-rose-50 {
    background-color: #fff1f2;
}

.bg-rose-100 {
    background-color: #ffe4e6;
}

.bg-pink-100 {
    background-color: #fce7f3;
}

/* Hero section */
.h-\[600px\] {
    height: 600px;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-rose-100 {
    --tw-gradient-from: #ffe4e6;
    --tw-gradient-to: rgba(255, 228, 230, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-pink-100 {
    --tw-gradient-to: #fce7f3;
}

.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

.bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Drop shadow */
.drop-shadow-lg {
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

.drop-shadow-md {
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

