/* style.css */

/* --- Variables --- */
:root {
    --clay-dark: #3E3B36;
    --clay-light: #F4F1EA;
    --terracotta: #C57B57;
    --sand: #E3DCD2;
    --text-main: #2C2C2C;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.6s ease;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clay-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; }

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--clay-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--terracotta);
    border-bottom: 1px solid var(--terracotta);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- Scrollytelling Layouts --- */
.scrolly-container {
    position: relative;
}

.scrolly-section {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sticky-image-wrapper {
    flex: 1;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.sticky-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-text-wrapper {
    flex: 1;
    padding: 50px;
    background-color: var(--clay-light);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Text Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--clay-dark);
    color: #fff;
    border: 1px solid var(--clay-dark);
    margin-top: 20px;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--clay-dark);
}

/* --- Forms --- */
.form-container {
    max-width: 600px;
    margin: 150px auto 100px;
    padding: 0 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: transparent;
    font-family: var(--font-body);
}

/* --- Testimonials Grid --- */
.grid-container {
    max-width: 1200px;
    margin: 150px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.review-card {
    background: #fff;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- Footer --- */
footer {
    background-color: var(--clay-dark);
    color: var(--sand);
    padding: 60px 5%;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: #fff;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.phone-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--clay-light);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active { display: flex; }
    .hamburger { display: block; }

    /* Scrollytelling Mobile: Stack vertically */
    .scrolly-section { flex-direction: column; min-height: auto; }
    .sticky-image-wrapper { position: relative; height: 50vh; top: 0; }
    .scroll-text-wrapper { padding: 40px 20px; }
    
    h1 { font-size: 2.5rem; }
    
    .footer-content { flex-direction: column; }
}