/* Typography */
:root {
    --primary-color: #FFB800;
    --secondary-color: #1a1a1a;
    --text-color: #FFFFFF;
    --dark-bg: #121212;
    --card-bg: #1E1E1E;
    --hover-color: #FFD700;
    --accent-color: #2a2a2a;
    
    /* Font Families */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Products Hero Section */
#products-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.85)),
                url('../products/tower-infra.jpg') center/cover fixed;
    padding: 8rem 5% 4rem;
    overflow: hidden;
}

#products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 184, 0, 0.1), transparent 70%);
}

#products-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

#products-hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#products-hero p {
    font-size: 1.2rem;
    color: #FFB800;
    margin-bottom: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
}

#products-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(18, 18, 18, 1), transparent);
}

/* Responsive Hero Section */
@media (max-width: 968px) {
    #products-hero {
        min-height: 50vh;
        padding: 6rem 5% 3rem;
    }

    #products-hero h1 {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }

    #products-hero p {
        font-size: 1rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    #products-hero {
        min-height: 40vh;
    }

    #products-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }

    #products-hero p {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
}

/* Products Showcase */
#products-showcase {
    padding: 5rem 5%;
    background-color: var(--dark-bg);
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    display: flex;
    margin-bottom: 3rem;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(255, 184, 0, 0.1);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 184, 0, 0.15);
    border-color: rgba(255, 184, 0, 0.3);
}

.product-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(18, 18, 18, 0.8),
        rgba(255, 184, 0, 0.2)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    color: var(--primary-color);
    font-size: 3rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.product-item:hover .product-overlay i {
    transform: translateY(0);
}

.product-info {
    flex: 1;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.product-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(45deg, var(--primary-color), #FFC837);
    color: var(--dark-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.product-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.product-item:hover .product-info h2::after {
    width: 100px;
}

.product-info p {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #ffffff;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: linear-gradient(45deg, var(--primary-color), #FFC837);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.product-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
    background: linear-gradient(45deg, #FFC837, var(--primary-color));
}

.product-btn:hover i {
    transform: translateX(4px);
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.product-btn:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .product-item {
        flex-direction: column;
    }
    
    .product-image {
        flex: 0 0 200px;
    }
}

/* Enhanced Footer */
footer {
    background: linear-gradient(to bottom, var(--secondary-color), var(--dark-bg));
    padding: 4rem 5% 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.footer-section {
    opacity: 1;
    transform: translateY(0);
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links ul li {
    margin-bottom: 1rem;
}

.quick-links ul li a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.quick-links ul li a:hover {
    color: #FFB800;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom p {
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .product-item {
        grid-template-columns: 1fr;
    }

    .product-image {
        min-height: 300px;
    }

    .product-item:nth-child(even) {
        direction: ltr;
    }

    #products-hero h1 {
        font-size: 3rem;
    }

    #products-hero p {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }

    .product-info {
        padding: 2rem;
    }

    .product-info h2 {
        font-size: 1.8rem;
    }

    .product-info p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    #products-hero {
        min-height: 30vh;
        padding: 6rem 5% 3rem;
    }

    .product-image {
        min-height: 250px;
    }

    .product-info {
        padding: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    #products-hero h1 {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }

    #products-hero p {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .product-info h2 {
        font-size: 1.6rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }
}

/* Products CTA Section */
#products-cta {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.95)),
                url('../products/COW-2.jpeg') center/cover;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

/* Products Section Styles */
.products-section {
    padding: 4rem 2rem;
    background-color: #0a0a0a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    margin-bottom: 3rem;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(255, 184, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 184, 0, 0.15);
    border-color: rgba(255, 184, 0, 0.3);
}

.product-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(18, 18, 18, 0.8),
        rgba(255, 184, 0, 0.2)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    color: var(--primary-color);
    font-size: 3rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.product-card:hover .product-overlay i {
    transform: translateY(0);
}

.product-content {
    flex: 1;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.product-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(45deg, var(--primary-color), #FFC837);
    color: var(--dark-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-content h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.product-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.product-card:hover .product-content h3::after {
    width: 100px;
}

.product-content p {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #ffffff;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: linear-gradient(45deg, var(--primary-color), #FFC837);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.product-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
    background: linear-gradient(45deg, #FFC837, var(--primary-color));
}

.product-btn:hover i {
    transform: translateX(4px);
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.product-btn:hover::before {
    left: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-image {
        flex: 0 0 200px;
    }
}

/* Section Title Styles */
.section-title {
    text-align: center;
    color: #FFB800;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #FFB800;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-section {
        padding: 3rem 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .product-button {
        width: 100%;
        text-align: center;
    }
}
