/* ============================================
   MAPLE & STONE STUDIO - PROFESSIONAL STYLING
   Color Palette:
   - Primary: Warm Maple Brown (#8B6F47)
   - Secondary: Stone Gray (#9B9B8E)
   - Background: Soft Beige (#FDFBF7)
   - Accent: Dark Charcoal (#2C2C2C)
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    color: #2C2C2C;
    background-color: #FDFBF7;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    color: #8B6F47;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6B5637;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E8E4D8;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(44, 44, 44, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-box {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #8B6F47;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5F1E8;
    font-weight: bold;
    font-size: 1.125rem;
}

.brand-name {
    font-size: 1.5rem;
    color: #2C2C2C;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #2C2C2C;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8B6F47;
}

.nav-cta {
    background-color: #8B6F47;
    color: #F5F1E8;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: #6B5637;
    color: #F5F1E8;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.7) 0%, rgba(139, 111, 71, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #F5F1E8;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }

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

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

@media (max-width: 640px) {
    .hero {
        height: 300px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: #8B6F47;
    color: #F5F1E8;
    border-color: #8B6F47;
}

.btn-primary:hover {
    background-color: #6B5637;
    border-color: #6B5637;
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #F5F1E8;
    border-color: #F5F1E8;
}

.btn-secondary:hover {
    background-color: #F5F1E8;
    color: #8B6F47;
    border-color: #F5F1E8;
}

.btn-full {
    width: 100%;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background-color: #FFFFFF;
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2C2C2C;
}

.about-text {
    font-size: 1.1rem;
    color: #6B6B63;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #2C2C2C;
}

.check-icon {
    color: #8B6F47;
    font-weight: bold;
    font-size: 1.25rem;
}

.owner-info {
    font-weight: 600;
    color: #2C2C2C;
}

.owner-name {
    color: #8B6F47;
}

.about-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(44, 44, 44, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background-color: #FDFBF7;
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: #2C2C2C;
    margin-bottom: 1.5rem;
}

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

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

.service-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E4D8;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(44, 44, 44, 0.08);
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(139, 111, 71, 0.15);
    border-color: #8B6F47;
    transform: translateY(-4px);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2C2C2C;
}

.service-card p {
    color: #6B6B63;
    line-height: 1.7;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-us {
    background-color: #FFFFFF;
    padding: 4rem 0;
}

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

.why-card {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2C2C2C;
}

.why-card p {
    color: #6B6B63;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background-color: #FDFBF7;
    padding: 4rem 0;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: #FFFFFF;
    border: 1px solid #E8E4D8;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.1);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E8E4D8;
    border-radius: 0.5rem;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #2C2C2C;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B6F47;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

.success-message {
    background-color: #D1FAE5;
    color: #065F46;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #10B981;
    margin-bottom: 1rem;
}

.success-message p {
    margin: 0.25rem 0;
}

.success-message strong {
    display: block;
    margin-bottom: 0.25rem;
}

.error-message {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
    background-color: #FFFFFF;
    padding: 4rem 0;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.map-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #2C2C2C;
}

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

.info-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-label {
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 0.25rem;
}

.info-text {
    color: #6B6B63;
}

.info-text a {
    color: #8B6F47;
}

.map-container {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .map-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        height: 300px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #2C2C2C;
    color: #F5F1E8;
    padding: 3rem 0 1rem;
}

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

.footer-col h3,
.footer-col h4 {
    color: #F5F1E8;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-col p {
    color: #A8A89A;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-col a {
    color: #8B6F47;
}

.footer-col a:hover {
    color: #A8885F;
}

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

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

.footer-col ul li a {
    color: #A8A89A;
}

.footer-col ul li a:hover {
    color: #8B6F47;
}

.footer-bottom {
    border-top: 1px solid #3C3C38;
    padding-top: 1.5rem;
    text-align: center;
    color: #A8A89A;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 640px) {
    .section-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.service-card {
    animation: fadeIn 0.6s ease-out;
}

.why-card {
    animation: fadeIn 0.6s ease-out;
}

/* Stagger animation for cards */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.why-card:nth-child(1) { animation-delay: 0.1s; }
.why-card:nth-child(2) { animation-delay: 0.2s; }
.why-card:nth-child(3) { animation-delay: 0.3s; }
.why-card:nth-child(4) { animation-delay: 0.4s; }
.why-card:nth-child(5) { animation-delay: 0.5s; }
.why-card:nth-child(6) { animation-delay: 0.6s; }
