/* Titan Construction Group - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --text: #eaeaea;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e2e2e2;
    --gray-600: #666666;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; line-height: 1.7; color: var(--text); background: var(--gray-100); }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.3; }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header { position: fixed; top: 0; width: 100%; background: var(--white); box-shadow: var(--shadow-sm); z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; max-width: 1200px; margin: 0 auto; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.logo span { color: var(--accent); }
nav { display: flex; gap: 2rem; }
nav a { color: var(--text); font-weight: 500; position: relative; }
nav a:hover, nav a.active { color: var(--accent); }
nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
nav a:hover::after, nav a.active::after { width: 100%; }

.btn { display: inline-block; padding: 0.875rem 2rem; border-radius: 50px; font-weight: 500; text-align: center; cursor: pointer; border: none; transition: all 0.3s ease; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }

.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 1; text-align: center; width: 100%; max-width: 900px; margin: 0 auto; padding: 2rem; }
.hero h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 1.5rem; animation: fadeInUp 0.8s ease; }
.hero .subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; animation: fadeInUp 0.8s ease 0.4s both; }

section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.section-header p { color: var(--gray-600); max-width: 600px; margin: 0 auto; }
.section-header .accent-line { width: 60px; height: 3px; background: var(--accent); margin: 1rem auto; }

.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { padding: 2rem; border-radius: 15px; background: var(--gray-100); text-align: center; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon { width: 60px; height: 60px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.5rem; }
.feature-card h3 { color: var(--primary); margin-bottom: 0.75rem; }
.feature-card p { color: var(--gray-600); font-size: 0.9rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.service-icon { height: 120px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.service-content { padding: 2rem; }
.service-content h3 { color: var(--primary); margin-bottom: 1rem; }
.service-content p { color: var(--gray-600); margin-bottom: 1.5rem; }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-content h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.about-content p { color: var(--gray-600); margin-bottom: 1.5rem; }
.about-stats { display: flex; gap: 3rem; margin-top: 2rem; }
.stat { text-align: center { font-size:; }
.stat-number 2.5rem; font-weight: 700; color: var(--accent); }
.stat-label { color: var(--gray-600); font-size: 0.9rem; }

.testimonials { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.testimonials .section-header h2, .testimonials .section-header p { color: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: 20px; padding: 2rem; border: 1px solid rgba(255,255,255,0.1); }
.testimonial-card p { color: rgba(255,255,255,0.9); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { color: var(--accent); font-weight: 500; }

.cta { background: var(--accent); text-align: center; }
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; }
.cta .btn { background: var(--white); color: var(--accent); }
.cta .btn:hover { background: var(--primary); color: var(--white); }

footer { background: var(--primary); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h3 { color: var(--accent); margin-bottom: 1.5rem; }
.footer-col p, .footer-col a { color: rgba(255,255,255,0.7); display: block; margin-bottom: 0.75rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 0.9rem; }

.contact-hero { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 150px 0 80px; text-align: center; }
.contact-hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 1rem; }
.contact-hero p { color: rgba(255,255,255,0.9); }
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form { background: var(--white); padding: 3rem; border-radius: 20px; box-shadow: var(--shadow); }
.contact-form h3 { color: var(--primary); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; color: var(--text); margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 1rem; border: 2px solid var(--gray-200); border-radius: 10px; font-family: inherit; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.contact-info { padding: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.contact-icon { width: 50px; height: 50px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-info h4 { color: var(--primary); margin-bottom: 0.25rem; }
.contact-info p { color: var(--gray-600); }
.map { height: 300px; background: var(--gray-200); border-radius: 20px; overflow: hidden; margin-top: 3rem; }

.faq { background: var(--white); }
.faq-grid { display: grid; gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--gray-100); border-radius: 10px; padding: 1.5rem; }
.faq-item h4 { color: var(--primary); margin-bottom: 0.75rem; }
.faq-item p { color: var(--gray-600); }

.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step { text-align: center; }
.step-number { width: 60px; height: 60px; background: var(--accent); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem; }
.process-step h4 { color: var(--primary); margin-bottom: 0.5rem; }
.process-step p { color: var(--gray-600); font-size: 0.9rem; }

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

@media (max-width: 768px) { 
    .hero h1 { font-size: 2.5rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .about-stats { justify-content: center; }
    .hero-buttons { flex-direction: column; }
}
