/* Enhanced styles for Business Promotion Platform */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --spacing-unit: 1rem;
}

/* Mobile-first responsive styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 50px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .feature-card,
    .business-card {
        margin-bottom: 1rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    form {
        padding: 1rem;
    }
    
    input,
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Enhanced Navigation */
.navbar {
    transition: background-color 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--text-light) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section Enhancement */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9));
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-unit);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Feature Cards Enhancement */
.feature-card {
    background: white;
    border: none;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Business Cards Enhancement */
.business-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.business-card img {
    height: 200px;
    object-fit: cover;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        background-color: var(--primary-color) !important;
    }

    .hero-section {
        min-height: 60vh;
        padding: 4rem 0;
    }

    .feature-card,
    .business-card {
        margin-bottom: var(--spacing-unit);
    }
}

/* Typography Enhancement */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Button Enhancement */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

/* Registration Form Enhancement */
.registration-form {
    min-width: 300px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.registration-form .form-control,
.registration-form .form-select {
    border-radius: 8px;
    border: 1px solid #e1e1e1;
    padding: 0.625rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.registration-form .btn-primary {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .registration-form {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 350px;
        margin: 1rem;
        z-index: 1050;
    }
}

/* Footer Enhancement */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}