/* Desktop Stylesheet - Orange Theme */
:root {
    --primary-orange: #ff6b35;
    --secondary-orange: #ff8c42;
    --light-orange: #ffa364;
    --dark-orange: #d9541f;
    --accent-orange: #ffb088;
    --white: #ffffff;
    --whitesmoke: #f5f5f5;
    --light-gray: #e8e8e8;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: rgba(255, 107, 53, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--whitesmoke);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Device Selector Modal */
.device-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.device-modal.hidden {
    display: none;
}

.device-modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    animation: slideUp 0.5s ease;
}

.device-modal-content h2 {
    color: var(--primary-orange);
    font-size: 32px;
    margin-bottom: 10px;
}

.device-modal-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.device-options {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.device-btn {
    background: var(--whitesmoke);
    border: 3px solid transparent;
    padding: 30px 40px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.device-btn i {
    font-size: 48px;
    color: var(--primary-orange);
}

.device-btn span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.device-btn:hover {
    border-color: var(--primary-orange);
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px var(--shadow-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--primary-orange);
    animation: rotate 20s linear infinite;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-item:hover {
    color: var(--primary-orange);
    background: var(--whitesmoke);
}

.menu-item:hover::before {
    width: 80%;
}

.menu-item.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
}

.menu-item i {
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--light-gray);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--whitesmoke);
    color: var(--primary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px) rotate(360deg);
}

/* Main Content */
#main {
    min-height: calc(100vh - 100px);
}

.page-section {
    display: none;
    padding: 80px;
    animation: fadeIn 0.6s ease;
}

.page-section.active {
    display: block;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-content {
    animation: slideInLeft 0.8s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white);
    box-shadow: 0 5px 20px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    animation: slideInRight 0.8s ease;
}

.floating-card {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.floating-card img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-dark);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow);
}

.stat-card i {
    font-size: 48px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 36px;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Search Container */
.search-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow-dark);
    margin-bottom: 50px;
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.filter-input {
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--whitesmoke);
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: var(--white);
}

.search-btn {
    padding: 14px 30px;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-dark);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.property-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-info {
    padding: 25px;
}

.property-price {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.property-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.property-location {
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-features {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.feature i {
    color: var(--primary-orange);
}

.property-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.property-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 42px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.about-intro {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-orange);
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 42px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 32px;
    color: var(--primary-orange);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow-dark);
}

.contact-form,
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--whitesmoke);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: var(--white);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-orange), var(--primary-orange));
    color: var(--white);
    padding: 60px 80px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--white);
    color: var(--primary-orange);
    transform: translateY(-5px);
    padding-left: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.5s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary-orange);
    font-size: 32px;
    margin-bottom: 30px;
}

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

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

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--whitesmoke);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-orange);
}
