/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #bd102d;
    --secondary-color: #883240;
    --dark-color: #420c1a;
    --darker-color: #12151f;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-color: #333;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header */
.header {
    background-color: var(--darker-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
}

.logo img {
    width: 40px;
    height: 40px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    overflow: visible;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--white);
    font-size: 0.88rem;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.dropdown-toggle .icon {
    width: 14px;
    height: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}

.dropdown:hover .dropdown-toggle .icon,
.dropdown.active .dropdown-toggle .icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--darker-color);
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: rgba(189, 16, 45, 0.2);
    color: var(--primary-color);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown.active .dropdown-toggle {
    color: var(--primary-color);
}

.dropdown-menu a.active {
    background-color: rgba(189, 16, 45, 0.3);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    background-image: url('image/picture.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(66, 12, 26, 0.85) 0%, rgba(136, 50, 64, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature .icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(189, 16, 45, 0.3);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 16, 45, 0.4);
}

/* Icon Styles */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    flex-shrink: 0;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 500px;
    object-fit: cover;
    background-color: #ccc;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.skills-list {
    list-style: none;
}

.skills-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.skills-list .icon {
    stroke: var(--primary-color);
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #ccc;
}

.service-content {
    padding: 30px;
}

.service-content .icon {
    stroke: var(--primary-color);
    width: 32px;
    height: 32px;
    margin-bottom: 15px;
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.comparison-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 50px;
}

.table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table thead {
    background-color: var(--darker-color);
    color: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
}

.comparison-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background-color: #f9f9f9;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 50px;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--light-gray);
}

.accordion-header .icon {
    stroke: var(--primary-color);
    transition: var(--transition);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 30px 25px 30px;
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-section .cta-button {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .cta-button:hover {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--darker-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-column p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item .icon {
    stroke: var(--primary-color);
    width: 28px;
    height: 28px;
}

.contact-item-content h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Form Styles */
.contact-form {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin: 40px 0 20px;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.content-wrapper p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-wrapper ul {
    margin: 20px 0 20px 30px;
    line-height: 1.8;
}

/* Success Page */
.success-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.success-content {
    text-align: center;
    max-width: 600px;
}

.success-icon {
    width: 80px;
    height: 80px;
    stroke: var(--primary-color);
    margin: 0 auto 30px;
}

.success-content h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.success-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #ccc;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--darker-color);
        transition: var(--transition);
        padding: 30px 20px;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    .dropdown {
        position: relative;
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-toggle .icon {
        width: 18px;
        height: 18px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(0, 0, 0, 0.2);
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }

    .dropdown-menu li {
        padding-left: 20px;
    }

    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        gap: 20px;
    }

    .about-content h2,
    .services-section h2,
    .comparison-section h2,
    .faq-section h2 {
        font-size: 2rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 15px;
    }

    .comparison-table td {
        display: block;
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .comparison-table td:last-child {
        border-bottom: none;
    }

    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 5px;
        color: var(--dark-color);
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-banner {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .about-section,
    .services-section,
    .comparison-section,
    .faq-section,
    .contact-section,
    .content-section {
        padding: 50px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .accordion-header,
    .accordion-content p {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .logo span {
        font-size: 1rem;
    }

    .about-content h2,
    .services-section h2,
    .comparison-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }
}

/* 320px minimum width support */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .service-content,
    .contact-form {
        padding: 20px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--darker-color);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-banner-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-banner-btn.accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-banner-btn.accept:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.cookie-banner-btn.decline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-banner-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-banner-btn.settings {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner-btn.settings:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-banner-btn {
        width: 100%;
    }
}