/* 
 * Aditya Developers - Custom Styles
 * Color Palette:
 * Primary Dark: #1a3c40 (Deep Teal)
 * Primary Medium: #2d5d5f (Medium Teal)
 * Primary Light: #417d7f (Light Teal)
 * Accent Warm: #d4a76a (Warm Gold)
 * Accent Light: #f1e6d8 (Warm Beige)
 * Text Dark: #333333
 * Text Light: #666666
 * White: #ffffff
 */

/* Root Variables */
:root {
    --primary-dark: #DD4B12;
    --primary-medium: #F26522;
    --primary-light: #417d7f;
    --accent-warm: #d4a76a;
    --accent-light: #f1e6d8;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-dark);
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-warm);
}

.section-subtitle {
    color: var(--primary-medium);
    font-weight: 500;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-medium) !important;
}

.nav-link.active {
    color: var(--primary-dark) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-warm);
}

.btn-primary {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-medium);
    border-color: var(--primary-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(rgba(26, 60, 64, 0.85), rgba(26, 60, 64, 0.9)),
        url('../images/Aditya Developers Logo-01.png') no-repeat right center;

    background-size: 380px;   /* NOT full width */
    background-position: right 40px center; /* little spacing from edge */

    color: var(--white);
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
 
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }
}

/* Trust Section */
.trust-section {
    background-color: var(--light-bg);
}

.trust-item h3 {
    color: var(--primary-dark);
    font-size: 2.5rem;
}

.trust-item p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Story Section */
.story-section {
    background-color: var(--white);
}

.story-image,
.purpose-image {
    height: 400px;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Promise Section */
.promise-section {
    background-color: var(--light-bg);
}

.promise-icon .icon-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Projects Section */
.project-card .project-image {
    height: 200px;
    background-color: var(--accent-light);
}

/* Testimonials */
.testimonial-card {
    background-color: var(--white);
}

.rating {
    font-size: 1.2rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--accent-light);
}

/* Partners Section */
.partner-logo {
    height: 80px;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Header */
.page-header,
.project-hero {
    background-color: var(--light-bg);
    margin-top: 100px;
    /* Increased to clear fixed navbar */
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.project-hero {
    background-color: var(--primary-dark) !important;
    color: var(--white);
}

.project-hero h1,
.project-hero h2,
.project-hero h3,
.project-hero h4,
.project-hero h5,
.project-hero h6 {
    color: var(--white) !important;
}

/* Purpose Sections */
.purpose-section {
    background-color: var(--white);
}

/* Contact Form */
.contact-info-card {
    background-color: var(--primary-dark);
    color: var(--white);
}

.contact-info-card h3,
.contact-info-card h4,
.contact-info-card h5 {
    color: var(--white);
}

.contact-info-card a {
    color: var(--accent-warm);
}

.contact-info-card .btn-outline-primary {
    color: var(--white);
    border-color: var(--white);
}

.contact-info-card .btn-outline-primary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

/* Form Styles */
.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 0.2rem rgba(41, 93, 95, 0.25);
}

/* Map Section */
.map-placeholder {
    height: 400px;
    background-color: var(--accent-light);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
}

.footer a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-warm) !important;
}

/* Placeholder Styles */
.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
    background: linear-gradient(135deg, #f1e6d8 0%, #e2d1c3 100%);
    position: relative;
    overflow: hidden;
}

.placeholder-image::after {
    content: 'Aditya Developers';
    font-family: 'Playfair Display', serif;
    opacity: 0.1;
    font-size: 2rem;
    font-weight: bold;
    transform: rotate(-15deg);
    color: var(--text-light);
    font-style: italic;
}

/* Utility Classes */
.bg-primary {
    background-color: var(--primary-dark) !important;
}

.text-primary {
    color: var(--primary-dark) !important;
}

.border-primary {
    border-color: var(--primary-dark) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .section-title {
        text-align: center;
    }

    .trust-item {
        margin-bottom: 2rem;
    }

    .page-header, .project-hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
        margin-top: 80px;
    }
    
    .story-image, .purpose-image {
        height: 250px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}