/* ============================================
   ConstructPro - Construction Company Website
   ============================================ */

/* CSS Variables */
:root {
    --primary: #e8b830;
    --primary-dark: #c49a20;
    --secondary: #1a1a2e;
    --dark: #16213e;
    --darker: #0f1629;
    --light: #f5f5f5;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --text: #333333;
    --text-light: #adb5bd;
    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.25);
    --radius: 8px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--secondary);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    display: flex;
    min-height: 100vh;
    background: var(--secondary);
}

.hero-left {
    flex: 1.15;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 50%, var(--darker) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 60px 80px;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 184, 48, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 550px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-right {
    flex: 0.85;
    position: relative;
    overflow: hidden;
    height: 80vh;
    align-self: center;
    margin: auto 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-logo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.55);
    gap: 5px;
}

.hero-logo-overlay img {
    width: 50%;
    height: 45%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.6));
}

.hero-logo-sub {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 1.5px #3b82f6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-block {
    width: 100%;
}

/* ============================================
   Section Common
   ============================================ */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--secondary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 15px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--white);
}

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

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-title-big {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1;
    text-align: center;
}

.about-title-big::first-line {
    color: var(--secondary);
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-dark);
    margin-bottom: 15px;
    font-size: 1rem;
}

.about-list {
    list-style: none;
    margin-top: 10px;
}

.about-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--primary);
    font-weight: 400;
    font-size: 1rem;
}

.about-list li strong {
    color: var(--secondary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.stat {
    text-align: center;
    padding: 20px 10px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
    font-weight: 500;
}

/* ============================================
   Gallery / Carousel Section
   ============================================ */
.gallery {
    background: var(--light);
}

.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 46, 0.7);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--secondary);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
}

.carousel-slide img {
    cursor: pointer;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary);
}

/* ============================================
   Strengths Section
   ============================================ */
.strengths {
    background: var(--white);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.strength-image-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: var(--transition);
}

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

.strength-image-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.strength-caption {
    padding: 25px;
}

.strength-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--secondary);
    margin-bottom: 10px;
}

.strength-caption p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--white);
}

.contact-simple {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius);
    background: var(--light);
    transition: var(--transition);
}

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

.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    margin-bottom: 15px;
}

.contact-card:hover .contact-card-icon {
    background: var(--secondary);
    color: var(--primary);
}

.contact-card-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card-value:hover {
    color: var(--primary);
}

/* ============================================
   Cookie Banner
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    z-index: 9999;
    padding: 20px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--secondary);
    color: var(--text-light);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.7;
}

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

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-logo-sub {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.footer-col p strong {
    color: var(--white);
}

.footer-col a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-left {
        padding: 100px 40px 60px;
    }

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

    .contact-simple {
        gap: 25px;
    }

    .carousel-slide img {
        height: 350px;
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 65px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--secondary);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

    .hero {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .hero-left {
        padding: 100px 25px 50px;
        min-height: auto;
    }

    .hero-right {
        min-height: 40vh;
        max-height: 300px;
        height: auto;
    }

    .hero-logo-sub {
        font-size: 1.4rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

.hero-lang {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.about-lang {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.footer-lang {
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 8px;
}

.hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .about-grid {
        gap: 30px;
    }

    .about-title-big {
        font-size: 3rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .carousel-slide img {
        height: 250px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .strength-image-card img {
        height: 250px;
    }

    .contact-simple {
        flex-direction: column;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

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

    .logo-img {
        height: 35px;
    }

    .hero-left {
        padding: 90px 20px 40px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-right {
        max-height: 220px;
    }

    .hero-logo-overlay img {
        width: 55%;
        height: 50%;
    }

    .hero-logo-sub {
        font-size: 1.2rem;
    }

    .hero-logo-sub {
        font-size: 1.2rem;
    }

    .about-title-big {
        font-size: 2.5rem;
    }

    .about-text h3 {
    font-size: 1.4rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat {
        padding: 15px 10px;
    }

    .stat-number {
    font-size: 1.7rem;
    }

    .carousel-slide img {
        height: 200px;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .carousel-dots {
        bottom: 10px;
        gap: 8px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .strength-image-card img {
        height: 200px;
    }

    .strength-caption {
        padding: 18px;
    }

    .strength-caption h4 {
        font-size: 1rem;
    }

    .strength-caption p {
        font-size: 0.85rem;
    }

    .contact-card {
        min-width: 100%;
        padding: 30px 20px;
    }

    .contact-card-icon {
        width: 52px;
        height: 52px;
    }

    .contact-card-value {
        font-size: 1rem;
    }

    .footer {
        padding-top: 40px;
    }

    .footer h4 {
    font-size: 1.15rem;
    }

    .footer-col p {
        font-size: 0.85rem;
    }

    .footer-logo {
        flex-direction: column;
        align-items: center;
    }

    .cookie-banner {
        padding: 15px 0;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cookie-banner-text p {
        font-size: 0.82rem;
    }

    .cookie-banner-buttons {
        flex-direction: row;
        width: 100%;
    }

    .cookie-banner-buttons .btn {
        flex: 1;
        font-size: 0.75rem;
        padding: 10px 12px;
    }
}
