/* ===================================
   Lily Garipova Real Estate Website
   Inspired by soldbygurjeetrai.com
   =================================== */

/* CSS Variables */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-darker: #212227;
    --color-accent: #7c7a61;
    --color-accent-light: #ebe7e0;
    --color-gray: #888888;
    --color-light-gray: #f5f5f5;

    --font-heading: 'Tenor Sans', serif;
    --font-body: 'Questrial', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

.text-center {
    text-align: center;
}

/* Section Divider */
.section-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 20px 0 30px;
}

.section-divider.center {
    margin-left: auto;
    margin-right: auto;
}

.section-divider.light {
    background-color: var(--color-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark);
    border: 1px solid var(--color-dark);
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn.full-width {
    width: 100%;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.15em;
    color: var(--color-white);
    transition: color var(--transition-normal);
}

.navbar.scrolled .logo {
    color: var(--color-dark);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--color-white);
    position: relative;
    transition: color var(--transition-normal);
}

.navbar.scrolled .nav-menu a {
    color: var(--color-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width var(--transition-normal);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-normal);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--color-dark);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../photos/background.jpeg');
    background-size: cover;
    background-position: center;
    background-color: var(--color-dark);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
}

.hero-box {
    background-color: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 60px 150px;
}

.hero h1 {
    font-size: 70px;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.hero-tagline-top {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.25em;
    margin-bottom: 15px;
    background-color: #7c8c5d;
    padding: 12px 30px;
    animation: fadeInUp 1s ease 0.15s backwards;
}

.hero-tagline-top span {
    display: inline;
}

.hero-tagline-top span:not(:last-child)::after {
    content: " | ";
    white-space: pre;
}

.hero-phone {
    font-family: var(--font-heading);
    font-size: 32px;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.18s backwards;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.3em;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-tagline {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* Home Value Form */
.home-value-form {
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.home-value-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    color: var(--color-white);
    text-transform: uppercase;
}

.home-value-input-group {
    display: flex;
    gap: 0;
    margin: 0 0 10px;
}

.home-value-input-group:last-of-type {
    margin-bottom: 0;
}

.home-value-input-group input {
    flex: 1;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    outline: none;
    transition: all var(--transition-normal);
}

.home-value-input-group input:only-child {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

.home-value-input-group input:last-of-type {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.home-value-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.home-value-input-group input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.home-value-input-group .btn {
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

/* ===================================
   About Section
   =================================== */
.about {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--color-accent);
    z-index: -1;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.about-intro {
    font-size: 18px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--color-gray);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--color-accent-light);
    border-bottom: 1px solid var(--color-accent-light);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===================================
   Instagram Section
   =================================== */
.instagram {
    padding: 100px 0;
    background-color: var(--color-white);
}

.instagram h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.instagram-embed {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.instagram-embed .instagram-media {
    margin: 0 !important;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 100px 0;
    background-color: var(--color-light-gray);
}

.services h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--color-white);
    padding: 50px 40px;
    text-align: center;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: var(--color-accent);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.service-card p {
    color: var(--color-gray);
    font-size: 15px;
}

/* ===================================
   Properties Section
   =================================== */
.properties {
    padding: 100px 0;
    background-color: var(--color-white);
}

.properties h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.property-card {
    background-color: var(--color-white);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.property-status {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 5px 15px;
    font-size: 12px;
    letter-spacing: 0.1em;
    font-family: var(--font-heading);
}

.property-details {
    padding: 25px;
}

.property-price {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 10px;
}

.property-address {
    color: var(--color-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--color-gray);
    border-top: 1px solid var(--color-accent-light);
    padding-top: 15px;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    position: relative;
    padding: 120px 0;
    background-image: url('../images/testimonials-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    position: relative;
    min-height: 200px;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial.active {
    display: block;
}

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

.testimonial-text {
    font-size: 22px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0.15em;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-btn {
    background: none;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.testimonial-btn:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color var(--transition-normal);
}

.dot.active {
    background-color: var(--color-white);
}

/* ===================================
   Recent Sales Section
   =================================== */
.recent-sales {
    padding: 100px 0;
    background-color: var(--color-white);
}

.recent-sales h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.sales-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    padding: 40px 0;
    border-top: 1px solid var(--color-accent-light);
    border-bottom: 1px solid var(--color-accent-light);
}

.sales-stat {
    text-align: center;
}

.sales-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.sales-stat-label {
    font-size: 14px;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.recent-sales-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.sale-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-accent-light);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.sale-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sale-image {
    position: relative;
    height: 100px;
    background-color: var(--color-light-gray);
}

.sale-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-accent);
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 4px 12px;
    font-size: 11px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    border-radius: 3px;
}

.sale-details {
    padding: 20px 15px;
}

.sale-price {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.sale-specs {
    font-size: 13px;
    color: var(--color-gray);
    margin-bottom: 5px;
}

.sale-location {
    font-size: 13px;
    color: var(--color-accent);
}

.recent-sales-cta {
    text-align: center;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 100px 0;
    background-color: var(--color-light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-info > p {
    color: var(--color-gray);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1px solid var(--color-accent-light);
    background-color: var(--color-white);
    transition: border-color var(--transition-normal);
}

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

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 24px;
    letter-spacing: 0.15em;
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 14px;
    color: var(--color-gray);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-gray);
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--color-white);
}

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

.footer-social a {
    color: var(--color-gray);
    transition: color var(--transition-normal);
}

.footer-social a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-gray);
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 50px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 400px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sales-stats {
        flex-wrap: wrap;
        gap: 30px 50px;
    }

    .recent-sales-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right var(--transition-normal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--color-white);
        font-size: 18px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: 0.1em;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 0.15em;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-tagline-top {
        flex-direction: column;
        gap: 5px;
    }

    .hero-tagline-top span {
        display: block;
    }

    .hero-tagline-top span:not(:last-child)::after {
        content: "";
    }

    .hero-box {
        padding: 40px 30px;
    }

    .home-value-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .home-value-input-group input {
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    .home-value-input-group .btn {
        width: 100%;
    }

    .about-image::before {
        display: none;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    .sales-stats {
        gap: 25px 40px;
    }

    .sales-stat-number {
        font-size: 28px;
    }

    .recent-sales-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    h2 {
        font-size: 28px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .btn {
        padding: 12px 30px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 24px;
    }

    .property-features {
        flex-wrap: wrap;
        gap: 10px;
    }

    .sales-stats {
        flex-direction: column;
        gap: 20px;
    }

    .sales-stat-number {
        font-size: 24px;
    }

    .recent-sales-grid {
        grid-template-columns: 1fr;
    }

    .sale-price {
        font-size: 18px;
    }
}
