/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e91e63;
    --secondary-color: #f06292;
    --accent-color: #ff4081;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image:
        linear-gradient(135deg, rgba(233, 30, 99, 0.9) 0%, rgba(240, 98, 146, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="flower-pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="600" fill="url(%23flower-pattern)"/></svg>');
    padding: 120px 20px;
    text-align: center;
    color: var(--white);
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Flowers Section */
.flowers-section {
    padding: 80px 20px;
    background-color: #fafafa;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

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

.flower-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.flower-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.flower-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rose-bg {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.lily-bg {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.tulip-bg {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}

.orchid-bg {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

.sunflower-bg {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.mixed-bg {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

.carnation-bg {
    background: linear-gradient(135deg, #fab1a0 0%, #ff7675 100%);
}

.gerbera-bg {
    background: linear-gradient(135deg, #ff9ff3 0%, #feca57 100%);
}

.peony-bg {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.flower-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.flower-info h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.flower-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.flower-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--light-color);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.buy-button {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.buy-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 20px 30px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.email-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--accent-color);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .flowers-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.flower-card {
    animation: fadeIn 0.6s ease-out;
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Blog Post Styles */
.blog-post {
    background-color: var(--white);
    min-height: 100vh;
}

.post-header {
    text-align: center;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.post-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.post-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.post-content h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.post-content strong {
    color: var(--dark-color);
    font-weight: 600;
}

.post-content em {
    color: var(--text-light);
    font-style: italic;
}

/* Blog Post Call-to-Action Box */
.cta-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 3rem 0;
}

.cta-box h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1rem;
}

.cta-box .buy-button {
    margin-top: 1rem;
}

/* Blog Post Back Link */
.post-back-link {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-color);
}

.post-back-link a {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.post-back-link a::before {
    content: "←";
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.post-back-link a:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

/* Responsive Blog Posts */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 1.8rem;
    }

    .post-content h2 {
        font-size: 1.6rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }

    .post-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-post .container {
        padding: 40px 15px !important;
    }

    .post-header h1 {
        font-size: 1.5rem;
    }

    .post-content h2 {
        font-size: 1.4rem;
    }

    .post-content h3 {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .flower-card {
        page-break-inside: avoid;
    }

    .post-content h2 {
        page-break-after: avoid;
    }
}
