/* ========================================
   TORQUE AUTHORITY - LEXINGTON INSPIRED
   BLUE COLOR SCHEME - ENHANCED
   ======================================== */

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

:root {
    /* Blue Color Scheme */
    --primary-blue: #0052cc;
    --dark-blue: #003d99;
    --light-blue: #e3f2fd;
    --very-light-blue: #f5f9ff;
    
    /* Neutral Colors */
    --primary-black: #1a1a1a;
    --light-gray: #fafafa;
    --medium-gray: #f0f0f0;
    --dark-gray: #2a2a2a;
    --very-light-gray: #f8f8f8;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --text-muted: #8a8a8a;
    --white: #ffffff;
    --off-white: #fefefe;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 52, 204, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 52, 204, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 52, 204, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Georgia, 'Times New Roman', serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-gray);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar {
    padding: 1.25rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-dark);
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-link:hover {
    color: var(--primary-blue);
}

.logo-text {
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid var(--primary-blue);
}

.contact-btn:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 4px 0;
    transition: var(--transition);
}

/* ========================================
   BUTTONS & CTA
   ======================================== */

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background-color: var(--dark-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-submit {
    padding: 1rem 2rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.btn-submit:hover {
    background-color: var(--dark-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 3rem;
    max-width: 100%;
    min-height: 650px;
    background-image: url('../Images/Homepage.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 52, 204, 0.15) 0%, rgba(0, 61, 153, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--white);
    font-weight: 300;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SECTION STYLES
   ======================================== */

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.reviews-section {
    background-color: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3rem;
}

.review-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.6s ease-out;
}

.review-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-image {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.review-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-title {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.review-title:hover {
    color: var(--primary-blue);
}

.review-meta {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.review-excerpt {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.read-more:hover {
    transform: translateX(4px);
}

/* ========================================
   REVIEW ARTICLE PAGE
   ======================================== */

.review-article {
    background-color: var(--white);
    padding: 4rem 0;
    min-height: 600px;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem;
}

.article-header {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.article-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 300;
    line-height: 1.2;
}

.article-meta {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.article-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    margin-top: 2rem;
    border-radius: 2px;
}

.article-content {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.article-content p {
    margin-bottom: 1.8rem;
    text-align: justify;
}

.article-footer {
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
    animation: fadeInUp 1s ease-out;
}

.back-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    transform: translateX(-4px);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background: linear-gradient(135deg, var(--very-light-blue) 0%, var(--light-blue) 100%);
    padding: 6rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 300;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 1.8rem;
    line-height: 1.9;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

.newsletter-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease-out;
}

.newsletter-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    background-color: var(--white);
    color: var(--text-dark);
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

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

.footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 4rem 0 2rem 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-blue);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .hero {
        padding: 4rem 2rem;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-container {
        padding: 0 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-container {
        padding: 0 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn-submit {
        flex: 1;
    }

    .card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 3rem 1.5rem;
        min-height: 300px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .review-title {
        font-size: 1.2rem;
    }

    .article-container {
        padding: 0 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .newsletter-section h2 {
        font-size: 1.75rem;
    }

    .newsletter-section p {
        font-size: 1rem;
    }

    .card-image {
        height: 180px;
    }
}

/* ========================================
   ACCESSIBILITY & UTILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}
