/*
Theme Name: Rajput Fashion
Theme URI: https://rajputfashion.com
Author: Rajput Fashion
Author URI: https://rajputfashion.com
Description: A custom theme for Rajput Fashion sportswear shop showcasing products catalog, about section, contact information, and welcome page.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rajput-fashion
Tags: responsive, sportswear, retail, catalog
*/

/* Bootstrap 5 Custom Overrides */
:root {
    --bs-primary: #e63946;
    --bs-primary-rgb: 230, 57, 70;
    --bs-secondary: #1d3557;
    --bs-secondary-rgb: 29, 53, 87;
    --bs-success: #28a745;
    --bs-success-rgb: 40, 167, 69;
    --bs-info: #17a2b8;
    --bs-info-rgb: 23, 162, 184;
    --bs-warning: #ffc107;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger: #dc3545;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light: #f8f9fa;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark: #343a40;
    --bs-dark-rgb: 52, 58, 64;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

a {
    text-decoration: none;
    color: var(--bs-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bs-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* Custom Components */
.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--bs-primary);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: #d32836;
    border-color: #c52733;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    max-width: 150px;
    margin-right: 15px;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.site-description {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
}

.menu-item {
    margin-left: 25px;
    position: relative;
}

.menu-item a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 5px 0;
    position: relative;
}

.menu-item a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e63946;
    transition: width 0.3s ease;
}

.menu-item a:hover:after,
.current-menu-item a:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero {
    background-color: #1d3557;
    color: #fff;
    padding: 100px 5%;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e63946;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #fff;
    color: #e63946;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Featured Products Section */
.featured-products {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #e63946;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-details {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-category {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

/* About Section */
.about-section {
    padding: 80px 5%;
    background-color: #f1faee;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.about-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #e63946;
    bottom: -10px;
    left: 0;
}

.about-description {
    margin-top: 25px;
    margin-bottom: 30px;
    color: #555;
}

/* Contact Section */
.contact-section {
    padding: 80px 5%;
    background-color: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 20px;
    color: #e63946;
    margin-right: 15px;
    min-width: 20px;
}

.contact-text {
    color: #555;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #e63946;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background-color: #1d3557;
    color: #fff;
    padding: 60px 5% 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #e63946;
    bottom: 0;
    left: 0;
}

.footer-menu {
    list-style: none;
}

.footer-menu-item {
    margin-bottom: 10px;
}

.footer-menu-item a {
    color: #a8dadc;
    transition: color 0.3s ease, padding 0.3s ease;
}

.footer-menu-item a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #a8dadc;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .site-branding {
        margin-bottom: 20px;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .menu.active {
        display: flex;
    }

    .menu-item {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image,
    .about-content {
        flex: none;
        width: 100%;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .contact-form-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}