/* FreshBuild - Shared Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #FAFBFC;
    color: #1a2b3c;
    line-height: 1.6;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #14B8A6;
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 500;
}
.skip-link:focus {
    top: 0;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-4 { animation-delay: 0.4s; opacity: 0; }

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 50%, #14B8A6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 251, 252, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a2b3c;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #1a2b3c;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #14B8A6;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.btn-primary.small {
    padding: 12px 24px;
    font-size: 14px;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #14B8A6;
    border: 2px solid #14B8A6;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-secondary:hover {
    background: #14B8A6;
    color: white;
    transform: translateY(-3px);
}

/* Section styles */
.section {
    padding: 120px 40px;
}

.section-white {
    background: white;
}

.section-gray {
    background: #FAFBFC;
}

.section-gradient {
    background: linear-gradient(180deg, #FAFBFC 0%, #f0fdfa 100%);
}

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

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

.section-label {
    color: #14B8A6;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #5a6b7c;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Hero */
.page-hero {
    padding: 140px 40px 80px;
    background: linear-gradient(180deg, #FAFBFC 0%, #f0fdfa 100%);
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
    color: #5a6b7c;
    max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: #14B8A6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #5a6b7c;
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(20, 184, 166, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', sans-serif;
}

.card-text {
    color: #5a6b7c;
    line-height: 1.7;
}

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

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 80px;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #14B8A6;
}

.stat-label {
    color: #5a6b7c;
    font-size: 14px;
}

.about-card {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    border-radius: 24px;
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-card-bg-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.about-card-bg-2 {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.about-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.about-card ul {
    list-style: none;
    padding: 0;
    position: relative;
}

.about-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.location-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
    border: 2px solid rgba(20, 184, 166, 0.1);
    transition: all 0.3s ease;
}

.location-card:hover {
    border-color: #14B8A6;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.location-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 8px;
}

.location-card p {
    color: #5a6b7c;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    padding: 80px 40px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: #14B8A6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    padding: 60px 40px 40px;
    background: #1a2b3c;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    font-size: 14px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-column h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #14B8A6;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(20, 184, 166, 0.1);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a2b3c;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #14B8A6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

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

.contact-email {
    text-align: center;
    margin-top: 40px;
    color: #5a6b7c;
}

.contact-email a {
    color: #14B8A6;
    font-weight: 600;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdfa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(20, 184, 166, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.15);
}

.portfolio-image {
    height: 250px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(13, 148, 136, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.portfolio-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    color: white;
    font-size: 32px;
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    color: #1a2b3c;
}

.portfolio-content p {
    color: #5a6b7c;
    font-size: 14px;
    margin-bottom: 16px;
}

.portfolio-card.placeholder .portfolio-content h3,
.portfolio-card.placeholder .portfolio-content p {
    color: #9ca3af;
}

/* Service Detail Cards */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(20, 184, 166, 0.1);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: #14B8A6;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.1);
}

.service-detail-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 8px;
}

.service-detail-card .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #14B8A6;
    margin-bottom: 16px;
}

.service-detail-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.service-detail-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: #5a6b7c;
}

.service-detail-card li::before {
    content: '✓';
    color: #14B8A6;
    font-weight: 700;
    flex-shrink: 0;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a2b3c;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
}

.process-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 15px;
    color: #5a6b7c;
    line-height: 1.6;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: white;
    border: 1px solid #E8ECEF;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #14B8A6;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}

.faq-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    color: #5a6b7c;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section {
        padding: 80px 20px;
    }

    .page-hero {
        padding: 120px 20px 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .about-card {
        padding: 40px 30px;
    }

    .services-grid,
    .portfolio-grid,
    .faq-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

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

    .location-grid {
        grid-template-columns: 1fr;
    }
}
