/*
Theme Name: South Sound Glass Theme
Author: Jeromy Condon
Description: Custom Glass Theme
Version: 1.0
*/

        :root {
            --bg-primary: #FAFCFD;
            --bg-surface: #FFFFFF;
            --bg-glass: rgba(255, 255, 255, 0.5);
            --bg-glass-card: rgba(255, 255, 255, 0.9);
            --text-main: #2D3142;
            --text-muted: #5A6472;
            --text-light: #8E99A8;
            --accent-teal: #00A896;
            --accent-teal-dark: #028090;
            --accent-teal-glow: rgba(2, 128, 144, 0.12);
            --border-subtle: rgba(226, 232, 240, 0.85);
            --border-glass: rgba(255, 255, 255, 0.75);
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
            --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.08);
            --shadow-glass: 0 8px 32px 0 rgba(2, 128, 144, 0.08);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-full: 9999px;
            --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: var(--font-main);
            background-color: var(--bg-primary);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            outline: none;
            background: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 1.25rem 0;
            transition: var(--transition-smooth);
            background: transparent;
        }

        .navbar.scrolled {
            background: var(--bg-glass);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-subtle);
            padding: 0.85rem 0;
            box-shadow: var(--shadow-sm);
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-weight: 800;
            font-size: 1.35rem;
            letter-spacing: -0.03em;
            color: var(--text-main);
        }

        .logo-icon {
            width: 70px;
            height: 70px;
            //background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-dark));
            //background: red;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            position: relative;
            overflow: hidden;
            //box-shadow: 0 4px 14px rgba(2, 128, 144, 0.25);
        }

        footer .logo-icon {
            width: 200px;
            height: 200px;
        }

        /* Glass Surface Diagonal Sheen Overlay */
        .logo-icon::after {
          content: "";
          position: absolute;
          top: -50%;
          left: -50%;
          width: 300%;
          height: 300%;

          /* Sharp glass reflection ray rotated 135deg (Top-Left -> Bottom-Right) */
          background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 42%,
            rgba(255, 255, 255, 0.85) 50%, /* Highlight core */
            rgba(255, 255, 255, 0) 58%,
            rgba(255, 255, 255, 0) 100%
          );

          pointer-events: none;
          /* Start completely off-screen at the Top-Left */
          transform: translate(-100%, -100%);
          animation: reflectTopLeftToBottomRight 7s infinite ease-in-out;
        }

        /* Movement Keyframes: Top-Left to Bottom-Right */
        @keyframes reflectTopLeftToBottomRight {
          0% {
            transform: translate(-100%, -100%);
          }
          35%, 100% {
            /* Sweeps all the way down off-screen to the Bottom-Right */
            transform: translate(100%, 100%);
          }
        }

/*        .logo-icon::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
            transform: rotate(45deg);
            animation: shine 4s infinite;
        }

        @keyframes shine {
            0% { transform: translateY(-100%) rotate(45deg); }
            20%, 100% { transform: translateY(100%) rotate(45deg); }
        }*/

        /* Container for header action elements */
        .nav-actions {
          display: flex;
          align-items: center;
          gap: 1.5rem;
        }

        /* Phone number link styles */
        .header-phone {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          color: #2d3142;
          font-weight: 600;
          font-size: 0.95rem;
          text-decoration: none;
          transition: color 0.25s ease;
        }

        .header-phone:hover {
          color: #028090; /* Accent teal */
        }

        .header-phone svg {
          width: 18px;
          height: 18px;
          stroke: #028090;
          stroke-width: 2;
          stroke-linecap: round;
          stroke-linejoin: round;
          fill: none;
        }

        /* Responsive adjustment for mobile screens */
        @media (max-width: 640px) {
          .header-phone span {
            display: none; /* Hides text on small screens, leaving icon clickable */
          }
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            padding: 0.8rem 1.8rem;
            background-color: var(--text-main);
            color: #FFFFFF;
            font-size: 0.925rem;
            font-weight: 600;
            border-radius: var(--radius-full);
            transition: var(--transition-bounce);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(45, 49, 66, 0.12);
        }

        .btn-primary:hover {
            background-color: var(--accent-teal-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(2, 128, 144, 0.35);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.8rem 1.8rem;
            background: var(--bg-glass-card);
            color: var(--text-main);
            border: 1px solid var(--border-subtle);
            font-size: 0.925rem;
            font-weight: 600;
            border-radius: var(--radius-full);
            backdrop-filter: blur(8px);
            transition: var(--transition-smooth);
        }

        .btn-secondary:hover {
            border-color: var(--accent-teal-dark);
            color: var(--accent-teal-dark);
            background: #FFFFFF;
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        .hero {
            padding-top: 6.5rem;
            //padding-bottom: 5rem;
            position: relative;
            overflow: hidden;
            width: 100%;
        }

        .hero-bg-glow {
            position: absolute;
            top: 5%;
            right: 10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, var(--accent-teal-glow) 0%, rgba(255,255,255,0) 70%);
            border-radius: 50%;
            z-index: -1;
            pointer-events: none;
        }

        .hero-content-wrapper {
            padding-top: 3.5rem;
            margin-bottom: 3.5rem;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 3rem;
            align-items: flex-end;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 1.1rem;
            background: rgba(2, 128, 144, 0.08);
            border: 1px solid rgba(2, 128, 144, 0.2);
            border-radius: var(--radius-full);
            color: var(--accent-teal-dark);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            letter-spacing: 0.02em;
        }

        .hero-tag span {
            width: 6px;
            height: 6px;
            background-color: var(--accent-teal-dark);
            border-radius: 50%;
            display: inline-block;
        }

        .hero-title {
            font-size: clamp(2.75rem, 5.5vw, 4.5rem);
            font-weight: 800;
            line-height: 1.08;
            letter-spacing: -0.035em;
            color: var(--text-main);
            margin-bottom: 1.5rem;
        }

        .hero-title .highlight {
            color: var(--accent-teal-dark);
            position: relative;
            display: inline-block;
        }

        .hero-description {
            font-size: clamp(1.05rem, 1.8vw, 1.2rem);
            color: var(--text-muted);
            margin-bottom: 2.25rem;
            max-width: 580px;
            font-weight: 400;
            line-height: 1.6;
        }

        .hero-actions {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border-subtle);
        }

        .stat-item h4 {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: -0.02em;
        }

        .stat-item p {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* Full Bleed Hero Image Section */
        .hero-fullbleed-banner {
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            //height: clamp(400px, 62vh, 680px);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .hero-fullbleed-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 30%;
            transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .hero-fullbleed-banner:hover img {
            transform: scale(1.03);
        }

        .glass-overlay-badge {
            position: absolute;
            bottom: 2.5rem;
            left: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
            background: var(--bg-glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--border-glass);
            padding: 1.25rem 1.75rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-glass);
            max-width: 320px;
            animation: float 6s ease-in-out infinite;
            z-index: 5;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }


        .page-template-_templ-contact .hero-grid {
            display:block;
        }

        .page-template-_templ-contact .hero-description {
            max-width: 100%;
        }

        .badge-rating {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            color: #FFB800;
            font-size: 0.9rem;
            margin-bottom: 0.35rem;
        }

        .badge-text {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-main);
            line-height: 1.3;
        }

        .badge-subtext {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .section-header {
            text-align: center;
            max-width: 650px;
            margin: 0 auto 4rem auto;
        }

        .section-subtitle {
            color: var(--accent-teal-dark);
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.75rem;
            display: block;
        }

        .section-title {
            font-size: clamp(2rem, 3.5vw, 2.75rem);
            font-weight: 800;
            letter-spacing: -0.03em;
            color: var(--text-main);
            line-height: 1.2;
        }

        .services-section {
            padding: 6rem 0;
            background-color: #FFFFFF;
            position: relative;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: var(--bg-primary);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 2.25rem;
            transition: var(--transition-smooth);
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-dark));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            background: #FFFFFF;
            border-color: rgba(2, 128, 144, 0.25);
        }

        .service-card:hover::before {
            opacity: 1;
        }

        .service-icon {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-sm);
            background: rgba(2, 128, 144, 0.08);
            color: var(--accent-teal-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: var(--transition-bounce);
        }

        .service-card:hover .service-icon {
            background: var(--accent-teal-dark);
            color: #FFFFFF;
            transform: scale(1.05);
        }

        .service-icon svg {
            width: 28px;
            height: 28px;
            stroke-width: 1.75;
        }

        .service-title {
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--text-main);
            letter-spacing: -0.02em;
        }

        .service-desc {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 1.75rem;
        }

        .service-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--accent-teal-dark);
            transition: gap 0.3s ease;
        }

        .service-card:hover .service-link {
            gap: 0.75rem;
        }

        .process-section {
            padding: 6rem 0;
            position: relative;
            background: var(--bg-primary);
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2.5rem;
            position: relative;
        }

        .process-step {
            background: var(--bg-glass-card);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 2.5rem 2rem;
            position: relative;
            backdrop-filter: blur(8px);
            transition: var(--transition-smooth);
        }

        .process-step:hover {
            border-color: var(--accent-teal-dark);
            transform: translateY(-4px);
            box-shadow: var(--shadow-sm);
        }

        .step-number {
            font-size: 3rem;
            font-weight: 800;
            color: rgba(2, 128, 144, 0.18);
            position: absolute;
            top: 1.25rem;
            right: 1.5rem;
            line-height: 1;
        }

        .step-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--text-main);
        }

        .step-desc {
            font-size: 0.925rem;
            color: var(--text-muted);
        }

        .cta-section {
            padding: 5.5rem 0;
            background: var(--text-main);
            color: #FFFFFF;
            position: relative;
            overflow: hidden;
        }

        .cta-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            position: relative;
            z-index: 2;
        }

        .cta-text h2 {
            font-size: clamp(2rem, 3vw, 2.5rem);
            font-weight: 800;
            letter-spacing: -0.03em;
            margin-bottom: 0.5rem;
        }

        .cta-text p {
            color: #94A3B8;
            font-size: 1.05rem;
        }

        .footer {
            background: #111418;
            color: #94A3B8;
            padding: 4rem 0 2rem 0;
            font-size: 0.9rem;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr repeat(2, 1fr);
            gap: 3rem;
            margin-bottom: 3.5rem;
        }

        .footer-brand .logo {
            color: #FFFFFF;
            margin-bottom: 1rem;
        }

        .footer-brand p {
            max-width: 340px;
            line-height: 1.6;
        }

        .footer-col h5 {
            color: #FFFFFF;
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 1.25rem;
        }

        .footer-col ul {
            list-style: none;
/*            display: flex;
            flex-direction: column;
            gap: 0.75rem;*/
        }

        .footer-col a {
            transition: color 0.2s ease;
        }

        .footer-col a:hover {
            color: var(--accent-teal);
        }

        .footer-bottom {
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.85rem;
        }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-1 { transition-delay: 0.1s; }
        .stagger-2 { transition-delay: 0.2s; }
        .stagger-3 { transition-delay: 0.3s; }

        @media (max-width: 1024px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .glass-overlay-badge {
                left: 0;
                bottom: -1rem;
            }

            .process-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .cta-content {
                flex-direction: column;
                text-align: center;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }

            .hero-stats {
                grid-template-columns: 1fr 1fr;
            }

            .header-phone span {
                display:none;
            }

            .header-phone {
                width: 30px;
                height: 30px;
                background: #fff;
                padding: 5px;
                border-radius: 50%;
                overflow: hidden;
                outline: solid 1px #ccc;
            }

            .footer-grid > div {
                text-align:center;
            }

            .footer-brand p {
                max-width: 100%;
            }

            footer .logo-icon {
                margin:auto;
                display:inline-block;
            }

            .footer-brand .logo {
                display:inline;
            }

            .logo {
                font-size: 16px;
            }

            header .logo-icon {
                width: 30px;
                height: 30px;
            }

            header .container {
                padding: 0 1rem;
            }

            header .btn-primary {
                padding: 5px 10px;
                font-size: 14px;
            }
        }

        @media (max-width: 500px) {
            header .container {
                flex-direction: column;
            }

            header .logo {
                display: block;
                margin-bottom: 5px;
            }


            header .logo-icon {
               display:none;
            }

            .logo {
                font-size: 25px;
            }

            .header-phone {
                width: auto;
                height: auto;
                background: transparent;
                padding: 5px;
                border-radius: 0;
                overflow: visible;
                outline: none;
            }

            .header-phone span {
                display:block;
            }

            .footer-bottom {
                display: block;
            }

            .footer-bottom > div {
                justify-content: center;
                text-align:center;
            }

            .glass-overlay-badge {
                position: relative;
            }

        }










