/* Sawariya Properties - Global Styles & Page Layout */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: hsl(var(--bg-primary));
    color: hsl(var(--text-primary));
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--bg-secondary));
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--gold-dark));
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--gold));
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: hsl(var(--text-primary));
    line-height: 1.2;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-fast);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Common Styling */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header .subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: hsl(var(--gold));
    margin-bottom: 0.75rem;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.section-header .subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: hsl(var(--gold));
    margin: 0.5rem auto 0 auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: hsl(var(--text-secondary));
    font-size: 1.1rem;
}

/* Header & Sticky Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: hsl(var(--bg-glass));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border-glass));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 0.75rem 0;
}

header:not(.scrolled) {
    padding: 1.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: hsl(var(--text-primary));
}

.navbar-brand .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(226, 182, 89, 0.3);
}

.navbar-brand span {
    letter-spacing: -0.5px;
}

.navbar-brand span span {
    color: hsl(var(--gold));
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: hsl(var(--text-primary));
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: hsl(var(--gold));
    transition: var(--transition-fast);
}

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

.nav-link:hover {
    color: hsl(var(--gold));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: hsl(var(--bg-secondary));
    border-radius: 50%;
    cursor: pointer;
    color: hsl(var(--text-primary));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.theme-toggle-btn:hover {
    background: hsl(var(--gold));
    color: white;
    transform: rotate(45deg);
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
    color: white;
    box-shadow: 0 8px 20px rgba(226, 182, 89, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(226, 182, 89, 0.4);
}

.btn-secondary {
    background: hsl(var(--bg-secondary));
    color: hsl(var(--text-primary));
    border: 1px solid hsl(var(--border-color));
}

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

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

/* Shortlist Header Button */
.btn-shortlist {
    position: relative;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-shortlist .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: hsl(var(--emerald));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 80% 20%, hsl(var(--bg-secondary)), hsl(var(--bg-primary)));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(226, 182, 89, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-dark)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.stat-item {
    border-left: 3px solid hsl(var(--gold));
    padding-left: 1rem;
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: hsl(var(--text-primary));
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsl(var(--text-secondary));
    margin-bottom: 0;
    margin-top: 0.25rem;
}

/* Floating Hero Image Graphic */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    width: 100%;
    height: 480px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-luxury);
    position: relative;
    overflow: hidden;
    border: 1px solid hsl(var(--border-color));
}

.hero-image-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(11, 25, 44, 0.8) 0%, transparent 100%);
}

.hero-image-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    z-index: 5;
    background: rgba(11, 25, 44, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-image-badge h4 {
    font-size: 1.1rem;
    color: white;
}

.hero-image-badge p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: hsl(var(--text-primary));
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        border-left: none;
        border-top: 3px solid hsl(var(--gold));
        padding-left: 0;
        padding-top: 0.5rem;
    }
    
    .hero-image-card {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: hsl(var(--bg-card));
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    .nav-actions {
        margin-right: 1.5rem;
    }
}
