/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500&family=Playfair+Display:wght@700&display=swap');

/* Variables */
:root {
    /* Colors */
    --color-primary: #0072bb;
    --color-primary-dark: #005999;
    --color-primary-light: #00a3ff;
    --color-secondary: #f0f8ff;
    --color-text: #333;
    --color-text-light: #555;
    --color-text-lighter: #666;
    --color-background: #f8fcff;
    --color-white: #ffffff;
    --color-border: rgba(0, 114, 187, 0.1);
    
    /* Typography */
    --font-heading: 'Montserrat', 'Arial', sans-serif;
    --font-body: 'Open Sans', 'Arial', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;   /* 12px */
    --text-sm: 0.875rem;  /* 14px */
    --text-base: 1rem;    /* 16px */
    --text-md: 1.125rem;  /* 18px */
    --text-lg: 1.25rem;   /* 20px */
    --text-xl: 1.5rem;    /* 24px */
    --text-2xl: 1.875rem; /* 30px */
    --text-3xl: 2.25rem;  /* 36px */
    --text-4xl: 3rem;     /* 48px */
    
    /* Spacing */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 114, 187, 0.1);
    --shadow-xl: 0 15px 40px rgba(0, 114, 187, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-xl);
}

h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Section title with line */
.section-title {
    text-align: center;
    position: relative;
    margin-bottom: var(--space-2xl);
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-primary);
    margin: var(--space-md) auto 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 {
        font-size: var(--text-3xl);
    }
    
    h2 {
        font-size: var(--text-2xl);
    }
    
    h3 {
        font-size: var(--text-lg);
    }
}

/* About Hero Section */
.about-hero {
    background-image: url('../images/tower-bridge.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    margin-bottom: 4rem;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.about-hero:hover .about-hero-content {
    transform: translateY(-5px);
}

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

.about-hero p {
    font-size: 1.2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-intro {
    padding: 2rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.about-intro .section-title {
    margin-bottom: 2rem;
}

.about-intro p {
    max-width: 800px;
    margin: 0 auto;
}

.guide-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.guide-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-bio {
    margin-bottom: 0;
}

/* Contact Section Styling */
.contact-section {
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: var(--space-2xl) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--space-2xl) auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pattern.png');
    background-size: 300px;
    opacity: 0.03;
    z-index: 0;
}

.contact-section > * {
    position: relative;
    z-index: 1;
}

#tour-booking-form {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 114, 187, 0.1);
}

.submit-button {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 99;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}