/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #0a0a0a;
    color: #333;
}

/* ==================== HEADER STYLES ==================== */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px); /* Added for Safari support */
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 5%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

header.scrolled .header-logo {
    height: 45px;
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    color: #d4a853;
    margin: 0;
    transition: all 0.3s ease;
}

header.scrolled .company-name {
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #d4a853, #f4d03f);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #d4a853;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212,168,83,0.1), rgba(244,208,63,0.1));
    animation: pulse 8s ease-in-out infinite;
    z-index: 3;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;  
    background: linear-gradient(135deg, #fff, #d4a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
    background-size: 200% 200%;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #d4a853, #f4d03f);
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(212,168,83,0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212,168,83,0.5);
}

/* ==================== SECTION STYLES ==================== */
section {
    padding: 5rem 5%;
    background: #fff;
}

section:nth-child(even) {
    background: #f8f8f8;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4a853, #f4d03f);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ==================== SERVICES SECTION ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d4a853, #f4d03f);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(212,168,83,0.3);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4a853;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-list li {
    color: #666;
    line-height: 1.8;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4a853;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ==================== PROJECTS SECTION ==================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(212,168,83,0.3);
}

.project-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.project-info p {
    color: #666;
    line-height: 1.6;
}

.project-info li {
    color: #666;
    line-height: 1.6;
}

/* ==================== STATS SECTION ==================== */
.stats {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    padding: 5rem 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d4a853, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: #ccc;
}

/* ==================== ABOUT SECTION ==================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    color: #666;
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212,168,83,0.3);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4a853;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.contact-card a {
    color: #d4a853;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ==================== FOOTER STYLES ==================== */
footer {
    background: white;
    color: #1a1a1a;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4a853;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: #666;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4a853;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.instagram-link:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(225,48,108,0.4);
}

.whatsapp-link:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(37,211,102,0.4);
}

.copyright {
    border-top: 2px solid #e0e0e0;
    padding-top: 2rem;
    color: #999;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .company-name {
        font-size: 1.5rem;
    }

    header.scrolled .company-name {
        font-size: 1.2rem;
    }

    .header-logo {
        height: 50px;
    }

    header.scrolled .header-logo {
        height: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}