/* Hand-drawn Style CSS for Nightfall Helm Renovation Website */

:root {
    /* Color Palette */
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --info-color: #3498db;
    --light-bg: #ecf0f1;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #bdc3c7;
    
    /* Hand-drawn shadows */
    --sketch-shadow: 3px 3px 8px rgba(0,0,0,0.1), 1px 1px 3px rgba(0,0,0,0.1);
    --paper-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.03'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'/%3E%3C/g%3E%3C/svg%3E");
    
    /* Typography */
    --font-primary: 'Comic Sans MS', cursive, sans-serif;
    --font-secondary: 'Courier New', monospace;
    --font-serif: 'Times New Roman', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    background-image: var(--paper-texture);
    overflow-x: hidden;
}

/* Hand-drawn animations */
@keyframes wiggle {
    0%, 100% { transform: rotate(-1deg) translateX(-1px); }
    25% { transform: rotate(1deg) translateX(1px); }
    50% { transform: rotate(-0.5deg) translateX(-0.5px); }
    75% { transform: rotate(0.5deg) translateX(0.5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-5px) rotate(1deg); }
    66% { transform: translateY(-3px) rotate(-0.5deg); }
}

@keyframes draw {
    0% { stroke-dashoffset: 100%; }
    100% { stroke-dashoffset: 0; }
}

@keyframes bounce-in {
    0% { transform: scale(0.8) rotate(-2deg); opacity: 0; }
    50% { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

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

/* Hand-drawn borders and effects */
.sketch-border {
    position: relative;
}

.sketch-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    transform: rotate(-0.5deg);
    z-index: -1;
}

.sketch-border::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    transform: rotate(0.3deg);
    z-index: -2;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: var(--sketch-shadow);
    z-index: 1000;
    transform: rotate(-0.1deg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-brand .logo {
    width: 150px;
    height: 60px;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    animation: wiggle 0.5s ease-in-out;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.nav-link:hover {
    color: var(--secondary-color);
    transform: rotate(0deg) translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
    transform: rotate(-1deg);
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
    transform: rotate(-1deg);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    transform: rotate(-0.3deg);
    animation: float 6s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transform: rotate(0.5deg);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    transform: rotate(-0.2deg);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    transform: rotate(0.5deg);
    animation: float 8s ease-in-out infinite reverse;
}

.hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.1));
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    animation: bounce-in 2s ease infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-bottom: 3px solid var(--secondary-color);
    border-right: 3px solid var(--secondary-color);
    transform: rotate(45deg);
    animation: bounce-in 2s ease infinite;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    transform: rotate(-0.5deg);
    box-shadow: var(--sketch-shadow);
}

.btn:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

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

.btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--white);
    border: 3px solid var(--accent-color);
}

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

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

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    transform: rotate(-0.3deg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(0.2deg);
}

/* Services Section */
.services {
    background: var(--light-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(231, 76, 60, 0.05) 49%, rgba(231, 76, 60, 0.05) 51%, transparent 52%);
    transform: rotate(-0.5deg);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
    border: 3px solid var(--border-color);
    box-shadow: var(--sketch-shadow);
    position: relative;
    animation: bounce-in 0.6s ease forwards;
}

.service-card:nth-child(even) {
    transform: rotate(0.5deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: rotate(-0.2deg);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
    transform: rotate(-0.1deg);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    transform: rotate(5deg);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text {
    transform: rotate(-0.2deg);
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 15px;
    transform: rotate(-0.3deg);
    transition: transform 0.3s ease;
    border: 2px solid var(--border-color);
}

.about-feature:hover {
    transform: rotate(0deg) translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: space-around;
    text-align: center;
}

.stat {
    flex: 1;
    padding: 1.5rem;
    background: var(--white);
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.stat:nth-child(2) {
    transform: rotate(0.5deg);
}

.stat:nth-child(3) {
    transform: rotate(-0.8deg);
}

.stat:hover {
    transform: rotate(0deg) scale(1.05);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat p {
    color: var(--text-dark);
    font-weight: 600;
}

.about-image {
    transform: rotate(0.5deg);
    animation: float 7s ease-in-out infinite;
}

.about-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(3px 3px 8px rgba(0,0,0,0.1));
}

/* Blog Section */
.blog {
    background: var(--light-bg);
    position: relative;
}

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

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sketch-shadow);
    transition: all 0.3s ease;
    transform: rotate(-0.3deg);
    border: 2px solid var(--border-color);
}

.blog-card:nth-child(even) {
    transform: rotate(0.4deg);
}

.blog-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 10px 10px 25px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: var(--text-light);
    transform: rotate(-0.5deg);
}

.blog-category {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    transform: rotate(0.5deg);
}

.blog-content h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

.blog-content h3 a:hover {
    color: var(--secondary-color);
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transform: rotate(-0.3deg);
}

.blog-link:hover {
    transform: rotate(0deg);
}

.blog-link::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.blog-link:hover::after {
    transform: translateX(3px);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--sketch-shadow);
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
    border: 3px solid var(--border-color);
    position: relative;
}

.testimonial-card:nth-child(even) {
    transform: rotate(0.3deg);
}

.testimonial-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.testimonial-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.testimonial-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-left: auto;
    font-size: 1.2rem;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    position: relative;
    transform: rotate(-0.2deg);
}

.testimonial-card blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    transform: rotate(-15deg);
}

/* Contact Section */
.contact {
    background: var(--light-bg);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transform: rotate(-0.3deg);
    transition: transform 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: var(--sketch-shadow);
}

.contact-item:hover {
    transform: rotate(0deg) translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

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

.social-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: rotate(-2deg);
}

.social-icons a:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: var(--sketch-shadow);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--sketch-shadow);
    transform: rotate(0.3deg);
    border: 3px solid var(--border-color);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
    transform: rotate(-0.5deg);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    transform: rotate(-0.1deg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    transform: rotate(0deg);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: rotate(-5deg);
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
    transform: rotate(-0.1deg);
}

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

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

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        var(--secondary-color) 0px,
        var(--secondary-color) 10px,
        var(--accent-color) 10px,
        var(--accent-color) 20px
    );
    transform: rotate(-0.1deg);
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    transform: rotate(-0.3deg);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    transform: rotate(-0.1deg);
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-brand p {
    color: #bdc3c7;
    margin-top: 1rem;
    line-height: 1.6;
    transform: rotate(-0.2deg);
}

.footer-logo {
    width: 120px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    transform: rotate(-0.1deg);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid #34495e;
    margin-top: 2rem;
    transform: rotate(-0.1deg);
}

.footer-copyright p {
    color: #95a5a6;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    transform: rotate(-2deg);
}

.footer-social a:hover {
    transform: rotate(0deg) scale(1.2);
}

/* Cookie Management Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 1.5rem;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cookie-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: rotate(-0.3deg);
    border: 3px solid var(--primary-color);
    box-shadow: var(--sketch-shadow);
}

.cookie-modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 15px;
    transform: rotate(-0.2deg);
}

.cookie-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.cookie-switch input[type="checkbox"] {
    display: none;
}

.cookie-slider {
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    position: relative;
    margin-right: 1rem;
    transition: background 0.3s ease;
    transform: rotate(-2deg);
}

.cookie-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-switch input[type="checkbox"]:checked + .cookie-slider {
    background: var(--success-color);
}

.cookie-switch input[type="checkbox"]:checked + .cookie-slider::before {
    transform: translateX(26px);
}

.cookie-category p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        border-top: 2px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-cookie-settings {
        margin-left: 0;
    }
}

/* Footer Cookie Settings Styling */
.footer-cookie-settings {
    margin-left: auto;
}

.cookie-settings-link {
    background: none;
    border: 2px solid #34495e;
    color: #bdc3c7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transform: rotate(-0.3deg);
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-settings-link:hover {
    background: #34495e;
    color: #ffffff;
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .services-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Animations for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(-1deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll:nth-child(1) { animation-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { animation-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { animation-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { animation-delay: 0.4s; }

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
        min-height: auto;
    }
    
    * {
        box-shadow: none !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #ff0000;
        --text-light: #333333;
        --border-color: #000000;
    }
    
    .btn {
        border-width: 2px;
    }
}

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