/*
 * Shamonj Gifts - Modern Brand Styling
 * Brand Colors: Main Blue/Teal #6CB4D4, White #FFFFFF, Darker Blue #5A9FC2
 */

:root {
    --brand-teal: #6CB4D4;
    --brand-blue: #5A9FC2;
    --brand-white: #FFFFFF;
    --brand-teal-light: rgba(108, 180, 212, 0.1);
    --brand-teal-hover: rgba(108, 180, 212, 0.9);
}

/* ========================================
   SMOOTH TRANSITIONS & ANIMATIONS
======================================== */

* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ========================================
   BUTTONS & CALL-TO-ACTION
======================================== */

/* Primary Buttons */
.elementor-button,
.wp-block-button__link,
a.button,
button[type="submit"],
input[type="submit"],
.woocommerce-Button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-blue) 100%) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 15px 35px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(108, 180, 212, 0.15) !important;
    position: relative;
    overflow: hidden;
}

.elementor-button:before,
.wp-block-button__link:before,
a.button:before,
button[type="submit"]:before,
input[type="submit"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.elementor-button:hover,
.wp-block-button__link:hover,
a.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 12px rgba(108, 180, 212, 0.2) !important;
}

.elementor-button:hover:before,
.wp-block-button__link:hover:before,
a.button:hover:before,
button[type="submit"]:hover:before,
input[type="submit"]:hover:before {
    left: 100%;
}

/* Secondary/Outline Buttons */
.elementor-button.elementor-button-link,
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    border: 2px solid var(--brand-teal) !important;
    color: var(--brand-teal) !important;
}

.elementor-button.elementor-button-link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--brand-teal) !important;
    color: white !important;
}

/* ========================================
   LINKS & HOVER EFFECTS
======================================== */

a:not(.elementor-button):not(.button) {
    color: var(--brand-teal);
    text-decoration: none;
    position: relative;
}

a:not(.elementor-button):not(.button):hover {
    color: var(--brand-blue);
}

a:not(.elementor-button):not(.button):after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-teal);
    transition: width 0.3s ease;
}

a:not(.elementor-button):not(.button):hover:after {
    width: 100%;
}

/* ========================================
   FORMS & INPUTS
======================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select,
.wpcf7-form-control:not(.wpcf7-submit) {
    border: 2px solid #e0e0e0 !important;
    border-radius: 20px !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

input:focus,
textarea:focus,
select:focus,
.wpcf7-form-control:focus {
    border-color: var(--brand-teal) !important;
    box-shadow: 0 0 0 3px var(--brand-teal-light) !important;
    outline: none !important;
}

/* Elementor Search Form */
.elementor-search-form__container {
    border-radius: 25px !important;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.elementor-search-form__container:focus-within {
    border-color: var(--brand-teal) !important;
    box-shadow: 0 0 0 3px var(--brand-teal-light) !important;
}

.elementor-search-form__input {
    border: none !important;
    border-radius: 25px 0 0 25px !important;
    padding: 12px 20px !important;
}

.elementor-search-form__submit {
    border: none !important;
    background: var(--brand-teal) !important;
    border-radius: 0 25px 25px 0 !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

.elementor-search-form__submit:hover {
    background: var(--brand-blue) !important;
}

.elementor-search-form__submit svg {
    fill: white !important;
}

/* Form Labels */
label {
    color: var(--brand-blue);
    font-weight: 600;
}

/* ========================================
   HEADERS & HEADINGS
======================================== */

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    color: var(--brand-blue);
    position: relative;
}

/* Animated underline for main headings */
h1:after, h2:after,
.elementor-heading-title.elementor-size-default:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue));
    border-radius: 2px;
}

/* ========================================
   CARDS & SECTIONS
======================================== */

.elementor-widget-container,
.woocommerce-product-details__short-description,
.product {
    animation: fadeInUp 0.6s ease-out;
}

/* Card hover effects */
.elementor-column:hover,
.product:hover,
article:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(108, 180, 212, 0.12);
}

/* Add subtle background accent to sections */
.elementor-section.elementor-section-boxed > .elementor-container {
    border-radius: 25px;
}

/* Alternate section backgrounds */
.elementor-section:nth-child(even) {
    position: relative;
}

.elementor-section:nth-child(even):before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--brand-teal-light) 0%, transparent 100%);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   ICONS & IMAGES
======================================== */

/* Icon hover effects */
i, .elementor-icon,
.fa, .fas, .far, .fab {
    color: var(--brand-teal);
    transition: all 0.3s ease;
}

i:hover, .elementor-icon:hover {
    color: var(--brand-blue);
    transform: scale(1.1) rotate(5deg);
}

/* Image hover effects */
img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Image containers */
.elementor-widget-image:hover img,
.wp-block-image img:hover {
    box-shadow: 0 5px 20px rgba(108, 180, 212, 0.15);
    border-radius: 20px;
}

/* ========================================
   NAVIGATION & MENU
======================================== */

/* Main Navigation */
.site-header,
#masthead {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    background: var(--brand-white) !important;
}

.main-navigation a,
.site-navigation a,
nav a {
    color: var(--brand-blue);
    font-weight: 500;
    position: relative;
}

.main-navigation a:hover,
.site-navigation a:hover {
    color: var(--brand-teal);
}

.main-navigation a:after,
.site-navigation a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand-teal);
    transition: width 0.3s ease;
}

.main-navigation a:hover:after,
.site-navigation a:hover:after,
.main-navigation .current-menu-item a:after {
    width: 80%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    color: var(--brand-teal) !important;
}

/* ========================================
   WOOCOMMERCE ENHANCEMENTS
======================================== */

/* Product Cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    border: 1px solid #f0f0f0;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--brand-teal);
    box-shadow: 0 4px 15px rgba(108, 180, 212, 0.12);
}

/* Price */
.woocommerce .price,
.woocommerce-Price-amount {
    color: var(--brand-teal) !important;
    font-weight: 700;
}

/* Remove strikethrough from sale prices */
.woocommerce .price del,
.woocommerce del .woocommerce-Price-amount,
del .woocommerce-Price-amount {
    display: none !important;
}

/* Show only the sale price */
.woocommerce .price ins,
.woocommerce ins .woocommerce-Price-amount {
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Add to Cart */
.woocommerce a.added_to_cart {
    background: var(--brand-teal) !important;
    color: white !important;
    border-radius: 30px;
    padding: 8px 20px;
}

/* Product Badges */
.woocommerce span.onsale {
    background: var(--brand-teal) !important;
    border-radius: 50px;
    animation: pulse 2s infinite;
}

/* Star Ratings */
.woocommerce .star-rating span:before {
    color: var(--brand-teal);
}

/* ========================================
   CONTACT FORMS
======================================== */

.wpcf7-form {
    max-width: 100%;
}

.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-response-output {
    border-color: var(--brand-teal) !important;
    border-radius: 10px;
    padding: 15px 20px;
}

.wpcf7-mail-sent-ok {
    background: var(--brand-teal-light);
    color: var(--brand-blue);
}

/* ========================================
   SCROLL EFFECTS
======================================== */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-teal);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

/* ========================================
   FOOTER
======================================== */

.site-footer,
footer {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-teal) 100%);
    color: white;
}

.site-footer a,
footer a {
    color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover,
footer a:hover {
    color: white;
}

/* ========================================
   BADGES & TAGS
======================================== */

.tag, .badge,
.woocommerce .product_meta .tagged_as a {
    background: var(--brand-teal-light);
    color: var(--brand-blue);
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin: 3px;
    transition: all 0.3s ease;
}

.tag:hover, .badge:hover {
    background: var(--brand-teal);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   LOADING & TRANSITIONS
======================================== */

/* Loading spinner */
.elementor-loading:after,
.woocommerce .blockUI.blockOverlay:before {
    border-color: var(--brand-teal) transparent var(--brand-teal) transparent;
}

/* Page transitions */
body {
    animation: fadeInUp 0.5s ease-out;
}

/* ========================================
   TOOLTIPS & POPOVERS
======================================== */

.tooltip,
[data-tooltip]:hover:after {
    background: var(--brand-blue);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
}

/* ========================================
   SOCIAL MEDIA ICONS
======================================== */

.social-icons a,
.elementor-social-icon {
    background: var(--brand-teal) !important;
    color: white !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover,
.elementor-social-icon:hover {
    background: var(--brand-blue) !important;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(108, 180, 212, 0.4);
}

/* ========================================
   BREADCRUMBS
======================================== */

.breadcrumbs,
.woocommerce-breadcrumb {
    color: var(--brand-blue);
}

.breadcrumbs a,
.woocommerce-breadcrumb a {
    color: var(--brand-teal);
}

/* ========================================
   TABLES
======================================== */

table th {
    background: var(--brand-teal-light);
    color: var(--brand-blue);
    font-weight: 600;
}

table tr:hover {
    background: var(--brand-teal-light);
}

/* ========================================
   BLOCKQUOTES
======================================== */

blockquote {
    border-left: 4px solid var(--brand-teal);
    background: var(--brand-teal-light);
    padding: 20px 25px;
    border-radius: 0 20px 20px 0;
    font-style: italic;
}

/* ========================================
   PROGRESS BARS & COUNTERS
======================================== */

.elementor-progress-bar {
    background: var(--brand-teal-light);
}

.elementor-progress-percentage {
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue));
}

.elementor-counter-number-wrapper {
    color: var(--brand-teal);
}

/* ========================================
   MOBILE RESPONSIVENESS & WOW FACTOR
======================================== */

@media (max-width: 768px) {
    /* Reduce animations on mobile for performance */
    * {
        animation-duration: 0.3s !important;
    }

    /* MOBILE WOW: Super rounded everything! */
    .elementor-button,
    button,
    input[type="submit"],
    .woocommerce a.button {
        border-radius: 25px !important;
        min-height: 50px !important;
        min-width: 50px !important;
        font-size: 16px !important;
        padding: 15px 30px !important;
    }

    /* Mobile forms - extra rounded */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        border-radius: 25px !important;
        font-size: 16px !important;
        padding: 15px 20px !important;
    }

    /* Mobile cards - very rounded */
    .elementor-column,
    .product,
    article,
    .woocommerce ul.products li.product {
        border-radius: 30px !important;
    }

    /* Mobile images - rounded */
    img {
        border-radius: 20px !important;
    }

    /* Mobile sections - super rounded */
    .elementor-section.elementor-section-boxed > .elementor-container {
        border-radius: 30px !important;
    }

    /* Lighter shadows on mobile */
    .elementor-button,
    button[type="submit"] {
        box-shadow: 0 2px 10px rgba(108, 180, 212, 0.15) !important;
    }

    /* Touch feedback - gentle bounce */
    .elementor-button:active,
    button:active,
    a.button:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }

    /* Mobile navigation - rounded */
    .main-navigation,
    .site-header {
        border-radius: 0 0 25px 25px;
    }

    /* Mobile product cards - extra spacing */
    .woocommerce ul.products li.product {
        margin-bottom: 25px !important;
        padding: 15px !important;
    }

    /* Mobile typography - better readability */
    body {
        font-size: 16px !important;
    }

    h1, .elementor-heading-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    /* Mobile spacing - more breathing room */
    .elementor-section {
        padding: 30px 20px !important;
    }

    /* Mobile links - easier to tap */
    a {
        padding: 5px 0;
        display: inline-block;
    }

    /* Mobile form spacing */
    .wpcf7-form p {
        margin-bottom: 15px !important;
    }

    /* Mobile WooCommerce */
    .woocommerce-Price-amount {
        font-size: 22px !important;
        font-weight: 700 !important;
    }

    /* Mobile header - sticky and rounded */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 999;
        background: white;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    }

    /* Mobile smooth scrolling sections */
    .elementor-section {
        scroll-margin-top: 80px;
    }

    /* Mobile CTAs - prominent */
    .elementor-button-wrapper {
        text-align: center !important;
        margin: 20px 0 !important;
    }

    /* Mobile product images - rounded */
    .woocommerce ul.products li.product img {
        border-radius: 20px !important;
    }

    /* Mobile badge - very rounded */
    .woocommerce span.onsale {
        border-radius: 25px !important;
        padding: 8px 15px !important;
    }

    /* Mobile search - rounded */
    input[type="search"] {
        border-radius: 25px !important;
    }

    /* Mobile breadcrumbs - smaller */
    .breadcrumbs,
    .woocommerce-breadcrumb {
        font-size: 13px !important;
        padding: 10px 0 !important;
    }

    /* Mobile tables - rounded */
    table {
        border-radius: 20px !important;
        overflow: hidden;
    }

    /* Mobile blockquotes - rounded */
    blockquote {
        border-radius: 20px !important;
        padding: 15px 20px !important;
    }
}

/* MOBILE LANDSCAPE */
@media (max-width: 768px) and (orientation: landscape) {
    /* Reduce vertical padding in landscape */
    .elementor-section {
        padding: 20px 15px !important;
    }

    /* Smaller headings in landscape */
    h1, .elementor-heading-title {
        font-size: 24px !important;
    }
}

/* TABLET SPECIFIC */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet gets medium roundness */
    .elementor-button,
    button,
    input[type="submit"] {
        border-radius: 28px !important;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        border-radius: 22px !important;
    }

    .product,
    .elementor-column {
        border-radius: 28px !important;
    }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--brand-teal);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link:focus {
    background: var(--brand-teal);
    color: white;
    padding: 10px 15px;
    text-decoration: none;
}

/* ========================================
   CUSTOM ACCENTS
======================================== */

/* Decorative elements */
.elementor-widget-divider .elementor-divider-separator {
    border-top-color: var(--brand-teal);
}

/* Custom list styles */
ul.custom-list li:before {
    content: '▸';
    color: var(--brand-teal);
    font-weight: bold;
    margin-right: 10px;
}

/* Highlight text selection */
::selection {
    background: var(--brand-teal);
    color: white;
}

::-moz-selection {
    background: var(--brand-teal);
    color: white;
}
