/* Nature Theme CSS for CondorEye */

/* Import Google Fonts for nature theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Root Variables */
:root {
    /* Nature Color Palette */
    --forest-green: #2d5016;
    --sage-green: #87a96b;
    --moss-green: #8fbc8f;
    --earth-brown: #8b4513;
    --sand-beige: #f5deb3;
    --sky-blue: #87ceeb;
    --sunset-orange: #ff8c42;
    --leaf-green: #228b22;
    --bark-brown: #654321;
    --water-blue: #4682b4;
    
    /* Typography */
    --primary-font: 'Montserrat', sans-serif;
    --heading-font: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    line-height: 1.6;
    color: var(--forest-green);
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    overflow-x: hidden;
}

/* Header Styles */
.nature-header {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--sage-green) 100%);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.3);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nature-logo {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nature-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nature-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nature-nav a:hover {
    color: var(--sunset-orange);
    transform: translateY(-2px);
}

.nature-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sunset-orange);
    transition: width 0.3s ease;
}

.nature-nav a:hover::after {
    width: 100%;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.nature-hero {
    background: linear-gradient(rgba(45, 80, 22, 0.7), rgba(135, 169, 107, 0.7)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="trees" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M50 100 L30 60 L40 60 L50 40 L60 60 L70 60 L50 100 Z" fill="%23228b22" opacity="0.3"/></pattern></defs><rect width="1200" height="600" fill="url(%23trees)"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transform: none;
}

.nature-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-content {
    max-width: 800px;
    padding: var(--container-padding);
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.nature-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--sunset-orange), var(--leaf-green));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
    animation: fadeInUp 1s ease-out 0.9s both;
}

.nature-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 140, 66, 0.6);
    color: white;
    text-decoration: none;
}

/* Sections */
.nature-section {
    padding: var(--section-padding);
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.about-section .section-container {
    padding-top: 80px;
    margin-top: 0;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--forest-green);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--sunset-orange), var(--leaf-green));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--sage-green);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    position: relative;
    padding: 0 0 80px 0;
    margin-top: 0;
}

/* Ensure no gap between hero and about */
.nature-hero + .about-section {
    margin-top: 0;
    padding-top: 0;
}

/* Force no spacing between sections */
.nature-hero {
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-section {
    margin-top: 0;
    padding-top: 0;
}

/* Ensure sections are flush */
section {
    margin: 0;
    padding: 0;
}

.nature-section {
    margin: 0;
}

/* CRITICAL: Force no gap between hero and about sections */
.nature-hero {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.about-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

/* Remove any potential spacing from main content */
.main-content {
    margin: 0;
    padding: 0;
}

/* Ensure hero takes full viewport height without overflow */
.nature-hero {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--forest-green);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Experience Section */
.experience-section {
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--sage-green) 100%);
    color: white;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.experience-card {
    background: rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
}

.experience-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--sunset-orange);
    margin-bottom: 15px;
}

.experience-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Data Analysis Section */
.data-section {
    background: linear-gradient(135deg, #fff8f0 0%, #f0f8ff 100%);
}

.data-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.data-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--forest-green);
}

.data-visual {
    position: relative;
    background: linear-gradient(135deg, var(--sky-blue), var(--water-blue));
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(70, 130, 180, 0.3);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--bark-brown) 100%);
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    color: var(--forest-green);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Footer */
.nature-footer {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--bark-brown) 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--sunset-orange);
}

.footer-description {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--sunset-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--sunset-orange);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Animated Elements */
.animated-element {
    animation: fadeInUp 0.8s ease-out;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.pulsing {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content,
    .data-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nature-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nature-hero {
        height: 80vh;
    }
}
