:root {
    --primary-color: #E3A92B;     /* Honey gold */
    --secondary-color: #704214;   /* Dark wood brown */
    --accent-color: #F7D794;      /* Light honey */
    --background-color: #FFF9E9;  /* Cream */
    --text-color: #2C1810;        /* Deep brown */
    --light-text: #8B6B4A;        /* Soft brown */
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--secondary-color);
}

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

/* Navigation */
nav {
    background-color: var(--background-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/medprof.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: -80px;
}

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

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

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

/* About Section */
.about {
    padding: 100px 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-size: 1.1rem;
}

.about-intro {
    background-color: var(--background-color);
    padding: 100px 20px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.about-intro .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.about-intro p {
    font-size: 1.25rem;
    line-height: 2;
    margin-bottom: 2rem;
    color: #333;
    text-align: justify;
    padding: 0 20px;
    position: relative;
}

.about-intro p:first-of-type::first-letter {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-color);
    float: left;
    line-height: 1;
    padding-right: 12px;
    margin-top: 8px;
}

.signature {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 4rem;
    text-align: center;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 60px;
}

.signature::before,
.signature::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
}

.signature::before {
    right: 100%;
}

.signature::after {
    left: 100%;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: white;
}

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

.product-card {
    background: var(--background-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-info p {
    color: var(--light-text);
    font-size: 0.95rem;
}

.product-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.product-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1.1rem;
    color: var(--text-color);
}

.product-list li::before {
    content: "🍯";
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .product-list li {
        text-align: justify;
        font-size: 0.95rem;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-text p {
    color: var(--light-text);
}

.map-container {
    width: 100%;
    height: 450px;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.map-error {
    padding: 2rem;
    text-align: center;
    background-color: var(--background-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    margin: 1rem 0;
}

.map-error a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .map-container {
        height: 350px;
        margin: 1.5rem 0;
    }
}

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

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

.footer-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.footer-links h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

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

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

/* Read More Button */
.read-more-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Modern About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/medprof.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    color: white;
    padding: 150px 0 100px;
    margin-bottom: 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: white;
}

.about-page {
    background-color: #fff;
    padding: 0;
}

.about-content-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section {
    padding: 80px 20px;
    position: relative;
}

.about-section:nth-child(even) {
    background-color: var(--background-color);
}

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

.about-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
}

.products-section {
    padding: 80px 20px;
    background-color: white;
}

.products-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 2rem auto 0;
}

.products-list li {
    font-size: 1.2rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3rem;
    background-color: var(--background-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.products-list li::before {
    content: '\f6f6';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.products-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.products-list li:hover::before {
    color: var(--secondary-color);
    transform: translateY(-50%) rotate(360deg);
}

@media (max-width: 768px) {
    .hero-text p, 
    .about-text p,
    .product-description,
    .contact-info p,
    .footer-text p {
        text-align: justify;
        font-size: 0.95rem;
    }

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

    .product-card p {
        text-align: justify;
        font-size: 0.95rem;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-intro {
        padding: 60px 15px;
    }
    
    .about-intro p {
        font-size: 1.1rem;
        line-height: 1.8;
        padding: 0 10px;
    }
    
    .about-intro p:first-of-type::first-letter {
        font-size: 2.8rem;
        padding-right: 8px;
        margin-top: 6px;
    }
    
    .signature {
        font-size: 1.3rem;
        margin-top: 3rem;
        padding: 0 40px;
    }
    
    .signature::before,
    .signature::after {
        width: 30px;
    }
    
    .signature::before {
        right: 100%;
    }
    
    .signature::after {
        left: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about {
        padding: 60px 0;
    }

    .about-text h2 {
        font-size: 2rem;
    }

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

    .about-page {
        padding: 100px 20px 40px;
    }

    .about-content-full h1 {
        font-size: 2rem;
    }

    .about-intro p {
        font-size: 1.1rem;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }
}

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

.fade-in {
    animation: fadeIn 1s ease-out;
}
