/*
Theme Name: Duara Theme
Theme URI: https://example.com/
Author: Antigravity
Author URI: https://example.com/
Description: Custom WordPress theme for Duara, built with Tailwind CSS.
Version: 1.0.0
Text Domain: domain-web-hosting
*/

/* This file holds the page-specific component classes the markup references by
 * name. Motion, materials, typography and the interaction states live in
 * assets/fluid.css, which loads after this file and after Tailwind.
 *
 * Several values below were inherited from the template this theme started
 * from and were still keyed to a blue and purple palette the site no longer
 * uses: rgba(0, 43, 146, …) and rgba(113, 42, 226, …) appeared in a dozen
 * shadows and gradients on what is a teal site. Those are now the brand teal.
 * Class names are unchanged; only their colour and weight moved.
 */

:root {
  --duara-primary: #375c58;
  --duara-accent: #1d7d70;
  --duara-line: rgb(23 29 28 / 0.07);
  --duara-line-strong: rgb(23 29 28 / 0.12);
}

body { font-family: 'Inter', sans-serif; background-color: #f6faf8; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* Website Development Page Styles */
.step-line { position: relative; }
.step-line::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    width: 100%;
    height: 1px;                 /* a connector is a hint, not a rule */
    background: linear-gradient(to right, var(--duara-line-strong), transparent);
    z-index: -1;
}
@media (max-width: 768px) {
    .step-line::after { display: none; }
}

/* Managed Hosting Page Styles */
.bento-card { background-color: #ffffff; border: 1px solid var(--duara-line); }
.bento-card:hover { border-color: var(--duara-line-strong); }

/* Domain Registration Page Styles */
details > summary::-webkit-details-marker { display: none; }
details > summary { cursor: pointer; list-style: none; }

/* Portfolio Page Styles */
.flat-plus-card {
    background-color: #ffffff;
    border: 1px solid var(--duara-line);
    box-shadow: 0 1px 2px rgb(23 29 28 / 0.04),
                0 2px 8px -2px rgb(23 29 28 / 0.05);
}
.flat-plus-card:hover { border-color: var(--duara-line-strong); }

.filter-btn {
    border-radius: 999px;
    transition: background-color 200ms cubic-bezier(0.32, 0.72, 0, 1),
                color 200ms cubic-bezier(0.32, 0.72, 0, 1),
                transform 120ms cubic-bezier(0.32, 0.72, 0, 1);
}
.filter-btn:active { transform: scale(0.96); }
.filter-btn.active {
    background-color: var(--duara-primary);
    color: #ffffff;
    font-weight: 500;
}

.soft-fill-chip {
    background-color: rgb(29 125 112 / 0.10);
    color: #1f4a45;
    border-radius: 999px;
}

/* Business Websites Page Styles */
.process-line { background: linear-gradient(to bottom, var(--duara-primary) 0%, var(--duara-accent) 100%); }

/* eCommerce Development Page Styles */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* A six second cycle sits close to the 0.2Hz band that triggers motion
 * sensitivity, so the travel is small and fluid.css stops it outright for
 * anyone who has asked for reduced motion. */
@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}
.float-animation { animation: float 6s ease-in-out infinite; }

/* ERP Systems Page Styles */
.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 1px;
    background: var(--duara-line-strong);
    z-index: 0;
}
@media (max-width: 768px) {
    .step-connector::after { display: none; }
}

/* Hotel & Booking Systems Page Styles */
.perspective-1000 { perspective: 1000px; }

/* Property Management Systems Page Styles */
.card-hover { background-color: #ffffff; }
.card-hover:hover { border-color: var(--duara-line-strong); }

/* AI-Powered Websites Page Styles */
.card-gradient-hover:hover {
    border-color: var(--duara-line-strong);
    background: linear-gradient(145deg, #ffffff 0%, #f2f8f6 100%);
}

/* Website Redesign Page Styles */
.perspective-text { text-shadow: 0 2px 12px rgb(23 29 28 / 0.10); }
.timeline-path {
    background-image: radial-gradient(circle at center, rgb(55 92 88 / 0.35) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Managed WP Hosting Page Styles */
.hover-lift { background-color: #ffffff; }

/* Business Hosting Page Styles */
.elevation-surface-1 {
    background-color: #ffffff;
    border: 1px solid var(--duara-line);
    box-shadow: 0 1px 2px rgb(23 29 28 / 0.04),
                0 2px 8px -2px rgb(23 29 28 / 0.05);
}
.shimmer {
    background: linear-gradient(90deg, transparent, rgb(55 92 88 / 0.06), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Email Hosting Page Styles */
.bento-item { background-color: #ffffff; border: 1px solid var(--duara-line); }
.bento-item:hover { border-color: var(--duara-line-strong); }

/* Reusable blog photography credit */
.dv-blog-image { margin: 0 0 2rem; }
.dv-blog-image > picture { display: block; }
.dv-blog-image img { margin-bottom: 0 !important; }
.dv-image-credit {
    margin-top: 0.625rem;
    color: #5c6b67;
    font-family: Inter, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.5;
}
.dv-image-credit a {
    color: #24796b;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}
.dv-image-credit a:hover { color: #1f4a45; }
.dv-image-credit a:focus-visible {
    border-radius: 0.2rem;
    outline: 3px solid rgb(36 121 107 / 0.32);
    outline-offset: 3px;
}
