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

html {
    scroll-behavior: smooth;
}

/* Offset for fixed navigation */
#home, #instagram-feed, #contact-form {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Special Elite', serif;
    line-height: 1.8;
    color: #333;
    background-color: #faf9f7;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Special Elite', serif;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== COLOR PALETTE ===== */
:root {
    --primary-color: #8B5A2B;        /* Cedar brown */
    --secondary-color: #D4A574;      /* Oak tan */
    --accent-color: #A0522D;         /* Warm brown */
    --light-accent: #F5E6D3;         /* Cream */
    --dark-text: #2C1810;            /* Dark brown */
    --medium-text: #555;             /* Medium gray */
    --light-text: #777;              /* Light gray */
    --background: #FAF9F7;           /* Off-white */
    --white: #FFFFFF;
    --success: #28a745;
    --error: #dc3545;
    
    /* Pine needle green colors for homepage */
    --pine-green: #2D4A32;           /* Deep pine green from logo */
    --pine-light: #5A7C5E;          /* Lighter pine green */
    --pine-accent: #3F5F44;         /* Medium pine green */
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-text);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 50%;
    background-color: var(--white);
    padding: 2px;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text-fallback {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Special Elite', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hide text fallback when image loads successfully */
.logo-image + .logo-text-fallback {
    display: none;
}

/* Hero text fallback styles */
.hero-text-logo {
    text-align: center;
}

.hero-logo-text {
    font-family: 'Special Elite', serif;
    font-size: 4rem;
    font-weight: 400;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-logo-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23f5e6d3" fill-opacity="0.1" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 100px 2rem 0;
    margin-top: 80px;
}

/* Hero Logo Styles */
.hero-logo {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-logo-image {
    max-width: 450px;
    width: 90%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
    border-radius: 50%;
    background-color: var(--white);
    padding: 12px;
}

.hero-logo-image:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 4rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 3rem;
    font-weight: 600;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

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

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--secondary-color) 50%);
    text-align: center;
}

.page-header h1 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--medium-text);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT PREVIEW SECTION ===== */
.about-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5ebe0 0%, #e8d5c4 50%, #f5ebe0 100%);
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(139, 90, 43, 0.03) 0px, transparent 1px, transparent 2px, rgba(139, 90, 43, 0.03) 3px),
        repeating-linear-gradient(0deg, rgba(139, 90, 43, 0.03) 0px, transparent 1px, transparent 2px, rgba(139, 90, 43, 0.03) 3px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.image-placeholder {
    background-color: var(--light-accent);
    border: 2px dashed var(--secondary-color);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: var(--medium-text);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* ===== FEATURED COLLECTIONS ===== */
.featured-collections {
    padding: 100px 0;
    background-color: var(--background);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.collection-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.collection-image {
    height: 250px;
}

.collection-image .image-placeholder {
    height: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
}

.instagram-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.instagram-image:hover {
    transform: scale(1.05);
}

/* ===== INSTAGRAM FEED SECTION ===== */
.instagram-feed {
    padding: 100px 0;
    background-color: var(--background);
}

.feed-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 3rem;
    font-style: italic;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.instagram-post .instagram-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .post-overlay {
    opacity: 1;
}

.post-overlay i {
    font-size: 2rem;
    color: white;
}

.instagram-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.instagram-cta .btn i {
    margin-right: 0.5rem;
}

@media screen and (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .instagram-cta {
        flex-direction: column;
        align-items: center;
    }
}

.collection-info {
    padding: 2rem;
}

.collection-info h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

/* ===== UPCOMING EVENTS ===== */
.upcoming-events {
    padding: 100px 0;
    background-color: var(--white);
}

.events-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background-color: var(--background);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-date {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.event-time {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

/* ===== HOMEPAGE CONTACT FORM ===== */
.contact-section {
    padding: 80px 0;
    background:
        repeating-linear-gradient(
            0deg,
            #f8f6f4 0px,
            #f8f6f4 148px,
            #e8e6e4 148px,
            #e8e6e4 150px,
            #f5f3f1 150px,
            #f5f3f1 298px,
            #e8e6e4 298px,
            #e8e6e4 300px
        );
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px),
        repeating-linear-gradient(0deg,
            rgba(139, 90, 43, 0.015) 0px,
            transparent 1px,
            transparent 3px,
            rgba(139, 90, 43, 0.015) 4px);
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(200, 180, 160, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(180, 160, 140, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(190, 170, 150, 0.09) 0%, transparent 50%);
    pointer-events: none;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-form-container h2 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.contact-form-container p {
    color: var(--medium-text);
    margin-bottom: 2rem;
}

.contact-form {
    text-align: left;
}

.newsletter-content h2 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #000000;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

/* ===== ABOUT PAGE STYLES ===== */
.our-story {
    padding: 100px 0;
    background-color: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
}

.story-img:hover {
    transform: scale(1.02);
}

.story-image-container {
    display: block !important;
    width: 100%;
    height: auto;
}

.our-story-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.our-story-image:hover {
    transform: scale(1.02);
}

.mission-values {
    padding: 100px 0;
    background-color: var(--background);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.value-card h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.team {
    padding: 100px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

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

.member-image {
    margin-bottom: 2rem;
}

.member-image .image-placeholder {
    max-width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.store-info {
    padding: 100px 0;
    background-color: var(--light-accent);
}

.info-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.store-details {
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.detail-item h4 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

/* ===== EVENTS PAGE STYLES ===== */
.calendar-section {
    padding: 100px 0;
    background-color: var(--white);
}

.calendar-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calendar-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--background);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.upcoming-events-list {
    padding: 100px 0;
    background-color: var(--background);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-types {
    padding: 100px 0;
    background-color: var(--white);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.type-card {
    background-color: var(--background);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
}

.type-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.type-icon i {
    font-size: 2rem;
    color: var(--white);
}

.event-newsletter {
    padding: 80px 0;
    background-color: var(--light-accent);
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--medium-text);
    cursor: pointer;
    z-index: 1;
}

.close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 3rem;
}

.modal-details {
    margin: 2rem 0;
}

.modal-details p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--medium-text);
}

.modal-details i {
    color: var(--primary-color);
    width: 20px;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container h2,
.contact-info h2 {
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.contact-form {
    background-color: var(--background);
    padding: 2.5rem;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-message.success {
    background-color: #d4edda;
    color: var(--success);
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: var(--error);
    border: 1px solid #f5c6cb;
}

.contact-details {
    margin-top: 2rem;
}

.contact-info .detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.detail-text h4 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.detail-text p {
    margin-bottom: 0.25rem;
}

.detail-text a {
    color: var(--primary-color);
}

.detail-text a:hover {
    text-decoration: underline;
}

.detail-note {
    font-size: 0.9rem;
    color: var(--light-text);
}

.hours-list p {
    margin-bottom: 0.25rem;
}

.social-contact {
    margin-top: 3rem;
}

.social-contact h4 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.social-contact .social-links {
    flex-direction: column;
    gap: 0.5rem;
}

.social-contact .social-links a {
    color: var(--medium-text);
    font-size: 1rem;
}

.map-section {
    padding: 80px 0;
    background-color: var(--background);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    background-color: var(--light-accent);
    border: 2px dashed var(--secondary-color);
    border-radius: 12px;
    padding: 4rem;
    text-align: center;
    color: var(--medium-text);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.map-note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logo-image {
        height: 40px;
    }

    .nav-logo a {
        gap: 0.5rem;
    }

    .hero-logo-image {
        max-width: 350px;
        width: 95%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        padding: 50px 1rem 0;
        margin-top: 60px;
    }

    .hero-logo-text {
        font-size: 2.5rem;
    }

    .hero-logo-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .about-content,
    .story-content,
    .info-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .collections-grid,
    .values-grid,
    .types-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .events-preview,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-body {
        padding: 2rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        align-self: center;
    }
}

/* ===== LOADING ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* ===== HOMEPAGE PINE NEEDLE GREEN THEME ===== */

/* Homepage hero section with pine green */
body.homepage .hero {
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--pine-light) 50%, var(--pine-green) 100%);
}

/* Homepage buttons with brown */
body.homepage .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

body.homepage .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.3);
}

body.homepage .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

body.homepage .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Homepage navigation active link */
body.homepage .nav-link.active,
body.homepage .nav-link:hover {
    color: var(--pine-green);
}

body.homepage .nav-link::after {
    background-color: var(--pine-green);
}

/* Homepage section accents */
body.homepage .section-title {
    color: var(--pine-green);
}

/* Homepage event cards */
body.homepage .event-date {
    background-color: var(--pine-green);
}

body.homepage .event-time {
    color: var(--pine-green);
}

/* Homepage newsletter section */
body.homepage .newsletter {
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--pine-light) 100%);
}

/* Homepage footer accents */
body.homepage .footer-section h3,
body.homepage .footer-section h4 {
    color: var(--pine-light);
}

body.homepage .social-links a:hover {
    color: var(--pine-light);
}