/* ===================================
   The Scottish Free Website Guys
   Main Stylesheet
   =================================== */

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

:root {
    /* Color Palette */
    --primary-purple: #4A148C;
    --secondary-purple: #7B1FA2;
    --accent-blue: #1976D2;
    --gold-accent: #FFD700;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-text: #212121;
    --light-text: #757575;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 42px;
}

h3 {
    font-size: 32px;
}

p {
    font-size: 18px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

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

.btn-primary:hover {
    background: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(25, 118, 210, 0.3);
}

.btn-hero {
    background: var(--gold-accent);
    color: var(--primary-purple);
    font-size: 18px;
    padding: 20px 50px;
    font-weight: 700;
}

.btn-hero:hover {
    background: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 20px;
    margin-bottom: 60px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: transform 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-purple);
}

.logo i {
    font-size: 28px;
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 40px 20px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.badge i {
    color: var(--gold-accent);
    font-size: 20px;
}

.badge span {
    font-weight: 600;
}

.hero-wave {
    display: none;
}

.hero-wave svg {
    display: none;
}

/* ===================================
   Hero Header Text
   =================================== */
.hero-header-text {
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
    padding-top: 40px;
}

.hero-main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-main-subtitle {
    font-size: 22px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Multi-Step Form
   =================================== */
.multi-step-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    padding: 0 0 40px 0;
}

.multi-step-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #4CAF50;
    border-radius: 10px;
    width: 20%;
    transition: width 0.5s ease-in-out;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Question Title */
.question-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-purple);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

/* Options Container */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Option Buttons */
.option-button {
    width: 100%;
    padding: 20px 30px;
    background: var(--white);
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-button:hover {
    border-color: var(--accent-blue);
    background: rgba(25, 118, 210, 0.05);
    transform: translateX(5px);
}

.option-button:active {
    transform: translateX(5px) scale(0.98);
}

.option-button.selected {
    border-color: var(--accent-blue);
    background: rgba(25, 118, 210, 0.1);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.2);
}

.option-button span {
    flex: 1;
}

/* Multi-Step Contact Form */
.multi-step-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.multi-step-contact-form .form-group {
    margin-bottom: 0;
}

.multi-step-contact-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
}

.multi-step-contact-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.btn-submit-multi {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    margin-top: 10px;
}

/* Privacy Message */
.privacy-message {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--light-text);
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
    justify-content: center;
    text-align: center;
}

.privacy-message i {
    color: var(--accent-blue);
    font-size: 16px;
    flex-shrink: 0;
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-choose-us {
    padding: var(--section-padding);
    background: var(--white);
    margin-top: -1px;
    position: relative;
    z-index: 10;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-purple);
    font-size: 24px;
}

.feature-card p {
    color: var(--light-text);
    font-size: 16px;
}

/* ===================================
   Statistics Section
   =================================== */
.statistics {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--white);
}

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

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 64px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--gold-accent);
}

.stat-number::after {
    content: '+';
}

.stat-card:nth-child(2) .stat-number::after {
    content: '%';
}

.stat-card:nth-child(3) .stat-number::after {
    content: '★';
}

.stat-card:nth-child(4) .stat-number {
    display: none;
}

.stat-icon {
    font-size: 64px;
    margin-bottom: 10px;
    color: var(--gold-accent);
}

.stat-label {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.95;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-purple));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-purple);
    font-size: 22px;
}

.service-card p {
    color: var(--light-text);
    font-size: 16px;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--white);
}

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

.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--gold-accent), #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-purple);
    font-family: var(--font-heading);
}

.step-card h3 {
    margin-bottom: 15px;
    color: var(--primary-purple);
    font-size: 22px;
}

.step-card p {
    color: var(--light-text);
    font-size: 16px;
}

/* ===================================
   Portfolio Section
   =================================== */
.portfolio {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.portfolio-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    margin-bottom: 8px;
    color: var(--primary-purple);
    font-size: 22px;
}

.portfolio-info p {
    color: var(--light-text);
    font-size: 16px;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-purple));
    color: var(--white);
}

.testimonials .section-title,
.testimonials .section-subtitle {
    color: var(--white);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: var(--gold-accent);
    font-size: 18px;
    margin-right: 3px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 18px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 14px;
    opacity: 0.9;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    padding: var(--section-padding);
    background: var(--white);
}

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

.pricing-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-blue);
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(25, 118, 210, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--gold-accent), #FFA500);
    color: var(--primary-purple);
    padding: 8px 40px;
    font-weight: 700;
    font-size: 14px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.pricing-header h3 {
    font-size: 28px;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 15px;
}

.price .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-top: 10px;
}

.price .amount {
    font-size: 56px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-purple);
    line-height: 1;
}

.price .period {
    font-size: 18px;
    color: var(--light-text);
    margin-top: 30px;
    margin-left: 5px;
}

.plan-description {
    font-size: 18px;
    color: var(--light-text);
    font-weight: 600;
}

.pricing-features {
    margin-bottom: 30px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: var(--accent-blue);
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--dark-text);
    font-size: 16px;
}

.pricing-card .btn {
    width: 100%;
    padding: 16px 30px;
    font-size: 16px;
}

.pricing-card.featured .btn {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-blue));
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.3);
}

.pricing-card.featured .btn:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-purple));
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(74, 20, 140, 0.4);
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.05), rgba(25, 118, 210, 0.05));
    border-radius: 15px;
    border-left: 4px solid var(--accent-blue);
}

.pricing-note p {
    font-size: 18px;
    color: var(--primary-purple);
    font-weight: 600;
    margin: 0;
}

.pricing-note i {
    color: var(--accent-blue);
    margin-right: 10px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 28px;
}

.contact-info > p {
    color: var(--light-text);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-detail i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail h4 {
    color: var(--primary-purple);
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-detail p {
    color: var(--light-text);
    font-size: 16px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 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 #E0E0E0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 18px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-purple);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--gold-accent);
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold-accent);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--gold-accent);
}

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

.footer-bottom p {
    opacity: 0.8;
    font-size: 16px;
}
