/*
* File: style.css
* Description: Main stylesheet for Watkins Custom Co Digital Marketing Website (Theme V2).
* Version: 2.0
*/

/* ------------------- */
/* ROOT VARIABLES & GLOBAL STYLES */
/* ------------------- */

:root {
    --bg-dark: #0F0F13;
    --card-bg: rgba(26, 26, 31, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-primary: #00F5C4; /* A vibrant mint/cyan */
    --accent-secondary: #8A2BE2; /* A vibrant purple for gradients */
    --text-light: #EAEAEA;
    --text-medium: #A0A0A0;
    --header-height: 80px;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-medium);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, var(--accent-primary), transparent 40%),
        radial-gradient(circle at 80% 90%, var(--accent-secondary), transparent 40%);
    opacity: 0.15;
    z-index: -1;
    animation: aurora-flow 25s ease-in-out infinite alternate;
}

main {
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3.8rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.1rem; font-weight: 500;}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 {
    margin-bottom: 15px;
}

.highlight {
    color: var(--accent-primary);
}

/* ------------------- */
/* BUTTON STYLES */
/* ------------------- */

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-lg {
    padding: 16px 45px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-dark);
    border-color: var(--accent-primary);
}
.btn-primary:hover {
    background: transparent;
    color: var(--accent-primary);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-light);
    border-color: var(--border-color);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ------------------- */
/* HEADER & NAVIGATION */
/* ------------------- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
}

#main-header.scrolled {
    background-color: rgba(15, 15, 19, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
#main-header.header-static {
    position: static;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}
#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#main-header .logo svg { transition: transform 0.3s ease; }
#main-header .logo:hover svg { transform: scale(1.05); }

#main-header .nav-links {
    display: flex;
    gap: 40px;
}
#main-header .nav-links li a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}
#main-header .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    transition: width 0.3s ease-out;
}
#main-header .nav-links li a:hover,
#main-header .nav-links li a.active {
    color: var(--accent-primary);
}
#main-header .nav-links li a:hover::after,
#main-header .nav-links li a.active::after {
    width: 8px;
}
#hamburger-btn, #close-btn { display: none; background: none; border: none; color: var(--text-light); font-size: 1.8rem; cursor: pointer; }
#mobile-menu { display: none; }

/* ------------------- */
/* HERO SECTION */
/* ------------------- */

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content {
    max-width: 850px;
    margin: 0 auto;
}
.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--text-light), var(--text-medium));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.25rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: var(--text-medium);
}
.hero-buttons .btn {
    margin: 0 10px;
}
.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s forwards;
}
.hero-content h1.animate-on-load { animation-delay: 0.2s; }
.hero-content p.animate-on-load { animation-delay: 0.4s; }
.hero-buttons.animate-on-load { animation-delay: 0.6s; }


/* ------------------- */
/* SERVICES SECTION (ALTERNATING) */
/* ------------------- */
.service-item {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.service-item:last-child {
    margin-bottom: 0;
}
.service-item:nth-child(even) {
    flex-direction: row-reverse;
}
.service-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-image img {
    display: block;
    transition: transform 0.5s ease;
}
.service-item:hover .service-image img {
    transform: scale(1.05);
}
.service-text {
    flex: 1;
}
.service-text h3 {
    margin-bottom: 20px;
    color: var(--text-light);
}
.service-text ul {
    list-style: none;
    margin-top: 20px;
}
.service-text ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.service-text ul li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* ------------------- */
/* WHY CHOOSE US SECTION (3D CARDS) */
/* ------------------- */
#why-us {
    background-color: rgba(15, 15, 19, 0.5);
}
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    perspective: 1500px;
}
.why-us-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: transform 0.2s linear, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}
.why-us-card:hover {
    box-shadow: 0 0 40px rgba(0, 245, 196, 0.2);
    border-color: rgba(0, 245, 196, 0.5);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    display: inline-block;
}
.why-us-card h3 {
    margin-bottom: 15px;
}

/* ------------------- */
/* OUR PROCESS SECTION */
/* ------------------- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 40px;
}
.process-step {
    padding-left: 100px;
    position: relative;
    margin-bottom: 60px;
}
.process-step:last-child {
    margin-bottom: 0;
}
.step-number {
    position: absolute;
    left: 0;
    top: -5px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    transition: background-color 0.3s, border-color 0.3s;
}
.process-step:hover .step-number {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    border-color: var(--accent-primary);
}
.step-content h3 {
    margin-bottom: 10px;
}

/* ------------------- */
/* TESTIMONIALS SECTION */
/* ------------------- */
#testimonials {
    background-color: rgba(15, 15, 19, 0.5);
}
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}
.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}
.testimonial-slide blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-light);
    text-align: center;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}
.testimonial-author cite {
    font-style: normal;
    font-weight: 700;
    color: var(--text-light);
    display: block;
}
.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-medium);
}
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.slider-nav button {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}
.slider-nav button:hover {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    border-color: var(--accent-primary);
}

/* ------------------- */
/* FAQ SECTION */
/* ------------------- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question h4 {
    color: var(--text-light);
}
.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.4s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}
.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-primary);
}
.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust as needed */
}

/* ------------------- */
/* CTA SECTION */
/* ------------------- */
#cta {
    background-color: rgba(15, 15, 19, 0.5);
}
.cta-content {
    text-align: center;
    max-width: 700px;
    margin: auto;
}
.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ------------------- */
/* FOOTER SECTION */
/* ------------------- */
#main-footer {
    background: var(--bg-dark);
    padding: 80px 0 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col.about p {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 90%;
}
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-light);
    margin-right: 10px;
    transition: background-color 0.3s, transform 0.3s;
}
.social-links a:hover {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}
.footer-col.links ul li {
    margin-bottom: 10px;
}
.footer-col.links a {
    color: var(--text-medium);
    transition: color 0.3s, padding-left 0.3s;
}
.footer-col.links a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}
.footer-col.contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.footer-col.contact i {
    margin-right: 15px;
    color: var(--accent-primary);
    margin-top: 4px;
}
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
}


/* ------------------- */
/* CONTACT & LEGAL PAGES */
/* ------------------- */
#contact-page {
    min-height: 80vh;
}
.contact-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
}
.contact-form-container, .contact-info-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.contact-form-container h3, .contact-info-container h3 {
    margin-bottom: 30px;
}
#contact-form .form-row { display: flex; gap: 20px; }
#contact-form .form-group { margin-bottom: 20px; flex: 1; }
#contact-form label { display: block; margin-bottom: 8px; font-weight: 500; }
#contact-form input, #contact-form textarea, #contact-form select {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
#contact-form input:focus, #contact-form textarea:focus, #contact-form select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 245, 196, 0.2);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contact-info-item i {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-right: 20px;
    width: 30px;
}
.contact-info-item h4 { margin: 0 0 5px 0; font-weight: 700; }
.contact-info-item p { margin: 0; color: var(--text-medium); }

.legal-page .container {
    padding-top: 60px;
    padding-bottom: 60px;
}
.legal-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    max-width: 850px;
    margin: auto;
}
.legal-content h1 { text-align: center; margin-bottom: 40px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 15px; color: var(--accent-primary); }
.legal-content ul { list-style-type: disc; padding-left: 20px; margin-bottom: 1rem; }


/* ------------------- */
/* ANIMATIONS & EFFECTS */
/* ------------------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes aurora-flow {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.5); }
}

/* ------------------- */
/* RESPONSIVENESS */
/* ------------------- */
@media (max-width: 1024px) {
    h1 { font-size: 3.2rem; }
    .hero-content h1 { font-size: 3.5rem; }
    h2 { font-size: 2.4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    h1 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .section-padding { padding: 80px 0; }
    
    #main-header .nav-links, #main-header .nav-cta { display: none; }
    #hamburger-btn { display: block; }
    #mobile-menu {
        display: block; position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: rgba(15, 15, 19, 0.95); backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        transition: right 0.4s ease-in-out;
        padding-top: 100px; z-index: 1001;
    }
    #mobile-menu.open { right: 0; }
    #mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 30px; }
    #mobile-menu ul a { font-size: 1.2rem; color: var(--text-light); }
    #mobile-menu .btn { margin-top: 20px; }
    #close-btn { display: block; position: absolute; top: 20px; right: 20px; font-size: 2.5rem; }

    .service-item, .service-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    .service-text { text-align: center; }
    .service-text ul { text-align: left; display: inline-block; }

    .process-timeline::after { left: 20px; }
    .process-step { padding-left: 60px; }
    .step-number { width: 40px; height: 40px; left: 0; font-size: 1rem; }

    .testimonial-slide blockquote { font-size: 1.2rem; }

    .contact-content-wrapper { grid-template-columns: 1fr; }
    #contact-form .form-row { flex-direction: column; gap: 0; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col.about p, .footer-col.contact p { justify-content: center; max-width: 100%; }
    .social-links { margin-bottom: 30px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 300px; margin: 0; }

    .legal-content { padding: 30px; }
}