/* 
 * Godrej Properties Clone - Design System
 * Primary Color: #1B4332 (Deep Forest Green)
 * Secondary Color: #2D6A4F (Medium Green)
 * Accent Color: #D4A847 (Gold)
 * Background: #F5F5F0 (Off White)
 */

 :root {
    --primary: #1B4332;
    --secondary: #2D6A4F;
    --accent: #D4A847;
    --bg-light: #F5F5F0;
    --text-dark: #1A1A1A;
    --text-light: #F8F9FA;
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .heading-font {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Custom Colors & Backgrounds */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-dark-green { background-color: #0d281d !important; }
.bg-light-gray { background-color: var(--bg-light) !important; }

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 4px;
    font-weight: 500;
}

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

/* Header & Navigation */
.site-header {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 15px !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Mega Menu */
.mega-menu {
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 0;
}

/* Property Cards */
.property-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    background: #fff;
    height: 100%;
}

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

.property-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

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

.property-card:hover .property-img-wrapper img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-select: 2;
}

.property-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Hero Section */
.hero-slider {
    height: 80vh;
    min-height: 600px;
    position: relative;
}

.hero-slide {
    height: 100%;
    position: relative;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10% 5%;
}

/* Swiper Controls Customization */
.swiper-button-next, .swiper-button-prev {
    color: white !important;
    background: rgba(27, 67, 50, 0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

/* Section Spacing */
.section-padding {
    padding: 80px 0;
}

/* Footer */
.site-footer {
    border-top: 4px solid var(--accent);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* Values Section */
.values-section {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.values-quote {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
}

/* Utilities */
.object-fit-cover {
    object-fit: cover;
}

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