/* FrameForce Custom Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #faf9f5;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.nav-link {
    position: relative;
    padding-bottom: 2px;
}

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

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(4, 78, 59, 0.1);
}

/* Image zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Button styles */
.btn-primary {
    background: #047857;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #065f46;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(4, 78, 59, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #047857;
    border: 1px solid #047857;
    transition: all 0.3s ease;
}

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

/* Form styles */
.form-input {
    background: white;
    border: 1px solid #e5e7eb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #047857;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}

/* Section padding */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Thin line decorations */
.thin-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(4, 120, 87, 0.3), transparent);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f6ee;
}

::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .card-hover:hover {
        transform: none;
    }
    
    .img-zoom:hover img {
        transform: none;
    }
}

/* Mobile menu button */
#mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

#mobile-menu-btn svg {
    display: block;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #064e3b 0%, #047857 25%, #059669 50%, #10b981 75%, #34d399 100%);
}

/* Decorative elements */
.decorative-line {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #047857;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #022c22;
    }
    
    .btn-secondary {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    .reveal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}
