:root {
    --primary-color: #ecf4e5;
    --primary-dark: #d9e8c9;
    --secondary-color: #6c757d;
    --success-color: #00d97e;
    --info-color: #39afd1;
    --warning-color: #ffc107;
    --danger-color: #e63757;
    --light-color: #f8f9fa;
    --dark-color: #372017;
    --gradient-primary: linear-gradient(135deg, #ecf4e5 0%, #d9e8c9 100%);
    --gradient-secondary: linear-gradient(135deg, #ecf4e5 0%, #d9e8c9 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Amiri', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #372017;
    scroll-behavior: smooth;
}

.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'The Seasons', serif;
    font-size: 1.7rem;
    transition: transform 0.3s ease;
    color: #372017 !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    color: #372017 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #372017;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.hero-section {
    padding-top: 0px !important;
}

.nav-separator {
    color: #372017;
    font-weight: 300;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
}

.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, #ecf4e5 0%, #f8fdf5 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::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 100" fill="%23ffffff20"><polygon points="1000,100 1000,0 0,100"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.hero-image {
    position: relative;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#about {
    background: #fff8f0;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #372017;
    border: none;
    box-shadow: var(--shadow);
    color: white;
}

.btn-primary:hover {
    background: #2a1711 !important;
    border-color: #2a1711 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
    outline: none !important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible {
    background: #2a1711 !important;
    border-color: #2a1711 !important;
    color: white !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-outline-primary {
    border: 2px solid #372017;
    color: #372017;
}

.btn-outline-primary:hover {
    background: #372017 !important;
    border-color: #372017 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    outline: none !important;
}

.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible {
    background: #372017 !important;
    border-color: #372017 !important;
    color: white !important;
    box-shadow: none !important;
    outline: none !important;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: #372017;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h4 {
    color: #372017;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item h5 {
    color: #372017;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 123, 229, 0.25);
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }

    .hero-section .display-4 {
        margin-bottom: 2rem;
    }

    .hero-section .d-lg-none.mb-2 {
        margin-bottom: 1.5rem !important;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin: 0 auto 1rem;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 60px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .service-card, .contact-info, .contact-form {
        padding: 1.5rem;
    }

    .navbar-brand {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-brand {
        line-height: 1.1;
        text-align: left;
    }

    .brand-line-1 {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .brand-line-2 {
        font-size: 0.9rem;
        font-weight: normal;
        opacity: 0.8;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-toggler {
        flex-shrink: 0;
        margin-left: 0.5rem;
    }

    .nav-separator {
        display: none;
    }
}

.section-padding {
    padding: 100px 0;
}

.text-primary {
    color: #372017 !important;
}

.bg-light {
    background-color: #ecf4e5 !important;
}

#services.bg-light {
    position: relative;
    overflow: hidden;
}

#services.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cpath fill='%23fff8f0' fill-opacity='0.8' d='M0,0 L72,0 Q74,10 73,20 Q76,30 72,40 Q75,50 73,60 Q71,70 74,80 Q73,90 75,100 Q72,110 74,120 Q76,130 73,140 Q74,150 72,160 Q75,170 73,180 Q74,190 75,200 L0,200 Z'/%3E%3Cpath fill='%23d4e6c6' fill-opacity='0.5' d='M75,0 Q77,10 76,20 Q79,30 75,40 Q78,50 76,60 Q74,70 77,80 Q76,90 78,100 Q75,110 77,120 Q79,130 76,140 Q77,150 75,160 Q78,170 76,180 Q77,190 78,200 L150,200 L150,0 Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.08' d='M1,3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6' viewBox='0 0 6 6'%3E%3Cg fill='%23d4e6c6' fill-opacity='0.05'%3E%3Cpath d='m0 3h2v2H0zm3 0h3v3H3z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 150px 200px, 4px 4px, 6px 6px;
    opacity: 1;
}


#services .container {
    position: relative;
    z-index: 2;
}

.shadow {
    box-shadow: var(--shadow) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.rounded-3 {
    border-radius: 20px !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reviews Section Styles */
.google-rating {
    display: inline-block;
}

.google-rating .stars {
    font-size: 1.5rem;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.reviewer-info h5 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: #372017;
}

.reviewer-info .stars {
    font-size: 1rem;
}

.review-text {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.google-badge i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .reviewer-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .google-rating .stars {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image {
        animation: none;
    }

    .fade-in {
        transition: none;
    }
}

@media (max-width: 768px) {
    .d-lg-none {
        overflow: hidden;
        max-height: 60vh;
    }
    
    .d-lg-none img[src="img/lou-anna.jpg"] {
        object-fit: cover;
        object-position: center top;
        width: 100%;
        max-height: 500px;

    }
}