
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.6;
color: #333;
padding-top: 70px;
}

/* Hero Section */
.hero {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
padding: 120px 0 80px;
color: white;
position: relative;
overflow: hidden;
}

.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="150" fill="rgba(255,255,255,0.1)"/><circle cx="400" cy="700" r="120" fill="rgba(255,255,255,0.1)"/></svg>');
opacity: 0.3;
}

.hero-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: grid;
grid-template-columns: 1fr auto;
gap: 3rem;
align-items: center;
position: relative;
z-index: 1;
}

.hero-content h1 {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 700;
margin-bottom: 1.5rem;
line-height: 1.2;
}

.hero-content p {
font-size: 1.2rem;
margin-bottom: 2rem;
max-width: 600px;
opacity: 0.9;
}

.cta-button {
background: linear-gradient(45deg, #f59e0b 0%, #d97706 100%);
color: white;
border: none;
padding: 1rem 2rem;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Weather Widget */
.weather-widget {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
border-radius: 20px;
padding: 2rem;
min-width: 280px;
border: 1px solid rgba(255, 255, 255, 0.2);
}

.weather-location {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 1rem;
text-align: center;
}

.current-temp {
font-size: 3rem;
font-weight: 700;
color: #fbbf24;
text-align: center;
margin-bottom: 0.5rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.heat-warning {
background: rgba(239, 68, 68, 0.2);
border: 1px solid rgba(239, 68, 68, 0.5);
border-radius: 10px;
padding: 0.5rem;
text-align: center;
margin-bottom: 1rem;
font-size: 0.9rem;
font-weight: 600;
color: #fecaca;
}

.forecast {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
text-align: center;
}

.forecast-item {
padding: 0.5rem;
border-radius: 10px;
background: rgba(255, 255, 255, 0.1);
}

.forecast-day {
font-size: 0.9rem;
font-weight: 500;
opacity: 0.8;
margin-bottom: 0.25rem;
}

.forecast-temp {
font-size: 1.1rem;
font-weight: 600;
}

/* Features Section */
.features {
padding: 80px 0;
background: #f8fafc;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.section-header {
text-align: center;
margin-bottom: 4rem;
}

.section-title {
font-size: 2.5rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 1rem;
}

.section-subtitle {
font-size: 1.2rem;
color: #6b7280;
max-width: 600px;
margin: 0 auto;
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}

.feature-card {
background: white;
border-radius: 20px;
padding: 2rem;
text-align: center;
border: 1px solid #e5e7eb;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
border-color: #dc2626;
}

.feature-icon {
width: 60px;
height: 60px;
margin: 0 auto 1.5rem;
padding: 15px;
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
}

.feature-icon img {
width: 30px;
height: 30px;
filter: brightness(0) invert(1);
}

.feature-title {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 1rem;
color: #1f2937;
}

.feature-description {
color: #6b7280;
line-height: 1.6;
}

/* About Section */
.about {
padding: 80px 0;
background: white;
}

.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.about-text h2 {
font-size: 2.5rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 1.5rem;
}

.about-text p {
font-size: 1.1rem;
color: #6b7280;
margin-bottom: 1.5rem;
line-height: 1.8;
}

.about-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
margin-top: 2rem;
}

.stat-item {
text-align: center;
padding: 1.5rem;
background: #fef2f2;
border-radius: 15px;
}

.stat-number {
font-size: 2rem;
font-weight: 700;
color: #dc2626;
margin-bottom: 0.5rem;
}

.stat-label {
color: #6b7280;
font-size: 0.9rem;
}

.about-image {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
border-radius: 20px;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.5rem;
font-weight: 600;
position: relative;
overflow: hidden;
}

.about-image::before {
content: '🚦';
font-size: 4rem;
opacity: 0.3;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

/* Contact Section */
.contact {
padding: 80px 0;
background: #1f2937;
color: white;
}

.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.contact-info h2 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
}

.contact-info p {
font-size: 1.1rem;
margin-bottom: 2rem;
opacity: 0.9;
}

.contact-details {
display: flex;
flex-direction: column;
gap: 1rem;
}

.contact-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
}

.contact-item img {
width: 24px;
height: 24px;
filter: brightness(0) invert(1);
}

.contact-form {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 2rem;
border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 0.75rem;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 10px;
background: rgba(255, 255, 255, 0.1);
font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: rgba(255, 255, 255, 0.7);
}

.form-group select {
color: white;
}

.form-group select option {
background: #1f2937;
color: white;
}

.submit-btn {
width: 100%;
padding: 1rem;
background: linear-gradient(45deg, #f59e0b 0%, #d97706 100%);
color: white;
border: none;
border-radius: 10px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}

.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
.hamburger {
display: flex;
}

.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: white;
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 2rem 0;
}

.nav-menu.active {
left: 0;
}

.hero-container {
grid-template-columns: 1fr;
text-align: center;
}

.weather-widget {
max-width: 300px;
margin: 0 auto;
}

.about-content,
.contact-content {
grid-template-columns: 1fr;
gap: 2rem;
}

.about-stats {
grid-template-columns: 1fr;
}

.footer-content {
grid-template-columns: 1fr;
text-align: center;
}

.nav-container {
padding: 0 1rem;
}

.container {
padding: 0 1rem;
}
}

.hamburger.active span:nth-child(1) {
transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
opacity: 0;
}

.hamburger.active span:nth-child(3) {
transform: rotate(-45deg) translate(6px, -6px);
}

/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}

/* Loading animation for weather widget */
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}

.loading {
animation: pulse 1.5s infinite;
}

/* Additional interactive elements */
.nav-icon {
position: relative;
}

.nav-icon::after {
content: '';
position: absolute;
top: -2px;
right: -2px;
width: 8px;
height: 8px;
background: #dc2626;
border-radius: 50%;
opacity: 0;
transition: opacity 0.3s ease;
}

.nav-icon.has-notification::after {
opacity: 1;
}

/* Form validation styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
border-color: rgba(239, 68, 68, 0.5);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
border-color: rgba(34, 197, 94, 0.5);
}

/* Success message for form submission */
.success-message {
background: rgba(34, 197, 94, 0.2);
color: #22c55e;
border: 1px solid rgba(34, 197, 94, 0.5);
border-radius: 10px;
padding: 1rem;
margin-bottom: 1rem;
text-align: center;
display: none;
}

.success-message.show {
display: block;
}



/* Navigation */
.navbar {
position: fixed;
top: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid #e5e7eb;
z-index: 1000;
transition: all 0.3s ease;
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 2rem;
height: 70px;
}

.logo {
font-size: 1.5rem;
font-weight: 700;
color: #dc2626;
text-decoration: none;
}

.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
}

.nav-menu a {
text-decoration: none;
color: #6b7280;
font-weight: 500;
transition: color 0.3s ease;
}

.nav-menu a:hover {
color: #dc2626;
}

.nav-icons {
display: flex;
gap: 1rem;
align-items: center;
}

.nav-icon {
width: 24px;
height: 24px;
cursor: pointer;
opacity: 0.7;
transition: all 0.3s ease;
}

.nav-icon:hover {
opacity: 1;
transform: scale(1.1);
}

.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
gap: 3px;
}

.hamburger span {
width: 25px;
height: 3px;
background: #333;
transition: 0.3s;
}

/* Footer */
.footer {
background: #111827;
color: white;
padding: 3rem 0 1rem;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}

.footer-section h3 {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
line-height: 1.8;
}

.footer-section a:hover {
color: white;
}

.social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}

.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
transition: all 0.3s ease;
}

.social-links a:hover {
background: #dc2626;
transform: translateY(-2px);
}

.social-links img {
width: 20px;
height: 20px;
filter: brightness(0) invert(1);
}

.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
.hamburger {
display: flex;
}

.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: white;
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 2rem 0;
}

.nav-menu.active {
left: 0;
}

.hero-container {
grid-template-columns: 1fr;
text-align: center;
}

.weather-widget {
max-width: 300px;
margin: 0 auto;
}

.about-content,
.contact-content {
grid-template-columns: 1fr;
gap: 2rem;
}

.about-stats {
grid-template-columns: 1fr;
}

.footer-content {
grid-template-columns: 1fr;
text-align: center;
}

.nav-container {
padding: 0 1rem;
}

.container {
padding: 0 1rem;
}
}

.hamburger.active span:nth-child(1) {
transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
opacity: 0;
}

.hamburger.active span:nth-child(3) {
transform: rotate(-45deg) translate(6px, -6px);
}

/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}

/* Loading animation for weather widget */
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}

.loading {
animation: pulse 1.5s infinite;
}

/* Additional interactive elements */
.nav-icon {
position: relative;
}

.nav-icon::after {
content: '';
position: absolute;
top: -2px;
right: -2px;
width: 8px;
height: 8px;
background: #dc2626;
border-radius: 50%;
opacity: 0;
transition: opacity 0.3s ease;
}

.nav-icon.has-notification::after {
opacity: 1;
}
