@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');

:root {
    --max-width: 1400px;
    --padding: clamp(1rem, 3vw, 2rem);
    --primary: #333;
    --background: #c9d0da;
    --font-primary: 'Source Sans Pro', system-ui, -apple-system, sans-serif;
}

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

html {
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--primary);
    background-color: var(--background);
}

.wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
}

/* Typography */
h1 { font-size: clamp(1.5rem, 5vw, 3rem); }
h2 { font-size: clamp(1.25rem, 4vw, 2.5rem); }
p { font-size: clamp(1rem, 2vw, 1.125rem); }

/* Navigation */
.nav__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

/* Content Grid */
.content__grid {
    display: grid;
    gap: var(--padding);
    grid-template-columns: 1fr;
}

/* Base (mobile-first) */
.logo {
    width: clamp(180px, 20vw, 700px);
    height: auto;
}

/* Mobile Small (320px) */
@media screen and (min-width: 20em) {
    .nav__list {
        font-size: 0.875rem;
    }
}

/* Mobile Large (480px) */
@media screen and (min-width: 30em) {
    .nav__list {
        flex-direction: row;
        font-size: 1rem;
    }
}

/* Tablet Portrait (768px) */
@media screen and (min-width: 48em) {
    .content__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape (1024px) */
@media screen and (min-width: 64em) {
    .content__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1200px) */
@media screen and (min-width: 75em) {
    .wrapper {
        padding: 0 calc(var(--padding) * 2);
    }
    .logo {
        width: clamp(200px, 22vw, 800px);
    }
}

/* Large Desktop (1400px) */
@media screen and (min-width: 87.5em) {
    .content__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print styles */
@media print {
    .nav {
        display: none;
    }
}

.logo-container {
    padding: var(--padding);
    text-align: center;
}

.corner-decoration {
    position: fixed;
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

.top-left {
    top: 0;
    left: 0;
    background-image: url('../Images/LeafCorner.JPG');
}

.bottom-right {
    bottom: 0;
    right: 0;
    background-image: url('../Images/LeafCorner.JPG');
    transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
    .corner-decoration {
        width: 100px;
        height: 100px;
    }
}

.center-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.intro-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ethos {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-style: italic;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.owner-photo {
    width: 150px;              
    height: 150px;             
    border-radius: 50%;        
    object-fit: cover;         
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 15px auto;         
    display: block;
}

.testimonials {
    margin-top: 3rem;
    text-align: center;
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

blockquote {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-style: italic;
}

blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
}

.contact {
    margin-top: 3rem;
    text-align: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--primary);
    margin: 0.5rem;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    transform: scale(1.05);
}

.contact-icon {
    width: 32px;   /* smaller than Instagram logo for balance */
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--primary);
}

.about {
    max-width: 800px;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto; 
    text-align: center;
    line-height: 1.8;
}

.about p {
    margin-bottom: 1.5rem;
}

/* Initial hidden state */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active state when in view */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}