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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    max-width: 100%;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.logo-image {
    height: 65px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-family: 'BlackChancery', 'Black Chancery', cursive;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1px;
    color: white;
}

.brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #DDBA96;
    margin-top: -2px;
}

.navigation {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FF6B35;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FF6B35;
    transition: width 0.3s;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: #FF6B35;
    border-color: #FF6B35;
    transform: translateY(-2px);
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero-workshop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 60px;
}

.hero-subtitle {
    font-size: 14px;
    color: #FF6B35;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.55);
    padding: 8px 18px;
    border-radius: 999px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: -2px;
    max-width: 800px;
}

.accent-block {
    display: inline-block;
    background: #FF6B35;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 0 20px;
    font-size: 48px;
}

.hero-tagline {
    font-family: 'BlackChancery', 'Black Chancery', cursive;
    font-size: 26px;
    color: #DDBA96;
    font-style: normal;
    margin-bottom: 25px;
    font-weight: 400;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.65);
    display: inline-block;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
    margin-bottom: 60px;
    font-weight: 300;
}

.hero-navigation {
    display: flex;
    gap: 20px;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background: #FF6B35;
    border-color: #FF6B35;
    transform: translateY(-3px);
}

.hero-sidebar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 4;
}

.sidebar-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.sidebar-btn:hover {
    background: #FF6B35;
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #4B2415;
    margin-bottom: 20px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: #DDBA96;
    margin: 0 auto 25px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    background: #f8f8f8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: #4B2415;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.philosophy-quotes {
    margin: 30px 0;
    padding: 25px;
    background: rgba(221, 186, 150, 0.1);
    border-left: 4px solid #DDBA96;
    border-radius: 8px;
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    color: #4B2415;
    text-align: center;
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 20px;
}

.highlight i {
    font-size: 32px;
    color: #8B5E3C;
    min-width: 40px;
}

.highlight h4 {
    font-size: 18px;
    color: #4B2415;
    margin-bottom: 5px;
}

.highlight p {
    font-size: 14px;
    color: #4B2415;
    margin: 0;
}

.about-image {
    border-radius: 15px;
    height: 650px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.image-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 25px 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: white;
    text-align: center;
    border-radius: 0 0 15px 15px;
}

.image-caption p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid #DDBA96;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DDBA96, #4B2415);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-card h3 {
    font-size: 22px;
    color: #4B2415;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* Gallery Section */
.gallery {
    background: #f8f8f8;
}

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

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

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

.gallery-image {
    height: 480px;
    background: linear-gradient(135deg, #DDBA96, #4B2415);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    border-radius: 15px;
}

.gallery-image i {
    font-size: 48px;
    margin-bottom: 15px;
}

.gallery-image h4 {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

/* Real Gallery Images */
.gallery-image-real {
    height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-image-real:hover {
    transform: scale(1.05);
}

.gallery-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.gallery-overlay p {
    font-size: 13px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Note */
.service-note {
    margin-top: 40px;
    padding: 25px;
    background: rgba(221, 186, 150, 0.15);
    border: 2px solid #DDBA96;
    border-radius: 12px;
    text-align: center;
}

.service-note p {
    margin: 0;
    color: #4B2415;
    font-size: 16px;
    line-height: 1.6;
}

.service-note strong {
    color: #4B2415;
    font-weight: 700;
}

.service-note h4 {
    color: #4B2415;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.service-note h4 i {
    font-size: 20px;
    color: #8B5E3C;
}

/* Process Section */
.process {
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 15px;
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: linear-gradient(135deg, #4B2415, #DDBA96);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #4B2415;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* Pricing Section */
.pricing {
    background: #f8f8f8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #DDBA96;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Malliston mukaan';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4B2415;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header h3 {
    color: #4B2415;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #4B2415;
    margin-bottom: 30px;
}

.price span {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}

.pricing-features i {
    color: #8B5E3C;
    font-size: 14px;
}

.pricing-btn {
    background: #4B2415;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    width: 100%;
}

.pricing-btn:hover {
    background: #8B5E3C;
    transform: translateY(-2px);
}

.pricing-card.featured .pricing-btn {
    background: #DDBA96;
    color: #4B2415;
}

.pricing-card.featured .pricing-btn:hover {
    background: #4B2415;
    color: white;
}

/* Info Card Styles */
.pricing-card.info-card {
    border-color: #DDBA96;
    background: #f9f9f9;
}

.pricing-card.info-card .pricing-header h3 {
    margin-bottom: 30px;
}

.info-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(221, 186, 150, 0.2);
    border-radius: 8px;
    border-left: 4px solid #DDBA96;
}

.info-note p {
    font-size: 14px;
    color: #4B2415;
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

/* Centered Price Styling */
.price.centered-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1;
}

.price.centered-price span {
    margin-top: 10px;
    display: block;
}


/* Downloads Section */
.downloads {
    background: white;
}

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

.download-card {
    background: #f8f8f8;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid #DDBA96;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: white;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DDBA96, #4B2415);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.download-icon i {
    font-size: 32px;
    color: white;
}

.download-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.download-content h3 {
    font-size: 22px;
    color: #4B2415;
    margin-bottom: 20px;
    font-weight: 600;
}

.download-content p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.download-btn {
    background: #4B2415;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-size: 14px;
}

.download-btn:hover {
    background: #8B5E3C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 36, 21, 0.3);
}

.download-btn i {
    font-size: 16px;
}

/* FAQ Section */
.faq {
    background: #f8f8f8;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    color: #4B2415;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color 0.3s;
}

.faq-question:hover h3 {
    color: #4B2415;
}

.faq-question i {
    color: #8B5E3C;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    transition: max-height 0.3s ease-in;
}

.faq-answer p {
    padding: 0 0 25px 0;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Contact Section */
.contact {
    background: #f8f8f8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #4B2415;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 18px;
}

.contact-details h4 {
    color: #4B2415;
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #f9f9f9;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DDBA96;
    background: white;
}

.submit-btn {
    width: 100%;
    background: #4B2415;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #8B5E3C;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #110801;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 15px;
    color: #ccc;
    line-height: 1.6;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 70px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand-main {
    font-family: 'BlackChancery', 'Black Chancery', cursive;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1px;
    color: white;
}

.footer-brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #DDBA96;
    margin-top: -2px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #DDBA96;
}

.footer-services li {
    color: #ccc;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact-item i {
    color: #DDBA96;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    background: #4B2415;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #DDBA96;
    color: #4B2415;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        padding: 0 50px;
    }
}

@media (max-width: 968px) {
    .navigation {
        display: none;
    }
    
    .hamburger {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 1.1;
    }
    
    .hero-content {
        padding: 0 40px;
    }
    
    .hero-sidebar {
        right: 20px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 600px;
        padding-top: 140px;
    }
    
    .hero-background {
        background-position: 85% 30%;
        background-size: cover;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
        line-height: 1.1;
        margin-bottom: 30px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
        padding: 6px 14px;
    }
    
    .hero-tagline {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .brand-main {
        font-size: 22px;
    }
    
    .brand-sub {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .accent-block {
        font-size: 28px;
        margin: 0 8px;
        padding: 6px 12px;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-sidebar {
        position: fixed;
        bottom: 20px;
        right: 20px;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 10px;
        z-index: 100;
    }
    
    .sidebar-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .nav-brand span {
        font-size: 20px;
    }
    
    .logo-image {
        height: 55px;
    }
    
    .services-grid,
    .gallery-grid,
    .pricing-grid,
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .about-image {
        height: 470px;
    }
    
    .gallery-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
        padding-top: 130px;
    }
    
    .hero-background {
        background-position: 85% center;
        background-size: cover;
    }
    
    .hero-title {
        font-size: 28px;
        letter-spacing: -0.5px;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
        padding: 5px 12px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 35px;
    }
    
    .hero-tagline {
        font-size: 20px;
    }
    
    .accent-block {
        font-size: 22px;
        margin: 0 5px;
        padding: 5px 10px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-navigation {
        justify-content: center;
        margin-top: 25px;
    }
    
    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .nav-brand span {
        font-size: 18px;
    }
    
    .logo-image {
        height: 48px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .service-card,
    .contact-form {
        padding: 30px 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    
    .process-step {
        padding: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .about-image {
        height: 400px;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    .hero-sidebar {
        bottom: 15px;
        right: 15px;
    }
    
    .sidebar-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
        letter-spacing: -0.5px;
    }
    
    .hero-description {
        font-size: 13px;
    }
    
    .accent-block {
        font-size: 18px;
        margin: 0 3px;
        padding: 4px 8px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .nav-brand span {
        font-size: 16px;
    }
    
    .logo-image {
        height: 44px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .header .container {
        padding: 0 12px;
    }
    
    .service-card,
    .contact-form,
    .pricing-card {
        padding: 25px 15px;
    }
    
    .process-step {
        padding: 15px;
    }
}


/* Screens under 384px - Aggressive overflow fixes */
@media (max-width: 384px) {
    /* Force word wrapping on all text elements */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 8px;
        max-width: 100%;
    }
    
    .header .container {
        padding: 0 8px;
    }
    
    /* Header adjustments */
    .nav-brand span {
        font-size: 16px;
        letter-spacing: 0;
    }
    
    .logo-image {
        height: 42px;
    }
    
    .contact-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    /* Hero section */
    .hero-content {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 26px;
        letter-spacing: -0.5px;
        line-height: 1.1;
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        word-break: break-word;
    }
    
    .accent-block {
        font-size: 20px;
        margin: 0 2px;
        padding: 5px 10px;
        display: block;
        margin-bottom: 8px;
        word-break: normal;
    }
    
    /* Section headers */
    .section-header h2 {
        font-size: 24px;
        word-break: break-word;
        hyphens: auto;
    }
    
    .section-header p {
        font-size: 14px;
        word-break: break-word;
    }
    
    /* About section */
    .about-text h2 {
        font-size: 26px;
        word-break: break-word;
    }
    
    .about-text p {
        font-size: 14px;
        word-break: break-word;
        hyphens: auto;
    }
    
    .highlight h4 {
        font-size: 16px;
        word-break: break-word;
    }
    
    .highlight p {
        font-size: 13px;
        word-break: break-word;
    }
    
    /* Cards */
    .service-card,
    .contact-form,
    .pricing-card {
        padding: 16px 10px;
        word-break: break-word;
    }
    
    .service-card h3 {
        font-size: 18px;
        word-break: break-word;
    }
    
    .service-card p {
        font-size: 14px;
        word-break: break-word;
    }
    
    /* Process steps */
    .process-step {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .step-content h3 {
        font-size: 18px;
        word-break: break-word;
    }
    
    .step-content p {
        font-size: 14px;
        word-break: break-word;
    }
    
    /* Navigation */
    .hero-navigation {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
    
    .sidebar-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    
    .hero-sidebar {
        bottom: 8px;
        right: 8px;
    }
    
    /* Form elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    /* FAQ questions */
    .faq-question h3 {
        font-size: 15px;
        word-break: break-word;
        hyphens: auto;
    }
    
    .faq-answer p {
        font-size: 12px;
        word-break: break-word;
    }
}

/* Extra small screens - Additional fixes for 320px */
@media (max-width: 320px) {
    .container {
        padding: 0 5px;
    }
    
    .header .container {
        padding: 0 5px;
    }
    
    .hero-content {
        padding: 0 5px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 11px;
    }
    
    .nav-brand span {
        font-size: 13px;
    }
    
    .logo-image {
        height: 36px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .service-card,
    .contact-form,
    .pricing-card {
        padding: 12px 5px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 12px;
        margin-bottom: 8px;
    }
}
