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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #3d3d3d;
    background-color: #fdf8f4;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8f4;
}
::-webkit-scrollbar-thumb {
    background: #ffaca0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff4f40;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

/* Navigation */
.nav-link {
    position: relative;
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4f40;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #ff4f40;
}

/* Hero section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
}

.hero-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

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

/* Decorative elements */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 79, 64, 0.1) 0%, rgba(255, 172, 160, 0.1) 100%);
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(232, 240, 232, 0.5) 0%, rgba(232, 242, 248, 0.5) 100%);
    bottom: 50px;
    left: -30px;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Button styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff4f40 0%, #e03528 100%);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 64, 48, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 64, 48, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: #2d2d2d;
    font-weight: 600;
    border: 2px solid #2d2d2d;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2d2d2d;
    color: white;
}

/* Service cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffd6ce 0%, #fff0ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #ff4f40 0%, #e03528 100%);
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon svg {
    color: white;
}

/* Stats section */
.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ff4f40;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* Testimonial cards */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border-left: 4px solid #ff4f40;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #2d2d2d;
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #2d2d2d;
}

.testimonial-role {
    font-size: 0.875rem;
    color: #666;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%);
    color: white;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact form */
.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #2d2d2d;
}

.form-input:focus {
    outline: none;
    border-color: #ff4f40;
    box-shadow: 0 0 0 3px rgba(255, 79, 64, 0.1);
}

.form-input::placeholder {
    color: #999;
}

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

/* Footer */
.footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff4f40;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 100px 40px 40px;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu .nav-link {
    display: block;
    font-size: 1.5rem;
    padding: 16px 0;
}

/* Hamburger menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #2d2d2d;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

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

.section-alt {
    background: white;
}

/* Image reveal animation */
.img-reveal {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.img-reveal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fdf8f4;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.img-reveal.revealed::after {
    transform: scaleX(0);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

/* Fade in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .fade-in {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
}
