/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: #ffffff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #2c3e50;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/seashore-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(3px);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
}

/* Featured Products */
.featured-products {
    padding: 5rem 5%;
    text-align: center;
}

.featured-products h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        padding: 1rem;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2196F3; /* Matching the logo's blue color */
    margin-left: 10px;
}

@media (max-width: 768px) {
    .company-name {
        font-size: 1.2rem;
    }
}

.logo-img {
    height: 50px;
    width: 50px;
    margin-right: 15px;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        width: 40px;
    }
}

/* About Page Styles */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-info {
    padding: 5rem 5%;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission, .vision {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.mission h2, .vision h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.why-choose-us {
    text-align: center;
}

.why-choose-us h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero {
        height: 40vh;
    }

    .about-content h1 {
        font-size: 2rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }
}

/* Products Page Styles */
.products-page {
    margin-top: 60px;
}

.products-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/products-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.products-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.products-grid {
    padding: 4rem 5%;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 4rem;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.product-image {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 2rem;
}

.product-details h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-details ul {
    list-style: none;
    margin: 1rem 0;
}

.product-details ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-details ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* Responsive Design for Products Page */
@media (max-width: 768px) {
    .product-item {
        grid-template-columns: 1fr;
    }

    .product-image {
        min-height: 200px;
    }
}

/* Blog Page Styles */
.blog-page {
    margin-top: 60px;
}

.blog-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/blog-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-grid {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
}

/* Blog image adjustments */
.blog-post:first-child .blog-image {
    height: 300px;
}

.blog-post:first-child .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
}

/* Second blog post image adjustments */
.blog-post:nth-child(2) .blog-image {
    height: 300px;
}

.blog-post:nth-child(2) .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
}

/* Third blog post image adjustments */
.blog-post:nth-child(3) .blog-image {
    height: 300px;
}

.blog-post:nth-child(3) .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
}
.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.blog-content h2 {
    margin: 0.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.read-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: bold;
}

.read-more:hover {
    color: #2980b9;
}

/* Contact Page Styles */
.contact-page {
    margin-top: 60px;
}

.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-content {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin: 2rem 0;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.info-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #2980b9;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Add after the existing product-image styles */
.product-item:nth-child(2) .product-image {
    height: auto;
    min-height: 400px; /* Adjust this value as needed */
}

.product-item:nth-child(2) .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This will show the full image without cropping */
}

/* Responsive Footer Buttons */
.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid white;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-buttons {
        align-items: center;
    }

    .footer-btn {
        width: 80%;
    }
}