/*
Theme Name: Astra Child
Template: astra
*/


/* Child Theme CSS */

/* =========================
   Astra Child Theme CSS
   Fully Custom Front Page
   ========================= */

/* --- Global Styles --- */

/* Force body and main container to stack vertically */
body, #page, #content, .ast-container {
    display: block !important;  /* remove any flex */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Force footer to appear below everything */
.site-footer {
    clear: both;
    display: block !important;
    width: 100%;
}

.hero,
.collections,
.rental-process,
.contact {
    display: block !important;
    width: 100%;
    clear: both;
}

.collection-grid {
    display: flex;          /* Horizontal layout of items only */
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.process-steps {
    display: flex;          /* Horizontal layout of steps only */
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #fff;
    color: #333;
}

a {
    text-decoration: none;
}

h1, h2, h3 {
    margin: 0;
}

/* --- Hero Section --- */
.hero {
    background: #f8f8f8;
    text-align: center;
    padding: 100px 20px;
    display: block;
    width: 100%;
}

.hero h1 {
    font-size: 48px;
    color: #b76e79;  /* Bridal rose-gold tone */
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .btn {
    background: #b76e79;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
}

.hero .btn:hover {
    background: #9c5c66;
}

/* --- Collections Section --- */
.collections {
    padding: 80px 20px;
    text-align: center;
    display: block;
    width: 100%;
}

.collections h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #b76e79;
}

.collection-grid {
    display: flex;         
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.collection-item {
    text-align: center;
    width: 250px;
    text-decoration: none;
    color: inherit;
    display: block;
}


.collection-item:hover img {
    transform: scale(1.05);
}

.collection-item p {
    font-size: 16px;
    color: #555;
}

.collection-item img {
    width: 250px;
    height: 250px;        /* same height for all */
    object-fit: cover;    /* crop instead of stretch */
    display: block;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}


/* --- Rental Process Section --- */
.rental-process {
    background: #fdf4f6;
    padding: 80px 20px;
    text-align: center;
    display: block;
    width: 100%;
}

.rental-process h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #b76e79;
}

.process-steps {
    display: flex;        /* Horizontal layout for steps */
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;      /* Wrap on mobile */
}

.process-steps .step {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.process-steps .step h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #b76e79;
}

.process-steps .step p {
    font-size: 16px;
    color: #555;
}

/* --- Contact Section --- */
.contact {
    padding: 80px 20px;
    text-align: center;
    display: block;
    width: 100%;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #b76e79;
}

.contact p {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact .btn {
    background: #b76e79;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
}

.contact .btn:hover {
    background: #9c5c66;
}

/* --- Responsive --- */
@media(max-width: 1024px) {
    .collection-grid, .process-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media(max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .collection-item, .process-steps .step {
        max-width: 90%;
        margin-bottom: 20px;
    }
}

/* =========================
   Footer Styles
   ========================= */

.site-footer {
    background: #b76e79; /* Rose-gold tone */
    color: #fff;
    padding: 50px 20px 20px 20px;
    font-family: 'Arial', sans-serif;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-top {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-about {
    flex: 1 1 300px;
}

.footer-links {
    flex: 1 1 200px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact {
    flex: 1 1 250px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 15px;
    font-size: 14px;
}

/* Responsive Footer */
@media(max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-about, .footer-links, .footer-contact {
        flex: unset;
        max-width: 100%;
    }
}

/* =========================
   Header & Navigation
   ========================= */
.site-header {
    background: #b76e79;  /* Rose-gold */
    padding: 15px 20px;
    position: sticky;      /* Stays on top */
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    max-height: 60px;
}

.main-nav .nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-menu li a {
    color: #fff;
    font-weight: bold;
    padding: 8px 12px;
}

.main-nav .nav-menu li a:hover {
    background: #9c5c66;
    border-radius: 5px;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        background: #b76e79;
        width: 100%;
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        cursor: pointer;
        font-size: 28px;
        color: #fff;
    }
}

/* Mobile Nav Fix */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav {
        display: none;            /* Hide menu by default */
        flex-direction: column;   /* Stack links vertically */
        width: 100%;
        background: #b76e79;
        position: absolute;
        top: 70px;                /* below header */
        left: 0;
        padding: 10px 0;
        z-index: 999;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav .nav-menu {
        flex-direction: column;   /* Stack menu items */
        gap: 0;                   /* Remove horizontal gap */
        width: 100%;
    }

    .main-nav .nav-menu li {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .main-nav .nav-menu li a {
        display: block;
        padding: 12px 0;
    }

    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 28px;
        color: #fff;
    }
}

/* Hide mobile toggle on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* === Mobile Nav Stack === */
@media (max-width: 768px) {
    /* Container stays flex row for logo + toggle */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Hide nav by default */
    .main-nav {
        display: none;            /* hidden initially */
        flex-direction: column;   /* vertical stack */
        width: 100%;
        position: absolute;
        top: 70px;                /* below header */
        left: 0;
        background: #b76e79;
        z-index: 999;
    }

    /* Show nav when active */
    .main-nav.active {
        display: flex;
    }

    /* Menu items vertical */
    .main-nav .nav-menu {
        display: flex !important;   /* ensure flex applies */
        flex-direction: column !important;
        gap: 0 !important;          /* remove horizontal gap */
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .main-nav .nav-menu li {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .main-nav .nav-menu li a {
        display: block;
        padding: 12px 0;
    }

    /* Show mobile toggle button */
    .mobile-menu-toggle {
        display: block;
        font-size: 28px;
        color: #fff;
        cursor: pointer;
    }
}

/* Hide mobile toggle on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.enquiry-btn {
    display: inline-block;
    background: #b76e79;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
}

/* Force hide Add to Cart buttons everywhere */
.add_to_cart_button,
.single_add_to_cart_button {
    display: none !important;
}

.custom-breadcrumb {
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #999;
	margin: 20px 0 25px 0;  
    padding: 0 20px;         
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.custom-breadcrumb a {
    color: #b76e79;
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    text-decoration: underline;
}

/* Main container spacing */
.woocommerce.archive {
    padding: 40px 20px;
}

/* Center content nicely */
.woocommerce .products {
    max-width: 1200px;
    margin: 0 auto;
}

/* Product grid spacing */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Each product card */
.woocommerce ul.products li.product {
    width: 250px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover lift */
.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Product images uniform */
.woocommerce ul.products li.product img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

/* Category title section */
.woocommerce-products-header {
    background: #f8f8f8;   /* light clean background */
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

/* Category title */
.woocommerce-products-header h1 {
    font-size: 32px;
    color: #b76e79;   /* your brand color */
    margin-bottom: 10px;
}

/* Hide result count */
.woocommerce-result-count {
    display: none;
}

/* Container */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Each product card */
.woocommerce ul.products li.product {
    width: 250px !important;   /* FIXED width */
    max-width: 250px;
    flex: 0 0 250px;           /* prevent stretching */
    text-align: center;
}

/* Fix image size */
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

#page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


