/* ==========================================
   HERO MODULE - Mobile Only & Sade
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    overflow: hidden;
    padding: 70px var(--spacing-md) 70px;
}

/* Hero Background Slider */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    animation: heroSlider 8s infinite;
}

@keyframes heroSlider {
    0%, 24% {
        background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1200&auto=format&fit=crop');
    }
    25%, 49% {
        background-image: url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?w=1200&auto=format&fit=crop');
    }
    50%, 74% {
        background-image: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1200&auto=format&fit=crop');
    }
    75%, 100% {
        background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1200&auto=format&fit=crop');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.30) 0%, rgba(44, 62, 80, 0.40) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-hero-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    font-size: 0.688rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.25;
    text-align: center;
}

.hero-description {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    max-width: 100%;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.hero .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.938rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hero .btn-primary {
    background: var(--text-white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero .btn-primary:active {
    background: #f0f0f0;
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero .btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.hero .btn-secondary:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
    border-color: var(--text-white);
}

/* Scroll Indicator - Hidden on mobile */
.scroll-indicator {
    display: none;
}

/* Floor Plan Container - Modern Layout */
.floor-plan-container {
    width: 85%;
    max-width: 400px;
    margin: 0 auto;
    background: transparent;
    padding: 25px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Header with Company Name */
.floor-plan-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid white;
    text-align: center;
    animation: fadeSlideDown 0.8s ease-out 0.5s both;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floor-plan-header h1 {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    margin: 0;
    letter-spacing: 3px;
}

.floor-plan-header h1 strong {
    display: block;
    font-weight: 600;
    font-size: 58px;
    letter-spacing: 8px;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    animation: renasEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes renasEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-30px);
        letter-spacing: 20px;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        letter-spacing: 8px;
    }
}

/* Grid Layout for Rooms */
.floor-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    min-height: 300px;
}

/* Room Boxes */
.room {
    background: transparent;
    border: 2px solid transparent;
    animation: roomDraw 0.6s ease-out forwards, roomFade 0.5s ease-in 4.4s forwards;
}

@keyframes roomDraw {
    from {
        border-color: transparent;
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        border-color: white;
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes roomFade {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.35;
    }
}

/* Room 1 - Top left small */
.room-1 {
    grid-column: 1;
    grid-row: 1;
    animation-delay: 1s;
}

/* Room 2 - Middle left small */
.room-2 {
    grid-column: 1;
    grid-row: 2;
    animation-delay: 1.2s;
}

/* Room 3 - Big right side (spans 2 rows) */
.room-3 {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    background: transparent;
    animation-delay: 1.4s;
}

/* Room 4 - Bottom left medium */
.room-4 {
    grid-column: 1 / 2;
    grid-row: 3;
    animation-delay: 1.6s;
}

/* Room 5 - Bottom right medium */
.room-5 {
    grid-column: 2 / 4;
    grid-row: 3;
    animation-delay: 1.8s;
}

/* Fixed Bottom Buttons - Mobile Only */
.fixed-bottom-buttons {
    position: fixed;
    bottom: 20px;
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    z-index: 9998;
    animation: slideUpButtons 0.5s ease-out 0.3s both;
}

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

.fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fixed-btn svg {
    width: 24px;
    height: 24px;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:active {
    background: #20BA5A;
    transform: scale(0.95);
}

.whatsapp-btn svg {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.projects-btn {
    background: #2C5F8D;
    color: white;
}

.projects-btn:active {
    background: #1e4466;
    transform: scale(0.95);
}

/* Add padding to body to prevent footer overlap */
body {
    padding-bottom: 90px;
}

/* Hide on desktop */
@media (min-width: 969px) {
    .fixed-bottom-buttons {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}
