/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #2d5a7b;
    --primary-dark: #1e3f56;
    --secondary-color: #c9a227;
    --accent-warm: #d4a574;
    --text-color: #2c3e50;
    --text-light: #5a6a7a;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --bg-cream: #faf9f7;
    --border-color: #d8dce3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

a:hover {
    color: var(--primary-dark);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

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

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--bg-light);
    padding: 60px 20px;
    margin-top: 80px;
}

.hero .container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-size: 2.5rem;
    margin: 0 0 30px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    color: var(--primary-color);
}

.hero .btn-primary {
    background-color: var(--secondary-color);
    border: none;
    font-size: 1.1rem;
    padding: 16px 40px;
}

.hero .btn-primary:hover {
    background-color: #b8911f;
}

/* Video Section */
.video-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.video-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.video-carousel {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-content {
    flex: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper.local-video {
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.video-info {
    text-align: center;
    margin-top: 20px;
}

.video-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.video-counter {
    font-size: 0.95rem;
    color: var(--text-light);
}

.video-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 200px;
    flex-shrink: 0;
}

.thumb {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.thumb img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.thumb span {
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--text-color);
}

.thumb:hover {
    border-color: var(--primary-color);
}

.thumb:hover span {
    color: var(--primary-color);
}

.thumb.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.thumb.active span {
    color: white;
}

.video-text {
    text-align: center;
    margin-top: 40px;
}

.video-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--bg-white);
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.services-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.testimonials-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card blockquote p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-card cite {
    display: block;
    font-style: normal;
}

.testimonial-card cite strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
}

.testimonial-card cite span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.about-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.portfolio-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    display: block;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.portfolio-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.contact-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-info a {
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    color: white;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Article Page */
.article-page {
    padding: 120px 20px 80px;
    margin-top: 80px;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.article-meta {
    font-size: 1rem;
    color: var(--text-light);
}

.article-content {
    max-width: 700px;
    margin: 0 auto;
}

.article-content .lead {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 1.6rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 25px;
}

.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .video-carousel {
        flex-wrap: wrap;
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .video-thumbnails {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        order: 4;
        margin-top: 20px;
    }

    .thumb {
        width: auto;
        padding: 4px 8px;
    }

    .thumb img {
        width: 40px;
        height: 30px;
    }

    .thumb span {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero .container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

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