/* Lekki Serviced Flats - Main Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Home Full Container */
.home-full {
    position: relative;
    min-height: 100vh;
}

/* Header Styles */
.header-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-custom.affix-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-logo img {
    height: 50px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-bar {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #2c3e50;
}

#toggle {
    display: none;
}

.header-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-contact {
    display: flex;
    gap: 1.5rem;
}

.header-contact p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.header-contact i {
    color: #3498db;
}

.header-contact a {
    color: #2c3e50;
}

.header-contact a:hover {
    color: #3498db;
}

/* Navigation Menu */
.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #3498db;
}

/* Dropdown Menu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.navbar li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
}

.submenu a {
    padding: 0.5rem 1.5rem;
    display: block;
    border-bottom: 1px solid #f8f9fa;
}

.submenu a:hover {
    background: #f8f9fa;
    color: #3498db;
}

/* Custom Button */
.custom-btn {
    background: #3498db;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.custom-btn-block {
    display: block;
}

/* Header Call Button */
.header-call a {
    background: #e74c3c;
    color: white !important;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.header-call a:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Hero Section */
.scroll-full-page {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.middle-anchor {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Apartments Section */
.apartments {
    background: white;
}

.photocard-cover {
    display: flex;
    min-height: 60vh;
    align-items: stretch;
}

.photocard-cover.is_flex_reverse {
    flex-direction: row-reverse;
}

.photocard {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photocard-content {
    padding: 3rem;
    max-width: 500px;
}

.photocard-content.photocard_is_black {
    background: #2c3e50;
    color: white;
}

.photocard-content h4 {
    color: #3498db;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.photocard-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.photocard-content.photocard_is_black h3 {
    color: white;
}

.linner {
    width: 50px;
    height: 3px;
    background: #3498db;
    margin-bottom: 1.5rem;
}

.photocard-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.photocard-content a {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.photocard-content a:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.photocard-image {
    flex: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;
}

/* Amenities Section */
.amenities {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h4 {
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
}

.section-title h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
}

.amenities-card-cover {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.amenities-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.amenities-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.amenities-card-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.amenities-card h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0;
}

/* Floating Action Buttons */
#scroll-to-whatsapp,
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    z-index: 1000;
    transition: all 0.3s ease;
}

#scroll-to-whatsapp {
    background: #25d366;
    right: 5rem;
}

#scroll-to-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.1);
}

#scroll-to-top {
    background: #3498db;
    opacity: 0;
    visibility: hidden;
}

#scroll-to-top:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-heading h4 {
    color: #3498db;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer p {
    color: #bdc3c7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.footer i {
    color: #3498db;
    width: 20px;
}

.footer a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #3498db;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* Footer Form */
.footer-form {
    margin-top: 1rem;
}

.footer-form-input {
    position: relative;
    margin-bottom: 1rem;
}

.footer-form-input i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
}

.footer-form input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #34495e;
    background: #34495e;
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-form input::placeholder {
    color: #bdc3c7;
}

.footer-form input:focus {
    outline: none;
    border-color: #3498db;
    background: #3c5371;
}

.footer-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.footer-bottom {
    background: #1a252f;
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Alert Styles */
.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}