/* Custom Styles for Sri Balaji Enterprise */

/* Global Button Styles */
.btn-primary-custom {
    background: var(--primary-green);
    color: white;
    padding: 15px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: none;
}

.btn-primary-custom:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.3);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid white;
}

.btn-secondary-custom:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.btn-secondary-custom i,
.btn-primary-custom i {
    margin-right: 8px;
}

/* Common Page Header */
.page-header {
    background: linear-gradient(35deg, var(--primary-purple) 0%, #2d1b69 60%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Home Page - Hero Section */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Home Page - About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-number {
    font-size: 72px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 10px solid var(--primary-color);
}

.about-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Wave Divider */
.wave-divider {
    position: relative;
    background: var(--primary-color);
    height: 150px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* Home Page - Products Section */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h5 {
    padding: 20px;
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Home Page - Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
    margin-bottom: 30px;
}

.feature-box:hover {
    background: var(--light-gray);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c66 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 36px;
    color: white;
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Home Page - Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
    background: white;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-description {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* Home Page - Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1a0a4e 0%, #2d1b69 100%);
    padding: 80px 0;
    color: white;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 3px;
}

/* About Page */
.about-page {
    padding: 80px 0;
}

.about-content {
    line-height: 1.8;
    font-size: 16px;
    color: #555;
}

.about-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #2d1b69 100%);
    padding: 60px 0;
    color: white;
}

.stat-box {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #11fc8e;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

/* Products Page */
.products-page {
    padding: 80px 0;
}

.category-filter {
    margin-bottom: 50px;
}

.category-btn {
    background: white;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 10px 25px;
    border-radius: 25px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-purple);
    color: white;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.btn-view-product {
    background: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
}

.btn-view-product:hover {
    background: var(--primary-purple);
    color: white;
}

/* Product Detail Page */
.hero-section::after {
    content: '';
    position: absolute;
    top: 92%;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: white;
    transform: skewY(-2deg);
    z-index: 1;
}

.content-section {
    padding: 80px 0;
    background-color: white;
    margin-top: 40px;
}

.product-header {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.product-image-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

.product-image-main {
    background-color: #e8e8e8;
    border: 4px solid var(--primary-green);
    border-radius: 8px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    object-fit: cover;
    width: 100%;
}

.product-image.small {
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.sections-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, rgba(0,0,0,0.15) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 60px;
}

.sections-header h2 {
    font-size: 2rem;
    font-weight: 800;
    display: inline-block;
}

.sections-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.section-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
}

.technical-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #ff8a7e 100%);
    color: white;
    padding: 60px 0;
    margin-top: 60px;
}

.features-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.spec-item {
    background-color: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spec-label {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.spec-value {
    font-size: 1.05rem;
    line-height: 1.5;
}

.features-list {
    background-color: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 8px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.features-image img {
    max-width: 100%;
    border-radius: 8px;
    display: block;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 16px;
    line-height: 1.6;
}

.feature-category {
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

/* Gallery Page */
.gallery-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-filter {
    margin-bottom: 50px;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 10px 25px;
    border-radius: 25px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-purple);
    color: white;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Contact Page */
.contact-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.btn-submit {
    background: var(--primary-green);
    color: white;
    padding: 15px 50px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #ff8c66 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 32px;
    color: white;
}

.map-section {
    margin-top: 60px;
}

/* Payment Page */
.payment-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.payment-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.payment-method {
    border: 2px solid #e0e0e0;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.payment-method h4 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-detail {
    margin-bottom: 10px;
}

.payment-detail strong {
    color: var(--primary-green);
    display: inline-block;
    min-width: 150px;
}

.qr-code {
    max-width: 200px;
    height: auto;
    margin: 20px 0;
}

/* Legal Documents Page */
.legal-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.legal-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.legal-card h3 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 20px;
}

.legal-content {
    line-height: 1.8;
    color: #555;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.certificate-item {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.certificate-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.certificate-icon {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .features-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width:500px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }
}