/* ============================================
   Color Palette
   ============================================ */
:root {
    --deep-pine-green: #2d5a4f;
    --warm-beige: #d4c4b0;
    --soft-cream: #f5f1ed;
    --natural-wood-brown: #8b6f47;
    --light-gray: #e8e6e1;
    --dark-text: #2c2c2c;
    --accent-green: #3d7a6f;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(45, 90, 79, 0.1);
    --shadow-hover: 0 8px 25px rgba(45, 90, 79, 0.15);
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--soft-cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--deep-pine-green);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background-color: var(--white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-pine-green);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-green);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.phone-btn {
    background-color: var(--deep-pine-green);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.phone-btn:hover {
    background-color: var(--accent-green);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 90, 79, 0.7) 0%, rgba(45, 90, 79, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--soft-cream);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-phone {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.phone-label {
    display: block;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.phone-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--warm-beige);
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.btn-primary {
    background-color: var(--warm-beige);
    color: var(--deep-pine-green);
}

.btn-primary:hover {
    background-color: var(--natural-wood-brown);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--warm-beige);
    border: 2px solid var(--warm-beige);
}

.btn-secondary:hover {
    background-color: var(--warm-beige);
    color: var(--deep-pine-green);
    transform: translateY(-2px);
}

/* ============================================
   Section Styling
   ============================================ */
section {
    padding: 5rem 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
    animation: fadeIn 0.6s ease;
}

.header-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--deep-pine-green), var(--accent-green));
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background-color: var(--white);
}

.about-content {
    margin-bottom: 3rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

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

.highlight {
    background-color: var(--soft-cream);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.highlight h3 {
    color: var(--deep-pine-green);
    margin-bottom: 0.5rem;
}

.highlight p {
    color: var(--dark-text);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background-color: var(--soft-cream);
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent-green);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: var(--deep-pine-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--dark-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio {
    background-color: var(--white);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 90, 79, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay p {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us {
    background-color: var(--soft-cream);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.checkmark {
    color: var(--accent-green);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-item p {
    margin: 0;
    color: var(--dark-text);
    font-size: 0.95rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--deep-pine-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item a,
.info-item p {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--deep-pine-green);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--soft-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(61, 122, 111, 0.1);
}

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

.success-message {
    background-color: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    animation: slideIn 0.4s ease;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #155724;
    margin: 0;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
    background-color: var(--soft-cream);
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.address-info {
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.address-info h3 {
    color: var(--deep-pine-green);
    margin-bottom: 0.5rem;
}

.address-info p {
    color: var(--dark-text);
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--deep-pine-green);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--warm-beige);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--soft-cream);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--warm-beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 196, 176, 0.3);
    color: var(--soft-cream);
    font-size: 0.9rem;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .portfolio-grid,
    .benefits-list {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 0;
    }

    .phone-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .phone-number {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

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

    .about-highlights,
    .services-grid,
    .portfolio-grid,
    .benefits-list {
        gap: 1rem;
    }

    .benefit-item {
        padding: 1rem;
    }

    .service-card,
    .highlight {
        padding: 1.5rem;
    }
}
