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

:root {
    --primary-blue: #1976D2;
    --dark-blue: #0D47A1;
    --accent-gold: #F39C12;
    --dark-gray: #263238;
    --light-gray: #ECEFF1;
    --white: #FFFFFF;
    --text-dark: #212121;
    --text-light: #757575;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-animation {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-blue);
    z-index: 2;
}

.logo-circle {
    position: absolute;
    width: 45px;
    height: 45px;
    border: 4px solid var(--accent-gold);
    border-radius: 50%;
    animation: rotateCircle 4s linear infinite;
}

@keyframes rotateCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.company-name h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.company-name p {
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--dark-gray) 100%);
    overflow: hidden;
    margin-top: 90px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.formwork-pattern {
    position: absolute;
    top: 0;
    right: -100px;
    width: 800px;
    height: 100%;
    opacity: 0.1;
    background: repeating-linear-gradient(
        90deg,
        var(--accent-gold) 0px,
        var(--accent-gold) 20px,
        transparent 20px,
        transparent 40px
    );
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px 20px;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
    background: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

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

/* ==================== SECTION STYLES ==================== */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--accent-gold);
    font-size: 20px;
}

.formwork-illustration svg {
    width: 100%;
    height: auto;
}

.formwork-panel {
    animation: panelSlide 2s ease-in-out infinite alternate;
}

.formwork-panel:nth-child(2) {
    animation-delay: 0.2s;
}

.formwork-panel:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes panelSlide {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.service-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== PRODUCTS SECTION ==================== */
.products {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.products .section-title,
.products .section-subtitle {
    color: var(--white);
}

.products .title-underline {
    background: var(--accent-gold);
}

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

.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.product-icon {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.product-card p {
    font-size: 15px;
    opacity: 0.9;
}

/* ==================== PROJECTS SECTION ==================== */
.projects {
    background: var(--light-gray);
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.project-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.project-details h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.project-client {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* ==================== CLIENTS SECTION ==================== */
.clients {
    background: var(--white);
}

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

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

.client-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.client-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.client-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    background: var(--light-gray);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-icon {
    font-size: 48px;
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-light);
}

.rating {
    margin-top: 15px;
    color: var(--accent-gold);
}

.rating i {
    margin-right: 5px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.contact-details p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-gold);
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    color: var(--accent-gold);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-blue);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .company-name h1 {
        font-size: 16px;
    }

    .company-name p {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .logo-animation {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 24px;
    }
}
