/* Base Styles for L.N. Joshi & Co. Website */

:root {
    --primary-color: #2c6ac1;    /* Main blue */
    --secondary-color: #5e8ed4;  /* Lighter blue */
    --accent-color: #f7a440;    /* Warm orange */
    --light-color: #f7f9fc;     /* Very light blue-gray */
    --dark-color: #233a5f;      /* Deep blue-gray */
    --text-color: #333333;      /* Main text color */
    --text-light: #5e6c84;      /* Secondary text color */
    --border-color: #e4e9f2;    /* Border color */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* Common Components */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
}

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

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(44, 106, 193, 0.1);
}

.logo {
    max-width: 160px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    opacity: 0.8;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

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

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

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

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(58, 123, 213, 0.15);
}

.service-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Basic Layout */
main {
    flex: 1;
}

/* Page Banner & Hero Banner */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.8rem; /* Increased size */
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-banner p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-banner {
    padding: 100px 0; /* More padding for hero */
}

.hero-banner h1 {
    font-size: 3.2rem; /* Larger for hero */
}

.hero-banner p {
    font-size: 1.2rem;
    max-width: 700px;
}

.cta-buttons .btn {
    margin: 0 10px;
}

.section-padding {
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .logo {
        margin: 0 auto;
    }
}
