/*
Theme Name: Magnum Oaks
Theme URI: https://www.magnumoaks.in
Author: Magnum Oaks Development
Author URI: https://www.magnumoaks.in
Description: A premium real estate theme for Magnum Oaks - DTCP approved residential plots in Zaheerabad
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magnum-oaks
Tags: real-estate, property, landing-page, one-page
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #0a3d2e 0%, #1a5c42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/designer-interior.jpg') center/cover;
    opacity: 0.2;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #90d5a8;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #90d5a8;
    color: #0a3d2e;
}

.btn-primary:hover {
    background: #7bc794;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(144, 213, 168, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0a3d2e;
    transform: translateY(-3px);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* Introduction Section */
.intro-section {
    padding: 6rem 5%;
    background: white;
}

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

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.intro-img {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #0a3d2e, #1a5c42);
    border-radius: 10px;
    overflow: hidden;
}

.intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0a3d2e;
    line-height: 1.2;
}

.intro-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 5%;
    background: #f8f9fa;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0a3d2e;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    font-size: 1.1rem;
    color: #0a3d2e;
    font-weight: 600;
}

.feature-text span {
    color: #666;
}

/* Amenities Section */
.amenities-section {
    padding: 6rem 5%;
    background: #0a3d2e;
    color: white;
    text-align: center;
}

.amenities-section h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #90d5a8;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.amenities-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.amenities-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.amenities-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.amenities-image img {
    width: 100%;
    height: auto;
}

/* Master Plan Section */
.masterplan-section {
    padding: 6rem 5%;
    background: white;
    text-align: center;
}

.masterplan-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0a3d2e;
    margin-bottom: 3rem;
}

.masterplan-image {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.masterplan-image img {
    width: 100%;
    height: auto;
}

/* Location Section */
.location-section {
    padding: 6rem 5%;
    background: #f8f9fa;
}

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

.location-intro {
    margin-bottom: 4rem;
}

.location-intro h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0a3d2e;
    margin-bottom: 1.5rem;
}

.location-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

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

.location-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a3d2e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #90d5a8;
}

.location-category ul {
    list-style: none;
}

.location-category li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 1.5rem;
}

.location-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #90d5a8;
    font-weight: 700;
}

/* Location Map */
.location-map {
    margin-top: 4rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.location-map img {
    width: 100%;
    height: auto;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #90d5a8, #7bc794);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0a3d2e;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #0a3d2e;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-dark {
    background: #0a3d2e;
    color: white;
}

.btn-dark:hover {
    background: #083528;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 61, 46, 0.3);
}

/* Footer */
footer {
    background: #0a3d2e;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

footer p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

footer a {
    color: #90d5a8;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    padding: 3rem;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #000;
}

.modal-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a3d2e;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #90d5a8;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #0a3d2e;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #083528;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 61, 46, 0.3);
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 61, 46, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sticky-header.visible {
    transform: translateY(0);
}

.sticky-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.sticky-cta {
    display: flex;
    gap: 1rem;
}

/* Icon SVGs */
.icon-check {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2390d5a8"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') center/contain no-repeat;
}

.icon-phone {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>') center/contain no-repeat;
}

.icon-download {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg>') center/contain no-repeat;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h3 {
        font-size: 1.1rem;
    }

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

    .intro-images {
        order: 2;
    }

    .section-header h2,
    .location-intro h2,
    .masterplan-section h2 {
        font-size: 2rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .cta-section h2 {
        font-size: 2rem;
    }
}
