/* Stylesheet for Lamaravivos Contracting Pvt Ltd - Revised Sharp Theme */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #02214f;      /* Deep Navy Blue from logo */
    --primary-light: #0d3774;
    --primary-rgb: 2, 33, 79;
    --secondary: #6c6d6f;    /* Slate Grey from logo */
    --secondary-light: #909296;
    --accent: #b89c5a;       /* Sophisticated gold accent for a premium touch */
    --accent-light: #d6b876;
    --dark: #121824;
    --light: #ffffff;        /* Clean premium white */
    --white: #ffffff;
    
    /* Layout Tokens - FLAT/SHARP CORNERS AS REQUESTED */
    --max-width: 1200px;     
    --border-radius: 0px;    
    --border-radius-sm: 0px;
    --border-radius-lg: 0px;
    
    /* Font Families */
    --font-heading: 'Cinzel', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 30px rgba(2, 33, 79, 0.06);
    
    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white); /* Consistently white background */
    color: var(--dark);
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 0.95rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.01em;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0 !important; /* Force sharp image edges */
}

/* Base Layout Wrapper */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Layout Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--secondary); }
.text-accent { color: var(--accent); }
.section-subtitle {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}
.section-title {
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.section-desc {
    max-width: 580px;
    margin: 0 auto 56px;
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 400;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.85rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo img {
    height: 115px;
    width: auto;
    border-radius: 0 !important;
}

.logo-text span {
    color: var(--accent);
}

.logo-sub {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: var(--secondary);
    display: block;
    margin-top: -1px;
}

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

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    padding: 8px 0;
    position: relative;
    letter-spacing: -0.01em;
}

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

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 0 !important;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--primary);
}

.nav-cta:hover {
    background-color: transparent;
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    border: none;
    background: none;
}

.menu-toggle span {
    display: block;
    width: 36px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Hero Section with background image and white overlay */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.60)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--white);
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 0 !important; /* Sharp corners for all buttons */
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    border-color: var(--primary);
    background-color: rgba(2, 33, 79, 0.02);
}

/* Feature Grid / Cards */
.section-padding {
    padding: 90px 0;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Redesigned Card - SHARP GRID STYLING - BIGGER & BETTER */
.card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0 !important; /* Sharp corners */
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 480px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(2, 33, 79, 0.08);
    border-color: var(--accent);
}

.card-media {
    width: 100%;
    height: 220px;
    border-radius: 0 !important; /* Sharp corners */
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--light);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    transition: transform 0.4s ease;
}

.card:hover .card-media img {
    transform: scale(1.04);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.card-desc {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.card .btn-secondary {
    margin-top: auto;
    font-size: 0.9rem;
    padding: 10px 20px;
    width: 100%;
}

/* Divisions Feature Page Layout */
.service-showcase {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-row:nth-child(even) .service-content-col {
    order: 2;
}

.service-image-col {
    border-radius: 0 !important; /* Sharp corners */
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--white);
}

.service-image-col img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0 !important;
}

.service-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.service-list {
    margin: 20px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.service-list-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.price-tag {
    display: inline-block;
    background-color: rgba(184, 156, 90, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 14px;
    border-radius: 0 !important; /* Sharp corners */
    margin-top: 12px;
    border-left: 3px solid var(--accent);
}

/* Diaspora Focus Banner */
.diaspora-banner {
    background-color: var(--white);
    border-radius: 0 !important; /* Sharp corners */
    padding: 48px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    box-shadow: var(--shadow-sm);
}

.diaspora-banner img {
    border-radius: 0 !important;
    max-width: 450px;
    width: 100%;
}

.diaspora-title {
    font-size: 1.85rem;
    margin-bottom: 16px;
    text-align: center;
}

.diaspora-desc {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 24px;
    text-align: center;
}

.diaspora-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.diaspora-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Property Page Styles */
.property-badge {
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0 !important; /* Sharp corners */
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.property-card {
    background-color: var(--white);
    border-radius: 0 !important; /* Sharp corners */
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 33, 79, 0.15);
}

.property-media {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--light);
}

.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

.property-body {
    padding: 20px;
}

.property-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
}

.property-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.property-meta {
    display: flex;
    gap: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
    margin: 14px 0;
    font-size: 0.85rem;
    color: var(--secondary);
}

.property-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Gallery Grid on Dedicated Pages */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.gallery-item {
    border: 1px solid rgba(0,0,0,0.08);
    background-color: var(--light);
    height: 240px;
    position: relative;
    overflow: hidden;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(2,33,79,0.8));
    color: var(--white);
    padding: 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact Form Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 0 !important; /* Sharp corners */
    background-color: rgba(2, 33, 79, 0.03);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.contact-info-text p, .contact-info-text a {
    color: var(--secondary);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0 !important; /* Sharp corners */
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

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

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 0 !important; /* Sharp corners */
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 33, 79, 0.04);
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--dark);
    padding: 60px 0 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

footer .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.75rem;
    margin: 0 auto 20px;
    width: 100%;
}

footer .logo img {
    height: 100px;
    margin-bottom: 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: var(--accent);
}

.footer-desc {
    color: var(--secondary);
    margin-top: 12px;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-link a {
    color: var(--secondary);
    font-size: 0.85rem;
}

.footer-link a:hover {
    color: var(--accent);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--secondary);
    font-size: 0.85rem;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Scroll Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.appear {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 115px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 115px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        z-index: 999;
        gap: 20px;
        border-radius: 0 !important;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .service-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-row:nth-child(even) .service-content-col {
        order: 0;
    }
    
    .diaspora-banner {
        grid-template-columns: 1fr;
        padding: 24px;
        border-radius: 0 !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .grid-3, .grid-2, .grid-4, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
