/* Main Styles for Copyright Protection Services Website */

/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #c0392b;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Libre Baskerville', serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #a5281b;
    color: white;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #1a2530;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.logo img {
    height: 4rem;
    margin-right: 1rem;
}

.logo span {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 1.5rem;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 8rem;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: white;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1rem;
}

.hero-content h2 {
    color: var(--light-color);
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 2rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.8rem;
}

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

.feature-card {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.feature-card h3 {
    margin-bottom: 1.5rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 8rem 0;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.reason {
    margin-bottom: 3rem;
}

.reason h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reason h3 span {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-family: var(--font-primary);
}

.image-column img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(192, 57, 43, 0.2);
    position: absolute;
    left: -2rem;
    top: -2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin-right: 2rem;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.slider-dots {
    display: flex;
    margin: 0 2rem;
}

.dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
}

.prev, .next {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.prev:hover, .next:hover {
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #1a2530;
    color: #ecf0f1;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 4rem;
    margin-right: 1rem;
}

.footer-logo span {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.social-links {
    display: flex;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer-column h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    margin-bottom: 1.5rem;
    color: #bdc3c7;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 1rem;
    min-width: 2rem;
}

.office-hours {
    margin-top: 2rem;
}

.office-hours h4 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 1.4rem;
    color: #bdc3c7;
}

.footer-bottom p {
    margin-bottom: 1rem;
}

/* Page Banner */
.page-banner {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 8rem;
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.banner-content h1 {
    color: white;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.8rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    html {
        font-size: 60%;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .content-columns {
        grid-template-columns: 1fr;
    }
    
    .image-column {
        order: -1;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .cta-button {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
