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

/* Tailwind Configuration */
.font-display {
    font-family: 'Playfair Display', serif;
}

.font-body {
    font-family: 'Lato', sans-serif;
}

/* Custom Styles */
html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
}

/* Ensure consistent header height */
header {
    min-height: 80px;
}

header nav > div {
    min-height: 80px;
}

/* Lightbox Styles */
#lightbox {
    backdrop-filter: blur(5px);
}

#lightbox img {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth Transitions */
* {
    transition-property: color, background-color, border-color, opacity, transform;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
}

/* Image Hover Effects */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Form Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #92400e;
    box-shadow: 0 0 0 3px rgba(146, 64, 14, 0.1);
}

/* Button Hover Effects */
button,
a[role="button"] {
    transition: all 0.2s ease;
}

/* Gallery Grid */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

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

