/* ============================================
   INDIANAPOLIS FORM - MODERN CONTRACTOR WEBSITE
   Design: Deep Slate Blue + Light Gray + Bold Orange
   ============================================ */

/* Root Variables */
:root {
    --slate-blue: #1e3a5f;
    --slate-dark: #0f1f35;
    --light-gray: #e8eef5;
    --gray-medium: #b0b8c8;
    --orange-accent: #ff6b35;
    --orange-dark: #e55a24;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    
    --font-display: 'Libre Baskerville', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-deep: 0 12px 36px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.8rem;
    color: var(--slate-blue);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

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

a:hover {
    color: var(--orange-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-blue);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: parallax 25s ease-in-out infinite;
}

@keyframes parallax {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.75) 0%, rgba(30, 58, 95, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-accent) 0%, var(--orange-dark) 100%);
    color: white;
    border-color: var(--orange-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-accent) 100%);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--slate-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-size: 2.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange-accent), transparent);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--orange-accent);
    animation: fadeInUp 0.6s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-deep);
    background: white;
}

.service-icon {
    font-size: 2.8rem;
    color: var(--orange-accent);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--slate-blue);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f8fc 0%, #e8eef5 100%);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.highlight-item {
    animation: fadeInUp 0.6s ease;
}

.highlight-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-top: 4px solid var(--orange-accent);
}

.highlight-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.highlight-box i {
    font-size: 2.5rem;
    color: var(--orange-accent);
    margin-bottom: 1rem;
    display: block;
}

.highlight-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--slate-blue);
}

.highlight-box p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

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

.gallery-item:hover img {
    transform: scale(1.12);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--slate-blue);
}

.info-block {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #d0d8e8;
}

.info-block:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--slate-blue);
    margin-bottom: 0.5rem;
}

.info-link {
    color: var(--orange-accent);
    font-weight: 600;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--slate-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d0d8e8;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.error-message {
    animation: fadeIn 0.3s ease;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    text-align: center;
}

.success-message i {
    margin-right: 0.5rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-section .section-title {
    margin-bottom: 2rem;
}

.map-section iframe {
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

/* Footer */
.footer {
    background: var(--slate-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--orange-accent);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--orange-accent);
}

.footer-section a:hover {
    color: white;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .highlights-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .about,
    .services,
    .why-choose,
    .gallery,
    .contact,
    .map-section {
        padding: 40px 0;
    }
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .highlight-item,
    .gallery-item {
        animation: fadeInUp 0.6s ease-out;
    }
}
