/* ===========================
   Ice Art Cape Town - Styles
   Updated Color Scheme: Blues
   =========================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #3399ff;
    --accent-color: #0052a3;
    --dark-color: #001a33;
    --light-color: #e6f2ff;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #4d4d4d;
    --border-color: #cce0ff;
    --shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 102, 204, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    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: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; }

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-order,
.btn-read-more {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

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

.btn-order:hover {
    background-color: var(--accent-color);
}

.btn-read-more {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
}

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

/* Hero Section with Slider */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content .btn-primary,
.hero-content .btn-secondary {
    margin: 0 0.5rem;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Products Section */
.products-preview,
.products-section {
    padding: 4rem 0;
}

.products-preview h2,
.products-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
}

.product-card a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.product-card a:hover {
    color: var(--accent-color);
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.product-detail.reverse {
    direction: rtl;
}

.product-detail.reverse > * {
    direction: ltr;
}

.product-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.product-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.product-cta {
    display: flex;
    gap: 1rem;
}

/* Use Cases Section */
.use-cases-section {
    padding: 4rem 0;
}

.use-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
}

.use-case.reverse {
    direction: rtl;
}

.use-case.reverse > * {
    direction: ltr;
}

.use-case-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.use-case-content h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.benefits h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.benefits ul {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.benefits li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.benefits strong {
    color: var(--primary-color);
}

.use-case-cta {
    display: flex;
    gap: 1rem;
}

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

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.gallery-caption p {
    font-size: 0.9rem;
    margin: 0;
}

/* Gallery Categories */
.gallery-categories {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.gallery-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.category-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card a {
    color: var(--accent-color);
    font-weight: 600;
}

.category-card a:hover {
    text-decoration: underline;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
}

.blog-post-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-preview:last-child {
    border-bottom: none;
}

.blog-post-preview.reverse {
    direction: rtl;
}

.blog-post-preview.reverse > * {
    direction: ltr;
}

.blog-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-content h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-summary {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-highlights h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.blog-highlights ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.blog-highlights li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.blog-highlights li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.blog-cta {
    padding: 4rem 0;
    background-color: var(--light-color);
    text-align: center;
}

/* Blog Article Styles */
.blog-article {
    background-color: var(--white);
}

.article-hero {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

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

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.article-body h3 {
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body strong {
    color: var(--primary-color);
}

.article-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.article-cta p {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.article-cta .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    margin: 0 0.5rem;
}

.article-cta .btn-primary:hover {
    background-color: var(--light-color);
}

.article-cta .btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
    margin: 0 0.5rem;
}

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

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.article-tags,
.article-share {
    flex: 1;
    min-width: 250px;
}

.article-tags strong,
.article-share strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.share-link {
    display: inline-block;
    margin-right: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.share-link:hover {
    text-decoration: underline;
}

.related-articles {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.related-articles h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.related-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.related-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.back-to-blog {
    text-align: center;
    margin-top: 3rem;
}

.back-to-blog .btn-secondary {
    display: inline-block;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.our-process,
.our-values,
.our-story,
.our-network {
    margin-bottom: 4rem;
}

.our-process h2,
.our-values h2,
.our-story h2,
.our-network h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.process-step {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

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

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.our-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.network-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.network-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.network-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin-bottom: 0.25rem;
}

.contact-item .small {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-item a {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.quick-order,
.network-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.quick-order h3,
.network-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.quick-order .btn-primary {
    margin-top: 1rem;
}

.network-info p {
    margin-bottom: 0.5rem;
}

.network-info a {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    margin-bottom: 0.5rem;
}

.contact-form-container > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* FAQ Preview */
.faq-preview {
    padding: 4rem 0;
    text-align: center;
}

.faq-preview h2 {
    margin-bottom: 1rem;
}

.faq-preview .faq-list {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
}

.faq-preview .faq-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.faq-preview .faq-list li:before {
    content: "?";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-categories {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.faq-categories h2 {
    margin-bottom: 1rem;
}

.category-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-links li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--white);
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.category-links li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-category h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.faq-item p {
    line-height: 1.8;
    margin-bottom: 0;
}

.faq-item a {
    color: var(--accent-color);
    font-weight: 600;
}

.faq-item a:hover {
    text-decoration: underline;
}

.still-have-questions {
    text-align: center;
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.still-have-questions h2 {
    margin-bottom: 1rem;
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Legal Section */
.legal-section {
    padding: 4rem 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.legal-section-item {
    margin-bottom: 3rem;
}

.legal-section-item h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.legal-section-item h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section-item p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section-item ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section-item li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-section-item a {
    color: var(--accent-color);
    font-weight: 600;
}

.legal-section-item a:hover {
    text-decoration: underline;
}

.legal-acknowledgment {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
}

.legal-acknowledgment p {
    margin: 0;
    font-size: 1.1rem;
}

.legal-cta {
    padding: 4rem 0;
    background-color: var(--light-color);
    text-align: center;
}

.legal-cta h2 {
    margin-bottom: 1rem;
}

.legal-cta .btn-primary,
.legal-cta .btn-secondary {
    margin: 0 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    margin: 0 0.5rem;
}

.cta-section .btn-primary:hover {
    background-color: var(--light-color);
}

.cta-section .btn-secondary {
    border-color: var(--white);
    color: var(--white);
    margin: 0 0.5rem;
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-col p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--white);
    opacity: 0.9;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

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

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

/* Error Page */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.error-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    width: 40px;
    height: 40px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Mobile Navigation */
    nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 1rem;
        position: relative;
    }

    .logo {
        order: 1;
        flex: 1;
    }

    .logo img {
        height: 50px;
    }

    .hamburger {
        display: flex !important;
        order: 3;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .nav-links {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 1rem 0;
        gap: 0;
        margin-top: 1rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        border-bottom: none !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background-color: var(--light-color);
        border-bottom: none !important;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-content .btn-primary,
    .hero-content .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }

    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .hero-slide img {
        object-fit: cover;
        object-position: center;
    }

    /* Simplified layout rules for small screens */
    .product-detail,
    .use-case,
    .about-content,
    .blog-post-preview,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Ensure reverse variants render naturally on single column */
    .product-detail.reverse,
    .use-case.reverse,
    .blog-post-preview.reverse {
        direction: ltr;
    }

    .product-cta,
    .use-case-cta {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .contact-options {
        flex-direction: column;
    }
}

/* Small Mobile Overrides */
@media (max-width: 480px) {
    /* Mobile Navigation */
    .logo img {
        height: 40px;
    }

    .btn-order {
        display: none !important;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    /* Hero Section - Full Aspect Ratio */
    .hero {
        height: 60vh;
        min-height: 350px;
    }

    .hero-content {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

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

    .hero-content .btn-primary,
    .hero-content .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
    }

    .page-hero {
        padding: 2rem 1rem;
    }

    .feature-grid,
    .product-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
