/* ===============================
   GLOBAL RESET & BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', Helvetica, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== MOBILE DEFAULT ===== */
.menu {
    display: none;
}

.menu.active {
    display: block;
}

.menu ul {
    flex-direction: column;
    height: auto;
}

.menu ul li {
    width: 100%;
}

/* SUBMENU FIX SA MOBILE */
.menu ul li ul {
    position: static;
    box-shadow: none;
}

/* HAMBURGER STYLE */
.menu-toggle {
    font-size: 26px;
    padding: 10px;
    cursor: pointer;
    display: block;
}

/* ===== DESKTOP VIEW ===== */
@media (min-width: 768px) {

    .menu {
        display: block !important;
    }

    .menu ul {
        display: flex;
        flex-direction: row;
        height: 40px;
    }

    .menu ul li ul {
        position: absolute;
    }

    .menu-toggle {
        display: none;
    }
}

/* ===============================
   HEADER & LOGO
================================ */
header {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo img {
    max-width: 100px;
    height: auto;
}

/* ===============================
   NAVIGATION / MENU
================================ */
nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    padding: 8px 12px;
    display: block;
    transition: background 0.3s;
}

nav ul li a:hover {
    background-color: #4CAF50;
    color: #fff;
}

/* ===============================
   DROPDOWN
================================ */
nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    display: flex;
    flex-direction: column;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;

    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

nav ul li:hover ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

/* ===============================
   HERO
================================ */
.hero {
    width: 100%;
    height: 500px;

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #fff;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
}


/* ===============================
   HERO RESPONSIVE
================================ */
@media (max-width: 768px) {
    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 220px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.8rem;
    }
}

/* ===============================
   WRITEUP
================================ */
.dyowel {
    max-width: 90%;
    margin: 20px auto;
    padding: 0 30px;
    background-color: #fff;
}

/* ===============================
   CATEGORY TITLE
================================ */
.category-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.category-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ===============================
   PRODUCT GRID (FIXED)
================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-info .description {
    text-align: left !important;
    line-height: 1.7;
    margin-top: 10px;
}

/* ===============================
   PRODUCT CARD
================================ */
.product-card {
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    height: 100%; /* 🔥 important */
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 3px;
}

.product-info {
    padding: 10px;
}

.product-info h3 {
    font-size: 16px;
}

.product-details {
    text-align: left;
}

/* ===============================
   FOOTER
================================ */
.footer {
    background: #1e1e1e;
    color: #ccc;
    padding: 40px 60px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    color: #fff;
}

.footer-form button {
    width: 150px;
    padding: 10px;
    border: none;
    background-color: #27ae60;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.footer-form button:hover {
    background-color: #219150;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #2a2a2a;
    color: #fff;
}

/* ===============================
   PRODUCT VIEW
================================ */
.product-view {
    display: flex;
    gap: 30px;
    margin: 30px;
}

.product-images,
.product-details {
    flex: 1;
}

/* ===============================
   CTA
================================ */

.cta-text {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.cta-button {
    display: block;
    background-color: #27ae60;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
	width: fit-content;
    margin: 0 auto;
}



.cta-button:hover {
    background-color: #219150;
    transform: translateY(-2px);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

.product-details .product-info {
    text-align: left !important;
}

.quote-container{
    max-width: 700px;
    margin: 60px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

form input, form select, form button {
    padding: 6px;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
}

form button {
    width: auto;
    padding: 8px 15px;
    cursor: pointer;
}