/*
Theme Name: FashionStore
Theme URI: https://example.com/fashionstore
Author: AI Assistant
Author URI: https://example.com
Description: A modern one‑page WordPress theme designed for fashion stores with a clean, pastel aesthetic.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fashionstore
*/

/* Import Google font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/*
 * Basic reset and typography
 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #5a5a5a;
    background-color: #fffaf5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/*
 * Navigation bar
 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    background-color: rgba(255, 250, 245, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar .logo {
    font-weight: 700;
    font-size: 24px;
    color: #d9896d;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links li a {
    font-weight: 500;
    color: #5a5a5a;
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: #d9896d;
}

/*
 * Hero section
 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    background-color: #f7efe8;
    flex-wrap: wrap;
    gap: 30px;
}

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

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #333;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

.hero img {
    flex: 1 1 400px;
    border-radius: 10px;
}

/*
 * Collection section
 */
.collection {
    padding: 60px 40px;
    background-color: #fffaf5;
}

.collection h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #f7efe8;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card h3 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #333;
}

.product-card p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
}

.product-card .price {
    font-weight: 600;
    color: #d9896d;
}

/*
 * Blog section
 */
.blog {
    padding: 60px 40px;
    background-color: #f7efe8;
}

.blog h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post {
    background-color: #fffaf5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.post:hover {
    transform: translateY(-4px);
}

.post h3 {
    font-size: 22px;
    margin: 15px;
    color: #333;
}

.post p {
    font-size: 14px;
    margin: 0 15px 15px;
    color: #666;
}

.post .read-more {
    display: block;
    margin: 0 15px 20px;
    color: #d9896d;
    font-weight: 600;
    transition: color 0.2s ease;
}

.post .read-more:hover {
    text-decoration: underline;
    color: #c3755a;
}

/*
 * Contact section
 */
.contact {
    padding: 60px 40px;
    background-color: #fffaf5;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.contact p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 15px;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    resize: vertical;
}

.contact textarea {
    min-height: 120px;
}

.contact button {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    background-color: #d9896d;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact button:hover {
    background-color: #c3755a;
}

/*
 * Footer
 */
footer {
    padding: 20px;
    text-align: center;
    background-color: #f7efe8;
    font-size: 14px;
    color: #666;
}