/*
Theme Name: Paw Rank
Theme URI: https://example.com/paw-rank
Author: Paw Rank
Author URI: https://example.com
Description: A premium Elementor-compatible WordPress theme for Paw Rank. Built with broadcast-quality design and full drag-and-drop Elementor support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pawrank
Tags: custom-menu, custom-logo, elementor, full-width-template, one-column, two-columns
*/

/* =============================================
   CSS Custom Properties / Design Tokens
   ============================================= */
:root {
    --primary-dark-green: #1d422a;
    --accent-lime-green: #b3db70;
    --primary-bg: #f2f2eb;
    --secondary-bg: #ffffff;
    --text-color: #1d422a;
    --border-radius-lg: 32px;
    --border-radius-md: 16px;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* =============================================
   Reset & Base
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* =============================================
   Header
   ============================================= */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: relative;
    z-index: 100;
    background: transparent;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-dark-green);
    text-transform: none;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 44px;
    width: auto;
    display: block;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    background-color: var(--primary-dark-green);
    padding: 0.4rem 0.5rem;
    border-radius: 100px;
    gap: 0.5rem;
}

.desktop-nav a {
    color: #fff;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.desktop-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.desktop-actions {
    display: none;
}

.desktop-actions .btn-accent {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    background: transparent;
    border: 1px solid var(--primary-dark-green);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark-green);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.menu-toggle:hover {
    background: var(--primary-dark-green);
    color: var(--primary-bg);
}

.menu-toggle .burger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle .burger-icon span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor;
}

/* =============================================
   Fullscreen Menu Overlay
   ============================================= */
.menu-overlay {
    position: fixed;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    background-color: var(--primary-dark-green);
    border-radius: var(--border-radius-lg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 10%;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.6s ease;
    visibility: hidden;
}

.menu-overlay.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 3rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.3s;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.overlay-nav a {
    color: #fff;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.overlay-nav a:hover {
    color: var(--accent-lime-green);
}

.overlay-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-dark-green);
    color: #fff;
    border: 2px solid var(--primary-dark-green);
}

.btn-primary:hover {
    background-color: #15301f;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark-green);
    border: 2px solid var(--primary-dark-green);
}

.btn-secondary:hover {
    background-color: var(--primary-dark-green);
    color: #fff;
}

.btn-accent {
    background-color: var(--accent-lime-green);
    color: var(--primary-dark-green);
    border: none;
}

.btn-accent:hover {
    background-color: #c4ec83;
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    padding: 4rem 0 8rem;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    max-width: 50%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0 20%, 80% 0, 100% 80%, 20% 100%);
    border-radius: 40px;
}

.hero-shape-1 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 60%;
    padding-bottom: 60%;
    background-color: var(--primary-dark-green);
    border-radius: 50%;
    z-index: -1;
}

.hero-shape-2 {
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 30%;
    padding-bottom: 30%;
    background-color: #2a2a2a;
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--primary-dark-green);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-subtitle span {
    position: relative;
    color: var(--primary-dark-green);
}

.hero-subtitle span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-lime-green);
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: #444;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-actions-center {
    justify-content: center;
}

/* =============================================
   Ticker
   ============================================= */
.ticker-section {
    background-color: var(--primary-dark-green);
    color: var(--accent-lime-green);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    transform: rotate(-1deg) scale(1.02);
    margin: 4rem 0;
    z-index: 10;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-anim 20s linear infinite;
}

.ticker-item {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0 2rem;
    text-transform: uppercase;
}

@keyframes ticker-anim {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =============================================
   Image Section
   ============================================= */
.team-section {
    padding: 4rem 0;
}

.team-image-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.team-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* =============================================
   Case Studies
   ============================================= */
.case-studies {
    background-color: var(--primary-dark-green);
    color: #fff;
    padding: 8rem 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    margin-top: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.case-card {
    background-color: var(--primary-bg);
    color: var(--text-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.case-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

.case-title {
    font-size: 2rem;
    margin-bottom: 0;
}

/* =============================================
   About Page Styles
   ============================================= */
.about-hero {
    padding: 6rem 0 4rem;
}

.section-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-dark-green);
    margin-bottom: 1.5rem;
}

.section-label-center {
    text-align: center;
}

.about-hero h1 {
    font-size: 5rem;
    letter-spacing: -2px;
    color: var(--primary-dark-green);
    margin-bottom: 2rem;
    max-width: 700px;
}

.about-hero-desc {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 700px;
    color: #444;
    margin-bottom: 2.5rem;
}

.about-hero-desc strong {
    color: var(--primary-dark-green);
}

/* About Team Photo */
.about-team-photo {
    padding: 2rem 0 6rem;
}

.about-team-photo .team-image-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-team-photo .team-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* About Intro */
.about-intro {
    padding: 6rem 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro-left h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
    color: var(--primary-dark-green);
    line-height: 1.3;
}

.about-intro-right p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.about-intro-right p strong {
    color: var(--primary-dark-green);
}

/* Directors Section */
.about-directors {
    padding: 4rem 0;
}

.directors-intro {
    font-size: 1.125rem;
    color: #444;
    margin-bottom: 4rem;
    text-align: center;
}

.director-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
}

.director-card-reverse {
    direction: rtl;
}

.director-card-reverse>* {
    direction: ltr;
}

.director-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.director-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.director-info h3 {
    font-size: 3rem;
    color: var(--primary-dark-green);
    margin-bottom: 0.5rem;
}

.director-role {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    color: var(--primary-dark-green);
    margin-bottom: 1.5rem;
}

.director-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.25rem;
}

/* Values Section */
.about-values {
    padding: 6rem 0;
}

.about-values h2 {
    font-size: 3rem;
    letter-spacing: -1px;
    color: var(--primary-dark-green);
    margin-bottom: 2rem;
}

.values-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    max-width: 1000px;
}

.values-highlight {
    font-size: 1.2rem;
    color: var(--primary-dark-green);
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.value-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark-green);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

/* Testimonials */
.about-testimonials {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
}

.testimonial-card-tall {
    grid-row: span 2;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-dark-green);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-dark-green);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
}

/* CTA Section */
.about-cta {
    background-color: #282828;
    color: #fff;
    padding: 6rem 0;
    border-radius: var(--border-radius-lg);
    margin: 4rem 2%;
    overflow: hidden;
}

.about-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-cta-content h2 {
    font-size: 2.75rem;
    line-height: 1.25;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 2.5rem;
}

.about-cta-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Final CTA */
.about-final-cta {
    padding: 8rem 0;
    text-align: center;
}

.final-cta-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.about-final-cta h2 {
    font-size: 3rem;
    letter-spacing: -1px;
    color: var(--primary-dark-green);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    background-color: var(--primary-dark-green);
    color: #fff;
    padding: 6rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.footer-logo svg path {
    fill: #fff;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.footer-menu a:hover {
    color: var(--accent-lime-green);
}

.footer-newsletter h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    background: var(--accent-lime-green);
    color: var(--primary-dark-green);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #c4ec83;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--accent-lime-green);
}

/* =============================================
   Elementor Overrides
   ============================================= */
.elementor-page .site-content {
    padding: 0;
}

.elementor-page .site-main {
    padding: 0;
}

/* Full Width Elementor template */
.page-template-template-elementor-full-width .site-content,
.page-template-template-elementor-canvas .site-content {
    max-width: 100%;
    padding: 0;
}

/* Elementor section spacing consistency */
.elementor-section {
    font-family: var(--font-body);
}

/* =============================================
   WordPress Core Overrides
   ============================================= */
.wp-block-image img {
    border-radius: var(--border-radius-md);
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.entry-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-visual {
        max-width: 80%;
        margin: 0 auto 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 3.5rem;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .director-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .director-card-reverse {
        direction: ltr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card-tall {
        grid-row: auto;
    }

    .about-cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
    }

    .desktop-actions {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .overlay-nav a {
        font-size: 2rem;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-values h2 {
        font-size: 2rem;
    }

    .about-cta-content h2 {
        font-size: 2rem;
    }

    .about-final-cta h2 {
        font-size: 2rem;
    }

    .about-intro-left h2 {
        font-size: 1.75rem;
    }

    .director-info h3 {
        font-size: 2rem;
    }
}