/* 
* Premium Denim Collection Website
* Main Stylesheet
* SEO Optimized and Mobile Responsive Design
*/

/* ---------- Base Styles ---------- */
:root {
    --primary-color: #3a5795;
    --secondary-color: #754321;
    --accent-color: #f0f3f8;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #222222;
    --background: #ffffff;
    --section-bg: #f9f9f9;
    --footer-bg: #2a3f6a;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

section {
    padding: 5rem 0;
}

/* ---------- Header & Navigation ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 150px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ---------- Hero Section ---------- */
.hero {
    height: 100vh;
    background-image: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="800" viewBox="0 0 1200 800"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%233a5795" stop-opacity="0.7"/><stop offset="100%" stop-color="%23754321" stop-opacity="0.5"/></linearGradient></defs><rect width="1200" height="800" fill="url(%23grad)"/><path d="M0,400 C300,300 600,500 1200,300 L1200,800 L0,800 Z" fill="%232a3f6a" opacity="0.3"/><path d="M0,500 C300,400 600,600 1200,400 L1200,800 L0,800 Z" fill="%23754321" opacity="0.2"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ---------- Collection Section ---------- */
.collection {
    background-color: var(--section-bg);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.collection-item {
    background-color: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.collection-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.item-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.collection-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.collection-item p {
    color: var(--text-color);
}

/* ---------- About Section ---------- */
.about {
    background-color: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.feature {
    text-align: center;
}

.feature svg {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* ---------- Entertainment Section ---------- */
.entertainment {
    background-color: var(--section-bg);
}

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

.entertainment-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.entertainment-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.entertainment-links li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.entertainment-links li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.entertainment-links a {
    display: block;
    transition: var(--transition);
    color: var(--text-color);
}

.entertainment-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ---------- Contact Section ---------- */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.info-item svg {
    width: 30px;
    height: 30px;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--footer-bg);
    color: var(--light-text);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo .small {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #ccc;
}

.footer-column a:hover {
    color: var(--light-text);
}

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

/* ---------- Responsive Design ---------- */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--background);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .entertainment-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* ---------- Animation ---------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .collection-item, .about-text, .feature, .contact-form, .info-item {
    animation: fadeIn 0.8s ease-out forwards;
}
