@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --secondary: #e67e22;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #1a252f;
    --white: #ffffff;
    --gray: #95a5a6;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    min-width: 320px;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 0.8rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover { color: var(--secondary); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

.btn {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

header.scrolled {
    position: fixed;
    background: rgba(44, 62, 80, 0.95);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.logo span { color: var(--secondary); }

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../visual_gallery/image1.webp') center/cover no-repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-hero {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    text-align: center;
    color: var(--white);
}

.page-hero h1 { margin-bottom: 10px; }

.page-hero p { opacity: 0.9; }

section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 10px;
    color: var(--primary);
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-content h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

.products-section {
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 3rem;
    color: var(--white);
    opacity: 0.8;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 8px;
    color: var(--primary);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 10px 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #d35400 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 { margin-bottom: 15px; }
.cta-section p { margin-bottom: 20px; opacity: 0.95; }

.cta-section .btn {
    background: var(--white);
    color: var(--secondary);
}

.cta-section .btn:hover {
    background: var(--dark);
    color: var(--white);
}

.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: var(--light);
    padding: 25px;
    border-radius: 8px;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 1.5rem;
    color: var(--secondary);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    padding-top: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.workflow {
    background: var(--light);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.workflow-step {
    text-align: center;
    padding: 25px 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.workflow-step h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

.team-section {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.team-card {
    text-align: center;
    padding: 25px;
    background: var(--light);
    border-radius: 8px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.team-avatar i {
    font-size: 2rem;
    color: var(--white);
}

.team-card h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.team-card span {
    font-size: 12px;
    color: var(--gray);
}

.contact-section {
    background: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 35px;
    border-radius: 8px;
    color: var(--white);
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    font-size: 13px;
}

.contact-item a {
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 13px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 12px;
    margin: 0;
}

.map-section {
    padding: 0;
}

.map-container {
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.slideshow-section {
    background: var(--white);
}

.slideshow-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.slideshow-feature {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.slideshow-feature i {
    font-size: 2rem;
    color: var(--secondary);
}

.slideshow-feature h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

.gallery-preview {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item i {
    font-size: 2.5rem;
    color: var(--white);
    opacity: 0.7;
}

.values-section {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    border: 2px solid var(--light);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.value-card:hover {
    border-color: var(--secondary);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.value-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.history-section {
    background: var(--light);
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    min-width: 60px;
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 25px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo span { color: var(--secondary); }

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray);
    font-size: 12px;
}

.footer-links a:hover { color: var(--white); }

.copyright {
    font-size: 11px;
    color: var(--gray);
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

.privacy-popup.show { display: block; }

.privacy-popup h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.privacy-popup p {
    font-size: 12px;
    margin-bottom: 15px;
}

.privacy-popup-buttons {
    display: flex;
    gap: 10px;
}

.privacy-popup .btn {
    padding: 8px 18px;
    font-size: 12px;
}

.error-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.error-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 15px;
    background: var(--light);
    background-color: #17171794;
}

.error-content h1 {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.error-content h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

.error-content p { margin-bottom: 25px; }

.thank-you-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.thank-you-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.thank-you-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.thank-you-content h1 { margin-bottom: 15px; }
.thank-you-content p { opacity: 0.9; margin-bottom: 25px; }

.policy-page {
    background: var(--light);
}

.policy-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.policy-content h2 {
    color: var(--primary);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p,
.policy-content li {
    margin-bottom: 10px;
    color: #555;
}

.policy-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.policy-content ul li {
    position: relative;
    padding-left: 15px;
}

.policy-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

@media (max-width: 992px) {
    .features-grid,
    .products-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image { order: -1; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    
    .menu-toggle { display: flex; }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
    }
    
    .main-nav.active { right: 0; }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .hero-content h1 { font-size: 2rem; }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid,
    .products-grid,
    .testimonials-grid,
    .slideshow-features,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid,
    .values-grid,
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .policy-content { padding: 25px; }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body { font-size: 13px; }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    
    .container { padding: 0 12px; }
    
    section { padding: 40px 0; }
    
    .hero { min-height: 90vh; }
    
    .page-hero { padding: 100px 0 40px; }
    
    .btn { padding: 10px 20px; }
    
    .privacy-popup {
        left: 10px;
        right: 10px;
        padding: 15px;
    }
    
    .error-content h1 { font-size: 4rem; }
}

@media (max-width: 320px) {
    h1 { font-size: 1.3rem; }
    h2 { font-size: 1.1rem; }
    
    .logo { font-size: 1.1rem; }
    
    .hero-content h1 { font-size: 1.5rem; }
}
