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

/* Body Styling */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #1a202c;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    background: #ffffff;
    padding: 16px 24px;
    color: #1a202c;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.main-header:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
    transition: transform 0.3s ease;
}

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

.logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.desktop-nav a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: #2563eb;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #1a202c;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 80px 24px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: #1a202c;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
    color: #ef4444;
}

.mobile-menu a {
    color: #4b5563;
    text-decoration: none;
    margin: 15px 0;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.mobile-menu a:hover {
    color: #2563eb;
    background: #eff6ff;
    transform: translateX(8px);
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu.active {
        right: 0;
    }

    .logo img {
        height: 50px;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 120px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    animation: fadeInUp 0.8s ease forwards;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    animation: fadeInUp 1s ease forwards;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }
}

/* Section Divider */
.section-divider {
    border: none;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.3), transparent);
    margin: 60px auto;
    max-width: 600px;
    border-radius: 50px;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section */
.section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1a202c;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* Project Card */
.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #c7d2fe;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    font-size: 1.6rem;
    margin: 12px 0;
    color: #1a202c;
    font-weight: 700;
}

.project-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #6b7280;
    line-height: 1.6;
}

.project-card-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

.project-tag {
    color: #f59e0b;
    background: #fef3c7;
    padding: 4px 12px;
    border-radius: 20px;
}

.project-price {
    color: #10b981;
    background: #d1fae5;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Card Actions */
.project-card-actions {
    margin-top: auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-buy {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-images {
    background: #ffffff;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn-images:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Offer Section */
#offer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 24px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.offer-card {
    max-width: 800px;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    animation: fadeInUp 1s ease forwards;
    transition: all 0.4s ease;
    border: 2px solid #fbbf24;
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.offer-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-card p {
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 32px;
    line-height: 1.7;
}

.offer-card strong {
    color: #dc2626;
}

.offer-card span {
    color: #10b981;
    font-weight: 700;
}

.btn-offer {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.btn-offer:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.5);
}

@media (max-width: 768px) {
    .offer-card {
        padding: 32px 24px;
    }

    .offer-card h2 {
        font-size: 2rem;
    }
}

/* Contact Section */
#contact {
    padding: 100px 24px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    width: 100%;
    text-align: center;
}

#contact .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #1a202c;
}

#contact .section-header p {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 48px;
}

.contact-form-container {
    display: flex;
    justify-content: center;
}

.contact-form {
    max-width: 600px;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    color: #1a202c;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-group option {
    background-color: #ffffff;
    color: #1a202c;
}

.form-input:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: #fff;
    border: none;
    padding: 16px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    #contact {
        padding: 60px 20px;
    }

    .contact-form {
        padding: 28px;
    }
}

/* Custom Project Section */
#custom-project {
    margin-top: 60px;
    text-align: center;
}

.custom-card {
    padding: 48px 40px;
    border-radius: 24px;
    background: #ffffff;
    border: 2px solid #e0e7ff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: auto;
    transition: all 0.4s ease;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: #c7d2fe;
}

.custom-card h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.custom-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 32px;
}

.btn-custom {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.btn-custom:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 28px rgba(239, 68, 68, 0.4);
}

/* Footer */
.main-footer {
    background: #ffffff;
    color: #4b5563;
    text-align: center;
    padding: 32px 24px;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 2px solid #e5e7eb;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.main-footer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.main-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.main-footer a:hover {
    color: #1d4ed8;
}

.main-footer a:hover::after {
    width: 100%;
}

.main-footer p {
    margin: 8px 0;
}

@media (max-width: 600px) {
    .main-footer {
        font-size: 0.9rem;
        padding: 24px 16px;
    }
}