/* 
   Cedar Bloom Design - CSS
   Color Palette:
   - Warm White: #F8F6F2
   - Cedar Brown: #8B5E3C
   - Sage Green: #7A8F74
   - Charcoal: #2F2F2F
   - Soft Beige: #E7DED4
*/

:root {
    --warm-white: #F8F6F2;
    --cedar-brown: #8B5E3C;
    --sage-green: #7A8F74;
    --charcoal: #2F2F2F;
    --soft-beige: #E7DED4;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--warm-white);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .logo {
    font-family: 'Playfair Display', serif;
}

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

.grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #724d31;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 94, 60, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.navbar.scrolled .logo {
    color: var(--cedar-brown);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--charcoal);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--cedar-brown);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
    color: var(--charcoal);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

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

.trust-badges {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-badges span i {
    color: var(--sage-green);
    margin-right: 5px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-callout {
    font-style: italic;
    font-weight: 500;
    color: var(--soft-beige);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: var(--cedar-brown);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
}

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

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--soft-beige);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.features-list li i {
    color: var(--sage-green);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--soft-beige);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--cedar-brown);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--cedar-brown);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Why Us Section */
.why-us {
    background-color: var(--charcoal);
    color: var(--white);
}

.why-us .section-header h2 {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: var(--sage-green);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-weight: 400;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
}

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

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

/* Process Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--soft-beige);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: -20px;
}

.process-step h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonials {
    background-color: var(--soft-beige);
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h5 {
    font-weight: 600;
}

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

.contact-info h2 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--cedar-brown);
}

.info-item h5 {
    margin-bottom: 5px;
}

.contact-form-wrapper {
    background-color: var(--warm-white);
    padding: 40px;
    border-radius: 20px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid var(--soft-beige);
    background-color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--cedar-brown);
}

.success-content {
    text-align: center;
    padding: 40px 0;
}

.success-content i {
    font-size: 4rem;
    color: var(--sage-green);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 80px 0 0;
}

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

.footer-brand h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--cedar-brown);
    border-color: var(--cedar-brown);
}

.footer-links h5, .footer-contact h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    display: flex;
    gap: 10px;
}

.footer-contact p i {
    color: var(--cedar-brown);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-reveal="fade-up"] {
    transform: translateY(50px);
}

[data-reveal="fade-left"] {
    transform: translateX(50px);
}

[data-reveal="fade-right"] {
    transform: translateX(-50px);
}

[data-reveal="zoom-in"] {
    transform: scale(0.8);
}

[data-reveal].active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        color: var(--charcoal);
        font-size: 1.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
}
