/* Reset & Base Styles */
:root {
    --primary-color: #f4b41a;
    /* Construction Yellow/Gold */
    --secondary-color: #143d59;
    /* Deep Blue/Grey */
    --bg-color: #121212;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Texture */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(244, 180, 26, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(20, 61, 89, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Logo Section */
.logo-container {
    width: 150px;
    height: 150px;
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Typography */
.company-name {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.sub-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Image Slider */
.slider-container {
    width: 100%;
    max-width: 500px;
    /* Reduced width for better Instagram embed fit */
    height: 650px;
    /* Increased height for Instagram posts */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    margin: 1rem 0;
    background: #000;
    /* Black background for seamless look */
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Disable interaction with non-active slides */
    z-index: 0;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    /* Enable interaction for active slide */
    z-index: 5;
}

/* Force Instagram Embed to fit */
.instagram-media {
    min-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact-section {
    width: 100%;
}

.contact-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.whatsapp {
    background-color: #25D366;
    color: white;
}

.facebook {
    background-color: #1877F2;
    color: white;
}

.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

/* Footer */
footer {
    margin-top: auto;
    padding: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .status-text {
        font-size: 1.3rem;
    }

    .slider-container {
        height: 550px;
        /* Slightly smaller for tablets */
        max-width: 100%;
    }

    .social-buttons {
        gap: 0.8rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .logo-container {
        width: 120px;
        height: 120px;
    }

    .company-name {
        font-size: 2rem;
    }

    .status-text {
        font-size: 1.1rem;
    }

    .sub-text {
        font-size: 0.9rem;
    }

    /* Instagram embeds need vertical space on mobile */
    .slider-container {
        height: 500px;
        border-radius: 10px;
    }

    .social-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        /* Larger touch target */
    }

    /* Adjust slider controls for mobile */
    .prev-btn,
    .next-btn {
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.7);
        /* More visible on mobile */
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }
}

/* Small Mobile (max-width: 350px) */
@media (max-width: 350px) {
    .company-name {
        font-size: 1.8rem;
    }

    .slider-container {
        height: 450px;
    }
}