/* =========================================
   Sonoma Botanicals - Main Stylesheet
   ========================================= */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Stoke", serif;
    color: #818181;
    font-size: 16px;
    line-height: 25px;
    background-image: url("/assets/images/background.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    background-attachment: fixed;
    background-color: #f5f5f5;
}

/* Typography */
h2 {
    font-family: "Stoke", serif;
    color: #595959;
    font-size: 28px;
    line-height: 43px;
    font-style: normal;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Header & Navigation
   ========================================= */
#header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Stoke", serif;
    font-size: 24px;
    color: #595959;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #595959;
    font-family: "Stoke", serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #8c4064;
}

/* Sub-header */
.sub-header {
    background: #8c4064;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    font-size: 14px;
}

.sub-header a {
    color: #fff;
    text-decoration: none;
}

.sub-header span {
    margin: 0 15px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #8c4064;
    color: #fff;
    text-decoration: none;
    font-family: "Stoke", serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #6d3150;
}

.btn-outline {
    background: transparent;
    border: 2px solid #595959;
    color: #595959;
}

.btn-outline:hover {
    background: #595959;
    color: #fff;
}

/* =========================================
   Hero Section
   ========================================= */
#home {
    padding-top: 130px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85));
}

.hero-content {
    max-width: 800px;
    padding: 40px;
}

.hero-content img {
    max-width: 300px;
    margin-bottom: 30px;
}

.hero-content h1 {
    font-family: "Crimson Text", serif;
    font-size: 42px;
    color: #595959;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-family: "Lora", serif;
    color: #9e989a;
    font-size: 19px;
    line-height: 44px;
    margin-bottom: 30px;
}

/* =========================================
   Features Section
   ========================================= */
.features {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-item img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-family: "Stoke", serif;
    color: #595959;
    font-size: 24px;
    margin-bottom: 15px;
}

/* =========================================
   Sections
   ========================================= */
section {
    padding: 80px 0;
}

.section-light {
    background: rgba(255, 255, 255, 0.95);
}

.section-dark {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/assets/images/background.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.section-dark h2 {
    color: #fff;
}

.text-center {
    text-align: center;
}

/* =========================================
   Services Section
   ========================================= */
#services {
    padding-top: 130px;
}

#services .container {
    text-align: center;
}

.services-list {
    font-size: 18px;
    line-height: 2.5;
    margin: 30px 0;
}

.services-image {
    max-width: 400px;
    margin: 30px auto;
}

.services-image img {
    width: 100%;
}

/* =========================================
   About Section
   ========================================= */
#about {
    padding-top: 130px;
}

#about .container {
    text-align: center;
    max-width: 800px;
}

#about p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(rgba(140, 64, 100, 0.9), rgba(140, 64, 100, 0.9)), url("/assets/images/background.jpg");
    background-size: cover;
    background-position: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 30px;
}

.cta-section .btn {
    background: #fff;
    color: #8c4064;
}

.cta-section .btn:hover {
    background: #f0f0f0;
}

/* =========================================
   Contact Section
   ========================================= */
#contact {
    padding-top: 130px;
}

#contact .container {
    max-width: 600px;
    text-align: center;
}

#contact p {
    margin-bottom: 30px;
}

/* Contact Form */
.contact-form {
    text-align: left;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: "Stoke", serif;
    color: #595959;
}

.form-group .required,
.form-note .required {
    color: #8c4064;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: "Stoke", serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8c4064;
}

.form-group textarea {
    height: 200px;
    resize: vertical;
}

.form-sublabel {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.form-note {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: #999;
    font-size: 14px;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .sub-header {
        font-size: 12px;
    }

    .sub-header span {
        display: block;
        margin: 5px 0;
    }

    #header .container {
        flex-direction: column;
        gap: 15px;
    }

    .sub-header {
        top: 100px;
    }

    #home,
    #services,
    #about,
    #contact {
        padding-top: 170px;
    }
}
