/* =========================================
   GLOBAL FONTS
   ========================================= */
@font-face {
    font-family: 'VistaaraCursive';
    src: url('./fonts/Slight-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'VistaaraClean';
    src: url('./fonts/alta-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    letter-spacing: 0.5px;
    scroll-behavior: smooth;
    background: linear-gradient(180deg, #ccad77 0%, #f1deca 50%, #ccad77 100%);
}

h1, h2 {
    font-family: 'VistaaraClean';
    letter-spacing: 2px;
}

/* =========================================
   HEADER
   ========================================= */
header {
    display: flex;
    font-size: 15px;
    background-color: #e4d3ae;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    flex-wrap: wrap;
}

.logo-container {
    text-align: left;
    padding: 15px 25px;
    flex: 1;
    min-width: 200px;
}

.logo-main-text {
    font-family: 'VistaaraCursive';
    font-size: clamp(36px, 6vw, 46px);
    color: #8b7a55;
    margin: 0;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 2px;
}

.logo-sub-text {
    font-family: 'VistaaraClean';
    font-size: clamp(10px, 1.5vw, 12px);
    color: #8b7a55;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding-left: clamp(40px, 8vw, 100px);
}

/* =========================================
   NAV
   ========================================= */
nav {
    text-align: right;
    padding: 10px 20px;
    flex-shrink: 0;
}

nav a {
    color: #8b7a55;
    padding: 10px 5px;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 1px;
}

nav a:hover {
    text-decoration: underline;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(90deg, #8b7a55 0%, #bfa76a 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    box-shadow: 0 2px 8px rgba(139, 122, 85, 0.12);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    letter-spacing: 1px;
    white-space: nowrap;
}

.back-btn:hover {
    background: linear-gradient(90deg, #bfa76a 0%, #8b7a55 100%);
    box-shadow: 0 6px 18px rgba(139, 122, 85, 0.18);
    transform: translateY(-2px) scale(1.04);
}

.back-btn::before {
    content: '←';
    font-size: 1.2em;
    margin-right: 0.5em;
    opacity: 0.8;
}

/* =========================================
   HERO
   ========================================= */
.hero {
    color: #554c44;
    padding: 4rem 2rem 1rem 2rem;
    text-align: center;
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero .tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #8b7a55;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: center;
}

/* =========================================
   MAIN CONTAINER
   ========================================= */
.container {
    max-width: 1000px;
    margin: 1rem auto 3rem auto;
    padding: 0 1rem 2rem;
    font-family: 'Times New Roman', Times, serif;
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
    background: #f5ebe0;
    padding: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(139, 122, 85, 0.08);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.section:nth-child(1) { animation-delay: 0.2s; }
.section:nth-child(2) { animation-delay: 0.4s; }
.section:nth-child(3) { animation-delay: 0.6s; }
.section:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.section h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: #6b5d47;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #8b7a55;
    display: inline-block;
    letter-spacing: 0.5px;
}

.section h3 {
    font-size: 1.3rem;
    color: #8b7a55;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

/* =========================================
   PHILOSOPHY ITEMS
   ========================================= */
.philosophy-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.philosophy-item {
    padding: 1.5rem;
    background: #f7e3cf;
    border-left: 4px solid #8b7a55;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.philosophy-item:hover {
    background: #f3ede3;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(139, 122, 85, 0.2);
}

.philosophy-item strong {
    color: #554c44;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    letter-spacing: 0.3px;
    font-family: 'VistaaraClean';
}

.philosophy-item p {
    margin-top: 0.5rem;
    color: #7a6a5a;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    letter-spacing: 0.2px;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2rem);
    background: #f5ebe0;
    border-radius: 10px;
    color: #7a6a5a;
    box-shadow: 0 5px 20px rgba(139, 122, 85, 0.08);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.cta-section h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #6b5d47;
    margin-bottom: 1rem;
    border: none;
    display: block;
    letter-spacing: 0.5px;
}

.cta-section p {
    margin-bottom: 0.5rem;
}

.cta-btn {
    font-family: 'VistaaraClean';
    display: inline-block;
    padding: 10px 20px;
    background: #6b5d47;
    color: #f5ebe0;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    margin: 1rem 0.5rem 0;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 122, 85, 0.2);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #e4d3ae;
    color: #8b7a55;
    text-align: center;
    letter-spacing: 0.3px;
    padding: 1.5rem;
    font-family: 'VistaaraClean';
}

.footer h3 {
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: normal;
}

/* =========================================
   MOBILE — up to 800px
   ========================================= */
@media (max-width: 800px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        text-align: left;
        padding: 0 15px 12px 15px;
    }

    .back-btn {
        font-size: 0.9rem;
        padding: 0.4rem 1.1rem;
    }

    .philosophy-item:hover {
        transform: none; /* avoids awkward sideways shift on touch */
    }

    .cta-btn {
        display: block;
        width: 100%;
        margin: 0.75rem 0 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem 0.5rem;
    }

    .container {
        padding: 0 0.75rem 1.5rem;
    }
}
