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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-raleway {
    font-family: 'Raleway', sans-serif;
}

#header.scrolled {
    background-color: rgba(245, 240, 235, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    background-color: #C3A983;
    color: white;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
    border: 1px solid #C3A983;
}

.cta-button:hover {
    background-color: transparent;
    color: #C3A983;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(195, 169, 131, 0.3);
}

.cta-button-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    background-color: #1A1A1A;
    color: white;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
    border: 1px solid #1A1A1A;
}

.cta-button-dark:hover {
    background-color: transparent;
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.2);
}

#hero .cta-button:hover {
    color: white;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #EAD9D1;
    border-radius: 0.5rem;
    background-color: #F5F0EB;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #C3A983;
    box-shadow: 0 0 0 2px rgba(195, 169, 131, 0.3);
}

.animated-element {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
}

#carousel-track {
    will-change: transform;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex-shrink: 0;
    width: 25%;
    padding: 0 0.75rem;
}

@media (max-width: 1024px) {
    .carousel-item {
        width: 50%;
    }
}
@media (max-width: 640px) {
    .carousel-item {
        width: 85%;
    }
}


.carousel-nav-button {
    padding: 0.5rem;
    border: 1px solid #C3A983;
    color: #C3A983;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.carousel-nav-button:hover {
    background-color: #C3A983;
    color: white;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    overflow: hidden;
}

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

.service-card video {
    outline: none;
}

/* Navigation Styles */
.nav-link {
    color: #4A5568; /* text-gray-700 */
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.nav-link:hover {
    color: #C3A983;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background-color: #C3A983;
    transition: width 0.3s ease;
}

.nav-link.active {
    color: #C3A983;
}

.nav-link.active::after {
    width: 100%;
}

.mobile-nav-link {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem; /* text-4xl */
    color: #2D3748; /* text-gray-800 */
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #C3A983;
}

body.mobile-menu-open {
    overflow: hidden;
}
