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

:root {
    --primary: #4A5D4E;
    --primary-light: #6B7F6F;
    --accent: #D4A373;
    --bg-light: #FDFBF7;
    --bg-white: #FFFFFF;
    --text-dark: #2D3436;
    --text-muted: #636E72;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 100px 10%;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 15px 10%;
    box-shadow: var(--shadow);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 30px;
    font-weight: 400;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

.btn-cta {
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-cta:hover {
    background-color: var(--accent);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), 
                url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    opacity: 1;
    transform: none;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 30px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Gallery Overhaul */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Bento Layout */
.grid-big { grid-column: span 2; grid-row: span 2; }
.grid-wide { grid-column: span 2; }
.grid-tall { grid-row: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    padding: 35px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    z-index: 2;
}

.gallery-overlay span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--accent);
    padding: 5px 15px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 12px;
}

.gallery-overlay h3 {
    font-size: 1.8rem;
    color: white;
    font-family: 'Playfair Display', serif;
}

.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.08) rotate(1deg);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover .play-btn {
    background: var(--accent);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Hidden state for filtering */
.gallery-item.hidden {
    display: none;
}

/* Responsive Bento */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    .grid-big, .grid-wide, .grid-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Testimonials */
.testimonials-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 20px;
    font-style: italic;
}

.testimonial-card .author {
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    display: block;
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 10% 40px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: left;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    header { padding: 15px 5%; }
    section { padding: 60px 5%; }
    nav { display: none; }
}
