/* General Page Styling */
.about-page-content {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

/* About Page Header */
.about-page-header {
    position: relative;
    padding: 15rem 2rem 6rem;
    text-align: center;  
}

.about-page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../pics/hero 1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.about-page-header > * {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
}

/* Section Styling */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Our Story Section */
.our-story-section {
    padding: 5rem 2rem;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.story-text {
    flex: 1;
}

.story-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image {
    flex: 1;
}

.story-photo {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Mission Section */
.mission-section {
    padding: 5rem 2rem;
    background: #1a1a1a;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-item {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,215,0,0.2);
}

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mission-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    padding: 5rem 2rem;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.chef-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255,215,0,0.2);
}

.chef-image {
    height: 300px;
}

.chef-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chef-info {
    padding: 1.5rem;
}

.chef-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #ffd700;
}

.chef-title {
    color: rgba(255,255,255,0.7);
    margin: 0.5rem 0;
}

/* Values Section */
.values-section {
    padding: 5rem 2rem;
    background: #1a1a1a;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.values-text {
    flex: 1;
}

.value-item {
    margin-bottom: 2rem;
}

.value-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.values-image {
    flex: 1;
}

.values-photo {
    width: 100%;
    border-radius: 20px;
}

/* Back to Home Section */
.back-home-section {
    padding: 5rem 2rem;
    text-align: center;
}

.back-home-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.back-home-buttons {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem; /* Uniform gap between buttons */
    flex-wrap: wrap; /* Allow wrap on very small screens */
}

.back-home-button, .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    min-width: 190px; /* Consistent width */
    min-height: 56px; /* Consistent height */
    line-height: 1.2; /* Prevent vertical misalignment */
}

.back-home-button {
    background: linear-gradient(135deg, #ffd700, #ff9500);
    color: #111;
}

.menu-button {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.back-home-button:hover, .menu-button:hover {
    transform: translateY(-5px);
}

@media (max-width: 600px) {
    .back-home-buttons {
        flex-direction: column;
        gap: 1rem; /* Slightly reduced vertical gap on mobile */
    }
    .back-home-button, .menu-button {
        width: 100%;
        max-width: 320px;
    }
}
