/*
Theme Name: Oceano Sales Premium WordPress Theme
Theme URI: https://oceanosales.com/theme
Author: Oceano Sales Developer
Author URI: https://oceanosales.com
Description: Premium, fully-editable custom theme for Oceano Sales LLP, Kannur - Authorized Kerovit by Kajaria Dealer. Optimised for local SEO, core web vitals, and Gutenberg flexible sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oceanosales
Tags: custom-background, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready

Designed with #0B1826 (Primary Navy) and #C9A24E (Gold Accent).
*/

/* Base layout settings matching responsive core values */
body {
    font-family: 'Inter', sans-serif;
    color: #1A1A1A;
    background-color: #F7F5F0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Accessible visible focus states */
a:focus, button:focus, input:focus {
    outline: 3px solid #C9A24E;
    outline-offset: 2px;
}

/* Base structural styles to guarantee correct Gutenberg and layout spacing */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

/* 1. Hero Banner styling with elegant CSS gradients and overlays */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.brand-badge {
    background-color: #C9A24E;
    color: #0B1826;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-text-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0 0 1.5rem 0;
}

@media (min-width: 768px) {
    .hero-text-content h1 {
        font-size: 3.5rem;
    }
}

.hero-text-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2rem 0;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Bespoke visual button components */
.btn-primary {
    background-color: #C9A24E;
    color: #0B1826 !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    border: 2px solid #C9A24E;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #b08d41;
    border-color: #b08d41;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 162, 78, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.zoom-hover-asset {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-hover-asset:hover {
    transform: scale(1.03);
}

/* 2. Unique Selling Proposition Cards Section */
.usp-cards-section {
    padding: 4rem 0;
    background-color: #F7F5F0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.usp-card {
    background-color: #FFFFFF;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(11,24,38,0.04);
    border: 1px solid rgba(11,24,38,0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.usp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(11,24,38,0.08);
    border-color: rgba(201,162,78,0.25);
}

.usp-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #0B1826;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.usp-card p {
    color: #4A5568;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

/* 3. Featured Products highlights */
.featured-products {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.featured-products h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #0B1826;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 3.5rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #C9A24E;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-post-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.06);
    border-color: rgba(201,162,78,0.2);
}

.product-post-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background-color: #FAF9F6;
    border-bottom: 1px solid #F1F5F9;
    padding: 1.5rem;
}

.product-post-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #0B1826;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.5rem 1.5rem 0.75rem 1.5rem;
}

.product-post-card p {
    color: #64748B;
    font-size: 0.85rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.view-details {
    display: block;
    background-color: #0B1826;
    color: #FFFFFF !important;
    text-align: center;
    padding: 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background-color 0.3s;
}

.product-post-card:hover .view-details {
    background-color: #C9A24E;
    color: #0B1826 !important;
}

/* 4. Testimonials Block */
.testimonials-slider {
    padding: 6rem 0;
    background-color: #0B1826;
    color: #FFFFFF;
}

.testimonials-slider h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 3.5rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.testimonials-slider h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #C9A24E;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.review-card .comment {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.review-card .author {
    color: #C9A24E;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 5. Single Product Custom Detail Styles */
.product-breadcrumbs {
    font-size: 0.75rem;
    color: #718096;
}

.product-breadcrumbs a {
    color: #0B1826;
    text-decoration: none;
    transition: color 0.3s;
}

.product-breadcrumbs a:hover {
    color: #C9A24E;
}

.single-product-container {
    background-color: #FFFFFF;
}

.product-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

@media (min-width: 768px) {
    .product-layout-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.product-gallery-view {
    display: flex;
    justify-content: center;
    background-color: #F7F5F0;
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid #E2E8F0;
}

.main-product-img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-details-view .tag {
    display: inline-block;
    background-color: rgba(201, 162, 78, 0.12);
    color: #0B1826;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.2rem;
}

.product-details-view h1 {
    font-family: 'Space Grotesk', sans-serif;
    color: #0B1826;
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.price-badge {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #C9A24E;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
}

.short-desc {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.finish-options h4 {
    font-size: 0.8rem;
    color: #0B1826;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.finishes-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.finish-tag {
    background-color: #F7F5F0;
    color: #333333;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    border: 1px solid #E2E8F0;
}

.cta-actions-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF !important;
    border: 2px solid #25D366;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1ebd54;
    border-color: #1ebd54;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.btn-download {
    background-color: #0B1826;
    color: #FFFFFF !important;
    border: 2px solid #0B1826;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-download:hover {
    background-color: #13253a;
    border-color: #13253a;
    transform: translateY(-2px);
}

.product-full-specs h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #0B1826;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid #F7F5F0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #EDF2F7;
    font-size: 0.875rem;
}

.specs-table th {
    font-weight: 700;
    color: #0B1826;
    width: 30%;
}

.specs-table td {
    color: #4A5568;
}

.specs-table tr:nth-child(even) {
    background-color: #FAF9F6;
}

/* Reduced motion preference hooks */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}