:root {
    --color-primary: #FF6B35;
    --color-primary-dark: #E55A2B;
    --color-secondary: #F7931E;
    --color-gray-warm: #8B7D6B;
    --color-gray-light: #D4C5B9;
    --color-gray-medium: #A89B8F;
    --color-gray-dark: #5C5248;
    --color-white: #FFFFFF;
    --color-off-white: #FAF8F5;
    --color-text: #2C2418;
    --color-text-light: #6B6358;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(255, 107, 53, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    text-decoration: none;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--color-gray-warm);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav {
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-gray-light) 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(250, 248, 245, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: var(--spacing-xl) 0;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: var(--color-primary);
    position: relative;
    animation: scrollDown 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

/* Sections */
.intro-section,
.features-section,
.gallery-section,
.stats-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    margin-bottom: var(--spacing-md);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.icon-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-white);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.feature-text {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.feature-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.feature-link:hover {
    transform: translateX(5px);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--color-gray-light);
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-gray-medium) 100%);
    opacity: 0.3;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-caption {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-gray-warm) 100%);
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1rem;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: var(--color-gray-dark);
    color: var(--color-gray-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-text {
    line-height: 1.7;
    color: var(--color-gray-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray-medium);
}

/* Page Specific Styles */
.page-header {
    padding: 120px 0 var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-gray-light) 100%);
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    padding: var(--spacing-xl) 0;
}

.content-block {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
}

.content-block h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.content-block h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.content-block p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.content-block ul,
.content-block ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.content-block li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
}

/* Temperature Map */
.temperature-map {
    background: var(--color-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    margin: var(--spacing-lg) 0;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-gray-medium) 100%);
    border-radius: 8px;
    overflow: hidden;
}

.map-zone {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.map-zone:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
    z-index: 10;
}

.map-tooltip {
    position: absolute;
    background: var(--color-text);
    color: var(--color-white);
    padding: var(--spacing-sm);
    border-radius: 6px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
    z-index: 100;
    white-space: nowrap;
}

.map-tooltip.show {
    opacity: 1;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--color-gray-light);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.form-group input[type="email"],
.form-group input[type="text"] {
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.consent-group {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: var(--color-off-white);
    border-radius: 8px;
    border: 2px solid var(--color-gray-light);
}

.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: normal;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
}

.consent-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.consent-group a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: var(--spacing-sm);
    border-radius: 6px;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Privacy Policy */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.access-restricted {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-off-white);
    border-radius: 8px;
    margin: var(--spacing-lg) 0;
}

.access-restricted h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(32px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: var(--spacing-sm);
        width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: var(--spacing-md);
        margin: 0 var(--spacing-sm);
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
        border-width: 2px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .consent-group {
        margin: var(--spacing-md) 0;
        padding: var(--spacing-sm);
    }
    
    .consent-group label {
        font-size: 0.9rem;
        line-height: 1.5;
        gap: var(--spacing-xs);
    }
    
    .consent-group input[type="checkbox"] {
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .form-submit {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
        min-height: 48px;
    }
    
    .form-message {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Contact Form Small Mobile */
    .contact-form {
        padding: var(--spacing-sm);
        margin: 0;
        border-radius: 8px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .form-group textarea {
        min-height: 90px;
    }
    
    .consent-group {
        padding: var(--spacing-xs);
        margin: var(--spacing-sm) 0;
    }
    
    .consent-group label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .consent-group span {
        word-break: break-word;
    }
    
    .form-submit {
        font-size: 0.95rem;
        padding: 0.875rem var(--spacing-md);
        min-height: 44px;
    }
    
    .privacy-content .contact-form {
        margin-bottom: var(--spacing-md);
    }
    
    .privacy-content .contact-form h2 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }
}

