/* Global Styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fafafa;
}

/* Typography */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2 {
    position: relative;
    padding-bottom: 0.8rem;
    font-size: 1.8rem;
    margin-top: 2rem;
}

h2.centered:after {
    left: 50%;
    transform: translateX(-50%);
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background-color: #d4af37;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.date-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 1.4rem;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-brand:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    transform: scaleX(0.7);
    transition: transform 0.3s ease;
}

.navbar-brand:hover:after {
    transform: scaleX(1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* Buttons */
.btn {
    border-radius: 4px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.btn-dark {
    transition: all 0.3s ease;
    background-color: #343a40;
    border: none;
}

.btn-dark:hover {
    background-color: #23272b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero-section {
    background: url('https://images.unsplash.com/photo-1512316609839-ce289d3eba0a?q=80&w=2069&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
}

.hero-content {
    background-color: transparent;
    padding: 3rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p.lead {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content .btn {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 400;
}

.hero-content .btn:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* Cards */
.card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.card-img-top {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card-body {
    padding: 1rem 0;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.card:hover {
    transform: translateY(-5px);
}

/* Model Grid */
.model-grid {
    margin-top: 2rem;
}

.model-grid .card {
    position: relative;
    margin-bottom: 60px;
    cursor: pointer;
}

.model-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.model-link:hover {
    color: inherit;
}

.model-grid .card-img-top {
    filter: grayscale(20%);
    transition: all 0.5s ease;
    height: 500px;
}

.model-grid .card:hover .card-img-top {
    filter: grayscale(0%);
}

.model-grid .card-body {
    text-align: center;
    padding: 0.5rem 0;
}

.model-grid .card-title {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    font-weight: 400;
    letter-spacing: 2px;
}

.model-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 15px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .model-name-overlay {
    opacity: 1;
}

/* Model details display */
.model-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.7);
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-name {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    margin-bottom: 15px;
}

.model-measurements {
    display: grid;
    grid-template-columns: auto auto;
    gap: 5px 15px;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.model-measurements .label {
    text-align: right;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
}

.model-measurements .value {
    text-align: left;
    font-weight: 600;
}

.card:hover .model-details {
    opacity: 1;
}

/* Sections */
.container {
    padding: 0 1.5rem;
}

main {
    padding: 5rem 0;
}

section {
    margin-bottom: 5rem;
}

/* Images */
.img-fluid {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.img-fluid:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 3rem 0;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background-color: #fff;
}

footer a {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

footer .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    main {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 50vh;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    main {
        padding: 2rem 0;
    }
    
    .card-img-top {
        height: 250px;
    }
}

/* Custom classes for AM MODELS */
.text-accent {
    color: #d4af37; /* Gold accent color */
}

.bg-accent {
    background-color: #d4af37;
}

.border-accent {
    border-color: #d4af37;
}

/* Model Detail Page */
.model-detail-page h1 {
    font-size: 2.5rem;
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

.model-main-image {
    margin-bottom: 1.5rem;
}

.model-main-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.model-gallery .thumbnail {
    cursor: pointer;
    height: 120px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.model-gallery .thumbnail:hover {
    opacity: 0.8;
}

.stats-heading {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.stats-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 30px;
    background-color: #d4af37;
}

.stat-label {
    font-weight: 400;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0;
}

.stat-value {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0;
}

.model-portfolio h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.model-portfolio h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 30px;
    background-color: #d4af37;
}

.portfolio-list {
    padding-left: 1.2rem;
}

.portfolio-list li {
    margin-bottom: 0.5rem;
}

/* Animation effects */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}