--- Contact Form ---

.contact-form {
    max-width: 550px;
    margin: 4rem auto;
    padding: 3rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.1);
    border: 1px solid #e3f2fd;
}

.contact-form h2 {
    color: #007bff;
    margin-top: 0;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Style for all input fields */
input,
textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    background: #fcfdfe;
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    /* Smooth transition for focus */
}

/* Interactive Focus State: When the user clicks inside a box */
input:focus,
textarea:focus {
    outline: none;
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
    /* Slight lift effect */
}

/* Contact Page Wrapper */
.contact-wrapper {
    display: flex;
    gap: 50px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    flex: 1.5;
    min-width: 300px;
}

/* Info Items (Location, Phone, Email) */
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 1.5rem;
    background: #e3f2fd;
    padding: 10px;
    border-radius: 50%;
}

.info-item strong {
    display: block;
    color: #007bff;
    font-size: 1rem;
}

/* Form Styling */
.form-group {
    margin-bottom: 15px;
}

.pure-form label {
    margin-bottom: 5px;
}

* {
    box-sizing: border-box;
    transition: 0.3s;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: #0e9fff;
}

.btn-primary {
    background: linear-gradient(135deg, #308cf7 0%, #0135a7 100%);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    margin-top: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(19, 220, 255, 0.356);
}

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 5%;
    background: #fff;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 30px;
    border-radius: 15px;
    background: #f8fbff;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Product Grid */
.product-preview {
    padding: 50px 5%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.274);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.062);
}

.product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.15);
}

footer {
    background: #333;
    color: white;
    padding: 2rem;
    text-align: center;
}

footer span {
    color: #0e9fff;
}

/* Container for page content */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-title {
    background: linear-gradient(rgba(1, 72, 112, 0.719), rgba(255, 255, 255, 0)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 5%;
}

.page-title h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Product Card Design */
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.123);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #007bff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    /* Keeps bottle from looking squished */
    background: #fcfcfc;
    padding: 20px;
}

.product-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
}

.product-info h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

.product-specs li::before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
}

/* Button inside Product Card */
.order-btn {
    display: block;
    background: #007bff;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s;
}

.order-btn:hover {
    background: #0056b3;
}

/* About Page Specific Styles */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.text-block {
    flex: 1;
    min-width: 300px;
}

.text-block h2 {
    color: #007bff;
    font-size: 2rem;
}

.text-block p {
    font-size: 1.1rem;
    color: #555;
}

/* Timeline Design */
.process-section {
    padding: 60px 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #e3f2fd;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.step-number {
    position: absolute;
    left: -53px;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.step-text h3 {
    margin: 0 0 5px 0;
    color: #007bff;
}

.step-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Enhanced Send Message Button */
.send-btn[type="submit"] {
    background: linear-gradient(135deg, #007bff 0%, #004a99 100%);
    color: #ffffff;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    /* Makes it pill-shaped and modern */
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 74, 153, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Space for an icon */
}

/* Hover Effect: The button grows and the shadow deepens */
.send-btn[type="submit"]:hover {
    background: linear-gradient(135deg, #004a99 0%, #007bff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 74, 153, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004a99 0%, #007bff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 74, 153, 0.4);
}

/* Click Effect */
.send-btn[type="submit"]:active {
    transform: translateY(-1px);
}

/* Alert Box Styling */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    animation: slideDown 0.5s ease-out;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Smooth entrance animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home About Section */
.home-about {
    padding: 80px 10%;
    background-color: #f9f9f9;
    /* Light grey to separate from white sections */
}

.container-about {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #004a99;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #007bff;
    color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .container-about {
        flex-direction: column;
        text-align: center;
    }
}

/* Centered Home About Section */
.home-about {
    padding: 80px 20px;
    background-color: white;
    text-align: center;
    /* Centers all text and inline elements */
}

.about-content-centered {
    max-width: 800px;
    /* Limits width for better readability */
    margin: 0 auto;
    /* Centers the container itself */
}

.about-content-centered h2 {
    color: #004a99;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-content-centered p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-image-centered img {
    width: 100%;
    max-width: 600px;
    /* Prevents the image from being too huge */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #007bff;
    color: #007bff;
    text-decoration: none;
    border-radius: 50px;
    /* Pill shape looks better centered */
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
}


@keyframes slideIn {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

footer {
    background: linear-gradient(50deg, #093157 0%, #010c18 100%); /* Deep Water Navy */
    color: #ffffff;
    padding: 80px 0 30px;
    font-family: 'Poppins', sans-serif;
    border-top: 4px solid #007bff; /* Branding line at the top */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Aligns columns to the left */
    gap: 50px; /* Modern spacing between columns */
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column .logo span {
    color: #007bff;
    text-transform: uppercase;
    font-size: 1.8rem;
    vertical-align: middle;
}

.footer-column p {
    line-height: 1.6;
    color: #adbdcc;
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #adbdcc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #007bff;
    padding-left: 8px;
}

/* --- Creative Social Media Icons --- */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    align-items: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(44, 44, 44, 0.116); /* Glassy background */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px; /* Modern "Squircle" shape */
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.068);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Creative Hover: Color + Glow + Lift */
.social-icon:hover {
    transform: translateY(-8px) rotate(8deg);
    border-color: rgba(255, 255, 255, 0.5);
}

.social-icon.fb:hover { background: #3b5998; box-shadow: 0 10px 20px rgba(59, 89, 152, 0.5); }
.social-icon.ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 10px 20px rgba(204, 35, 102, 0.5); }
.social-icon.li:hover { background: #0077b5; box-shadow: 0 10px 20px rgba(0, 119, 181, 0.5); }
.social-icon.x:hover { background: #000; box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2); }

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
    padding-top: 30px;
    font-size: 1.0rem;
    color: #f6f8fa;
}

.footer-bottom span {
    color: #298cf7;
    font-weight: 600;
}

.footer-column h3 {
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-left: 15px;
    border-left: 3px solid #007bff;
    line-height: 1;
    margin-bottom: 25px;
    display: block;
}

/* Branding Logo */
.footer-column .logo {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -1px;
    margin-top: 0;
    line-height: 1.2;
    display: flex; /* Ensures the 'Pure' span stays vertically centered */
    align-items: center;
    padding-top: 2px; /* Small manual adjustment to match h3 height */
}

.hero {
    position: relative;
    height: 80vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

/* Container for the slides */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits behind content */
}

/* Individual Slide styling */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; /* Start invisible */
    animation: heroFade 12s infinite; /* 15s total for all images */
}

/* Dark overlay so text is readable */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust darkness here */
    z-index: 2;
}

/* Ensure content stays on top of the images */
.hero-content {
    position: relative;
    z-index: 3;
}

/* --- THE ANIMATION LOGIC --- */

/* Delay each slide so they appear one after another */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }

@keyframes heroFade {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; } /* Fade in quickly */
    33% { opacity: 1; } /* Stay visible */
    43% { opacity: 0; transform: scale(1.05); } /* Fade out and slight zoom */
    100% { opacity: 0; }
}

.designer-link {
    text-decoration: none; /* Removes the underline */
    display: inline-block;
}

.designer-name {
    color: #007bff; /* Himax Blue */
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

/* The Glow Effect on Hover */
.designer-link:hover .designer-name {
    color: #ffffff;
    text-shadow: 0 0 8px #007bff, 0 0 15px #007bff;
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Remove underline and color from the logo link */
header a {
    text-decoration: none;
    color: inherit;
    /* This makes the text keep its original colors */
    display: inline-block;
}

header a:hover {
    text-decoration: none;
    /* Ensures no underline appears on hover either */
    color: #0056b3;
}

header a:hover .logo {
    transform: scale(1.01);
    transition: transform 0.2s ease;
}

.main-logo {
    height: 65px; /* Adjust size as needed */
    width: auto;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.9s ease;
}

.nav-list a {
    color: #007bff;
    margin-left: 2rem;
    text-decoration: none;
}

.nav-list a:hover {
    text-decoration: none;
    /* Ensures no underline appears on hover either */
    color: #2481e4;
}


nav ul li a.active {
    color: #007bff;
    position: relative;
    font-weight: 700;
}

.nav-list {
    font-weight: 700;
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 17px;
}

/* Adding a modern "line" under the active link */
nav a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    /* Line is shorter than the text for a modern look */
    height: 3px;
    background-color: #007bff;
    bottom: -5px;
    left: 0%;
    border-radius: 10px;
    animation: slideIn 0.9s ease-out forwards;
}

.logo {
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
}

.logo span {
    color: #007bff;
    margin-left: 5px;
}

/* --- Responsive Media Queries --- */
@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column; /* Moves Nav below Logo */
        justify-content: center;
        text-align: center;
        gap: 15px; /* Space between logo and links */
    }

    .nav-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-list li a {
        font-size: 0.9rem; /* Slightly smaller text for mobile */
    }

    .main-logo {
        height: 55px; /* Slightly smaller logo on mobile to save space */
    }

    .hero h1 { font-size: 2.5rem; }

    .about-content-centered h2 { font-size: 2rem; }
}
