@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Colors */
    --background: hsl(120, 20%, 99%);
    --foreground: hsl(150, 30%, 10%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(150, 30%, 10%);
    --primary: hsl(142, 76%, 22%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(142, 50%, 35%);
    --primary-dark: hsl(142, 80%, 15%);
    --secondary: hsl(138, 30%, 94%);
    --secondary-foreground: hsl(142, 76%, 22%);
    --muted: hsl(138, 20%, 96%);
    --muted-foreground: hsl(150, 10%, 40%);
    --accent: hsl(43, 96%, 56%);
    --accent-foreground: hsl(150, 30%, 10%);
    --gold-dark: hsl(43, 90%, 45%);
    --border: hsl(138, 20%, 88%);
    
    /* Fonts */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -4px rgba(22, 101, 52, 0.15);
    --shadow-card: 0 8px 30px -8px rgba(22, 101, 52, 0.12);
    --shadow-elevated: 0 20px 50px -12px rgba(22, 101, 52, 0.2);
    
    /* Border Radius */
    --radius: 0.75rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.25rem 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-size: 1.25rem;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-foreground);
}

.header.scrolled .logo-text {
    color: var(--primary);
}

.nav {
    display: none;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    color: var(--primary-foreground);
}

.header.scrolled .nav-link {
    color: var(--foreground);
}

.nav-link:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--primary-foreground);
}

.header.scrolled .mobile-menu-btn {
    color: var(--foreground);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-elevated);
    border-top: 1px solid var(--border);
    display: none;
}

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

.mobile-menu .nav-link {
    display: block;
    padding: 1rem;
    color: var(--foreground);
    border-radius: 0.5rem;
    margin: 0.25rem 1rem;
}

.mobile-menu .nav-link:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 78, 59, 0.7) 0%, rgba(22, 101, 52, 0.5) 50%, rgba(6, 78, 59, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-subtitle {
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .accent-text {
    color: var(--accent);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-elevated);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-foreground);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-indicator-dot {
    width: 0.375rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.375rem;
    animation: pulse 2s infinite;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.about-image {
    width: 100%;
    height: 25rem;
    object-fit: cover;
}

/* Services Section */
.services {
    background-color: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-0.5rem);
}

.service-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-icon-wrapper {
    height: 12rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 5rem;
    height: 5rem;
    opacity: 0.3;
    color: var(--primary-foreground);
}

.service-content {
    padding: 1.5rem;
}

.service-icon-badge {
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
    border: 4px solid var(--card);
    box-shadow: var(--shadow-soft);
}

.service-icon-badge svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Equipment Section */
.equipment {
    background-color: var(--background);
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.equipment-image-wrapper {
    position: relative;
}

.equipment-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.equipment-image {
    width: 100%;
    height: 25rem;
    object-fit: cover;
}

.equipment-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 78, 59, 0.5) 100%);
}

.equipment-card {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--border);
    max-width: 18rem;
}

.equipment-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.equipment-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-card-title {
    font-weight: 700;
    color: var(--foreground);
}

.equipment-card-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.equipment-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.equipment-item {
    padding: 1rem;
    background-color: var(--secondary);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

.equipment-item:hover {
    border-color: rgba(22, 101, 52, 0.3);
}

.equipment-item-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.equipment-item-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-0.25rem);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-info h4 {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.testimonial-location {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: var(--accent);
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-style: italic;
}

/* Team Section */
.team {
    background-color: var(--secondary);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(22, 101, 52, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto 3rem;
}

.team-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-elevated);
}

.team-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.team-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary-foreground);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-description {
    color: var(--muted-foreground);
}

.team-structure {
    background-color: var(--card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    max-width: 48rem;
    margin: 0 auto;
}

.team-structure-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-structure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.team-stat {
    text-align: center;
}

.team-stat-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.team-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.team-stat-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-elevated);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-foreground);
}

.contact-icon.secondary {
    background: var(--secondary);
}

.contact-icon.secondary svg {
    color: var(--primary);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-text {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.6;
}

.contact-social {
    text-align: center;
    margin-top: 3rem;
}

.contact-social p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.social-link:hover {
    background-color: var(--primary-light);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    padding: 4rem 0;
    color: var(--primary-foreground);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.footer-brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-structure-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .about-grid,
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .section {
        padding: 8rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .equipment-image {
        height: 31.25rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.hidden {
    display: none;
}

.logo img {
    width: 200px;
    transition: width 0.3s ease, opacity 0.3s ease;
}

/* When header is scrolled */
.header.scrolled .logo img {
    width: 150px;
}

/* Automatically smaller logo on small screens */
@media (max-width: 768px) {
    .logo img {
        width: 140px;
    }
}
