/* Base Styles */
:root {
    --primary: #6c5ce7;
    --primary-light: #a29bfe;
    --primary-dark: #5246c7;
    --secondary: #00cec9;
    --secondary-light: #81ecec;
    --secondary-dark: #00b5b1;
    --dark: #2d3436;
    --light: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #f8f9fa;
    --gray: #b2bec3;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

span {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.primary {
    background: var(--gradient);
    color: var(--text-light);
    border: none;
    box-shadow: var(--box-shadow);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.outline:hover {
    background: var(--primary);
    color: var(--text-light);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(108, 92, 231, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

/* Header */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 20px;
}

.menu-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 8px;
}

.menu-toggle span:nth-child(3) {
    top: 16px;
}

/* Overlay Nav */
.overlay-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 52, 54, 0.98);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.overlay-nav-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: var(--secondary);
}

.overlay-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.overlay-logo h2 {
    color: var(--text-light);
    margin-top: 10px;
}

.overlay-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overlay-menu a {
    color: var(--text-light);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    padding: 5px 0;
}

.overlay-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.overlay-menu a:hover {
    color: var(--secondary);
}

.overlay-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--light);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Section */
.about {
    background-color: white;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.info-card p {
    color: var(--gray);
}

/* Gallery Section */
.gallery {
    background-color: var(--light);
    padding: 0;
}

.curved-bg {
    width: 100%;
    height: 100px;
    position: relative;
    z-index: 1;
}

.curved-bg.bottom {
    transform: rotate(180deg);
}

.gallery .container {
    padding: 80px 0;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-svg {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-cta {
    text-align: center;
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.5;
    line-height: 1;
}

.feature-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-content p {
    color: var(--gray);
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background-color: var(--light);
    text-align: center;
}

.cta-wrapper {
    background: var(--gradient);
    border-radius: var(--border-radius);
    padding: 60px;
    color: var(--text-light);
    box-shadow: var(--box-shadow);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content span {
    color: white;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 80px 0 20px;
    margin-top: auto;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-site-info h3 {
    margin-bottom: 5px;
}

.footer-site-info p {
    color: var(--gray);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-nav h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--gray);
}

.footer-nav a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright, .footer-keywords {
    font-size: 0.9rem;
    color: var(--gray);
}

.footer-favicon {
    display: none;
    width: 100px;
    margin: 20px auto 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-visual {
        order: 1;
        height: 300px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        justify-content: space-between;
    }
    
    .footer-favicon {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .info-cards, 
    .gallery-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-wrapper {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-box {
        flex-direction: column;
    }
}
