/* Hero Section - Uses global hero system from styles.css */

/* Legacy class for backward compatibility */
.shg-sustainable-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/images/sustain.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    color: white !important;
    text-align: center !important;
    padding: 8rem 2rem !important;
    min-height: 70vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
}

.shg-sustainable-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.shg-sustainable-hero-title {
    font-size: 3.5rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    color: white !important;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.shg-sustainable-hero-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.shg-sustainable-hero-subtitle {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
    opacity: 0.9 !important;
    color: white !important;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.shg-sustainable-hero-subtitle.animate {
    opacity: 0.9;
    transform: translateY(0);
}

/* Intro Section */
.shg-intro-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
    text-align: center;
}

.shg-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.shg-intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Dynamic Sections */
.shg-dynamic-sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.shg-dynamic-section {
    background: white;
    margin-bottom: 3rem;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shg-dynamic-section:last-child {
    margin-bottom: 0;
}

.shg-dynamic-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.shg-dynamic-section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.shg-dynamic-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    margin: 1rem 0;
}

.shg-dynamic-section-subtitle {
    font-size: 1.4rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.shg-dynamic-section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 2rem;
}

.shg-dynamic-section-text p {
    margin: 0 0 1rem 0;
}

.shg-dynamic-section-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.shg-dynamic-section-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.shg-dynamic-section-image:hover {
    transform: scale(1.02);
}

/* Enquire Button */
.shg-enquire-btn-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.shg-enquire-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shg-enquire-btn:hover {
    background: linear-gradient(135deg, #2980b9, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    color: white;
    text-decoration: none;
}

/* PDF Download */
.pdf-download-container {
    margin-top: 2rem;
    text-align: center;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e74c3c;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pdf-download-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.pdf-download-btn i {
    font-size: 1.2rem;
}

/* Form Classes for Modal */
.shg-sustainable-form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.shg-sustainable-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.shg-sustainable-form-group input,
.shg-sustainable-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.shg-sustainable-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.shg-sustainable-submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.shg-sustainable-submit-btn:hover {
    background: #0056b3;
}

/* Modal Styles */
.shg-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.shg-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.shg-modal-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
}

.shg-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.shg-enquiry-subject {
    font-weight: 600;
    color: #666;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Toast Styles */
.shg-sustainable-toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.shg-sustainable-toast {
    padding: 1rem 2rem;
    border-radius: 4px;
    color: white;
    margin-top: 0.5rem;
    animation: sustainableSlideIn 0.3s ease-out;
}

.shg-sustainable-toast-success {
    background: #28a745;
}

.shg-sustainable-toast-error {
    background: #dc3545;
}

@keyframes sustainableSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .shg-sustainable-hero-section {
        height: 40vh !important;
        min-height: 250px !important;
        padding: 6rem 2rem !important;
    }
    
    .shg-sustainable-hero-title {
        font-size: 2.2rem !important;
    }

    .shg-sustainable-hero-subtitle {
        font-size: 1.1rem !important;
    }

    .shg-intro-section {
        padding: 2rem 1rem;
    }

    .shg-intro-text {
        font-size: 1.2rem;
    }

    .shg-dynamic-sections {
        padding: 2rem 1rem;
    }

    .shg-dynamic-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .shg-dynamic-section-title {
        font-size: 1.6rem;
    }

    .shg-dynamic-section-images {
        grid-template-columns: 1fr;
    }

    .shg-dynamic-section-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .shg-sustainable-hero-section {
        min-height: 300px !important;
        padding: 5rem 1.5rem !important;
    }

    .shg-sustainable-hero-title {
        font-size: 1.8rem !important;
    }

    .shg-sustainable-hero-subtitle {
        font-size: 0.95rem !important;
    }

    .shg-dynamic-sections {
        padding: 1.5rem 1rem;
    }

    .shg-dynamic-section {
        padding: 1rem;
    }

    .shg-dynamic-section-title {
        font-size: 1.4rem;
    }

    .shg-dynamic-section-text {
        font-size: 0.95rem;
    }

    .shg-intro-section {
        padding: 1.5rem 1rem;
    }

    .shg-intro-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 320px) {
    .shg-sustainable-hero-section {
        min-height: 280px !important;
        padding: 4rem 1rem !important;
    }

    .shg-sustainable-hero-title {
        font-size: 1.6rem !important;
    }

    .shg-sustainable-hero-subtitle {
        font-size: 0.9rem !important;
    }
} 