/* Font Face Declarations */
@font-face {
    font-family: 'Industry';
    src: url('font/Industry/Industry W00 Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Industry';
    src: url('font/Industry/Industry W00 Demi.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Industry';
    src: url('font/Industry/Industry W00 Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Industry';
    src: url('font/Industry/Industry W00 Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('font/gotham/Gotham Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('font/gotham/Gotham Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('font/gotham/Gotham Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

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

img {
    max-width: 100%;
    height: auto;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Gotham', sans-serif;
    color: #4d4f55;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Fade-up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-element {
    opacity: 0;
    transform: translateY(30px);
}

.fade-element.visible {
    animation: fadeUp 0.8s ease-out forwards;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero .container {
    max-width: 100%;
    padding: 0 50px;
}

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

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header .container {
    max-width: 100%;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.logo img {
    height: 70px;
    transition: height 0.4s ease;
}

.header.scrolled .logo img {
    height: 50px;
}

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

.nav a {
    font-family: 'Gotham', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #4d4f55;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #a6a886;
}

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #4d4f55;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 40%;
    height: 40%;
    background-image: url('assets/hero-overlay.png');
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 160px;
    color: white;
}

.hero-content h1 {
    font-family: 'Industry', sans-serif;
    font-weight: 300;
    font-size: 46px;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4c4f54;
    padding-left: 10px;
    border-left: 1px solid #a5a982;
    word-wrap: break-word;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #a5a98296;
    color: #4c4f54;
    font-family: 'Gotham', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 35px;
    border:1px solid #4c4f54;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-bottom: 60px;
}

.btn-download:hover {
    background-color: #8f9174;
    transform: translateX(5px);
}

.btn-download .arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-download:hover .arrow {
    transform: translateX(5px);
}

.hero-info {
    margin-bottom: 20px;
}

.hero-info .size {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #a5a982;
}

.hero-info .availability {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #4c4f54;
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    padding: 40px 0;
}

.location {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
    margin: 0;
}

.aberdeen-logo {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 5;
}

.aberdeen-logo img {
    height: 60px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-image: url('assets/about-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.about-title {
    font-family: 'Industry', sans-serif;
    font-size: 46px;
    line-height: 1.2;
    color: #4c4f54;
    letter-spacing: 2px;
    text-transform: uppercase;
    flex: 1;
    max-width: 700px;
}

.about-title .title-bold {
    font-weight: 700;
}

.about-title .title-light {
    font-weight: 300;
}

.about-description {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4c4f54;
    flex: 1;
    max-width: 500px;
}

.about-image {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-stats {
    background-color: #4c4f54;
    border-radius: 20px;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.stat-icon-single {
    width: 80px;
    height: 80px;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: start;
}

.stat-content {
    width: 100%;
}

.stat-number {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: white;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Accommodation Section */
.accommodation {
    position: relative;
    padding: 80px 0;
    background-color: #4c4f54;
    overflow: hidden;
}

.accommodation-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/siteplan-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.accommodation .container {
    position: relative;
    z-index: 2;
}

.accommodation-content {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
    align-items: start;
}

.accommodation-left-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    color: white;
}

.accommodation-left {
    grid-column: 1;
    grid-row: 1;
    color: white;
}

.accommodation-center {
    grid-column: 2;
    grid-row: 1;
    color: white;
}

.accommodation-table {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 20px;
}

.accommodation-right {
    color: white;
}

.accommodation-intro {
    font-family: 'Gotham', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.accommodation-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.feature-item img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.feature-text {
    font-family: 'Gotham', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
}

.feature-text strong {
    font-weight: 700;
}

.accommodation-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.siteplan-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.info-section {
    margin-bottom: 30px;
}

.info-section h3 {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.info-section p {
    font-family: 'Gotham', sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.availability-markers {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.marker-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.marker-item img {
    width: 30px;
    height: 30px;
}

.marker-item span {
    font-family: 'Gotham', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Data Table */

.availability-title {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #bcbda0;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.availability-table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    color: white;
}

.availability-table thead {
    background-color: rgba(255, 255, 255, 0.1);
}

.availability-table th {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-align: left;
    padding: 12px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    width: 25%;
}

.availability-table th:nth-child(2),
.availability-table th:nth-child(3) {
    text-align: center;
}

.availability-table th:last-child {
    text-align: right;
}

.availability-table td {
    font-family: 'Gotham', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 15px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 25%;
}

.availability-table td:nth-child(2),
.availability-table td:nth-child(3) {
    text-align: center;
}

.availability-table td:last-child {
    text-align: right;
}

.availability-table tbody tr:last-child td {
    border-bottom: none;
}

.availability-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

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

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #a5a982;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 60px;
    font-weight: 300;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #a5a982;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Gotham', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Location Section */
.location-section {
    position: relative;
    padding: 80px 0;
    background-color: #4c4f54;
    overflow: hidden;
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/overlay.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: 1;
}

.location-section .container {
    position: relative;
    z-index: 2;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    color: white;
}

.location-text h2 {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.location-text p {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.location-table {
    display: flex;
    flex-direction: column;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.table-row:last-child {
    border-bottom: none;
}

.table-header {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 15px;
}

.table-header .table-cell:last-child {
    text-align: right;
}

.table-cell {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.table-row:not(.table-header) .table-cell:last-child {
    text-align: right;
    font-weight: 500;
}

.location-demographics {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.demographic-icons-row {
    display: flex;
    gap: 80px;
    justify-content: center;
}

.demographic-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.demographic-icon-item img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.demographic-icon-item .demographic-text {
    text-align: center;
}

.demographic-icon-item .demographic-text p {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.demographic-icon-item .demographic-text p:first-child {
    font-weight: 500;
}

.demographic-stats-title {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: white;
    letter-spacing: 1px;
    padding-top: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.demographic-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
    grid-column: 1 / -1;
}

.demo-stat {
    text-align: center;
}

.demo-number {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.demo-label {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.location-maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.map-item {
    border-radius: 20px;
    overflow: hidden;
}

.map-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background-color: #2d2d2c;
    padding: 60px 0;
    color: white;
}

.footer-intro {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: white;
    text-align: left;
    margin-bottom: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 20% 20% 60%;
    gap: 40px;
    align-items: start;
}

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

.footer-logo {
    height: auto;
    width: auto;
    max-width: 140px;
}

.contact-person {
    text-align: left;
}

.contact-person h4 {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
    color: white;
}

.contact-person p {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-info {
    text-align: right;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 30px;
}

.footer-info p {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    color: #bcbda0;
}

.footer-info a {
    color: #bcbda0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #d4d5b8;
}

.sat-nav {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
    color: #bcbda0;
}

.admits {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 0;
    color: #bcbda0;
}

.designed-by-container {
    margin-top: 40px;
    padding-top: 0;
}

.designed-by::before {
    content: "Designed by: ";
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    color: white;
}

.designed-by {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    font-size: 11px;
    margin: 0;
    color: #bcbda0;
}

.designed-by a {
    color: #bcbda0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.designed-by a:hover {
    color: #d4d5b8;
}

.copyright {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 11px;
    margin-top: 15px;
    color: white;
}

.copyright a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #d4d5b8;
}

/* Gallery item sizes based on design */
/* Row 1: Large (2x2) | Small (2x1) | Large (2x2) */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(3) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Row 2: continues from above | Medium (2x1) | continues from above */
.gallery-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
}

/* Row 3: Wide (4x2) | Small (2x1) */
.gallery-item:nth-child(5) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
}

/* Row 4: continues from above | Small (2x1) */
.gallery-item:nth-child(7) {
    grid-column: span 2;
    grid-row: span 1;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .container {
        padding: 0 30px;
    }

    .header .container,
    .hero .container {
        padding: 0 40px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-info .size {
        font-size: 36px;
    }

    .about-title {
        font-size: 36px;
    }

    .about-stats {
        padding: 40px 50px;
    }

    .accommodation-content {
        grid-template-columns: 50% 50%;
        gap: 30px;
    }

    .accommodation-left-wrapper {
        gap: 30px;
    }

    .feature-item img {
        width: 50px;
        height: 50px;
    }

    .info-section h3 {
        font-size: 16px;
    }

    .info-section p {
        font-size: 12px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 180px;
        gap: 15px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 4;
        grid-row: span 2;
    }

    .lightbox-close {
        top: 20px;
        right: 30px;
        font-size: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 50px;
        padding: 15px;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 18px;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(77, 79, 85, 0.1);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-info .size {
        font-size: 32px;
    }

    .hero-overlay {
        width: 60%;
        height: 60%;
    }

    .about-title {
        font-size: 32px;
    }

    .about-description {
        font-size: 15px;
    }

    .about-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 30px;
        gap: 30px;
    }

    .stat-icon-single {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .stat-item {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .stat-number {
        font-size: 28px;
    }

    .accommodation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .accommodation-left-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        order: 2;
    }

    .accommodation-left {
        grid-column: 1;
        grid-row: 1;
        order: 1;
    }

    .accommodation-center {
        grid-column: 1;
        grid-row: 2;
        order: 2;
    }

    .accommodation-table {
        grid-column: 1;
        grid-row: 3;
        order: 3;
    }

    .accommodation-right {
        order: 1;
    }

    .accommodation-intro {
        font-size: 13px;
        text-align: center;
    }

    .accommodation-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .feature-item img {
        width: 50px;
        height: 50px;
    }

    .feature-text {
        font-size: 11px;
    }

    .availability-markers {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .availability-title {
        font-size: 14px;
    }

    .availability-table th {
        font-size: 10px;
        padding: 10px 12px;
    }

    .availability-table td {
        font-size: 11px;
        padding: 12px 12px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-demographics {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .demographic-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .location-maps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-intro {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column {
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .contact-person {
        text-align: center;
    }

    .footer-logo {
        max-width: 130px;
    }

    .footer-info {
        text-align: center;
        border-right: none;
        padding-right: 0;
    }

    .designed-by-container {
        margin-top: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 40px;
        padding: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        font-size: 14px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        gap: 0;
    }

    .logo img {
        height: 50px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 18px;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(77, 79, 85, 0.1);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .header .container,
    .hero .container {
        padding: 0 30px;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 32px;
        max-width: 100%;
    }

    .hero-info .size {
        font-size: 28px;
    }

    .hero-bottom {
        position: absolute;
        bottom: 80px;
        text-align: center;
    }

    .location {
        font-size: 12px;
        margin: 0;
    }

    .aberdeen-logo {
        position: absolute;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }

    .aberdeen-logo img {
        height: 50px;
    }

    .hero-overlay {
        width: 70%;
        height: 40%;
    }

    .about-header {
        flex-direction: column;
        gap: 30px;
    }

    .about-title {
        font-size: 28px;
        max-width: 100%;
    }

    .about-description {
        max-width: 100%;
    }

    .about {
        padding: 60px 0;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .location-section {
        padding: 60px 0;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .location-text h2 {
        font-size: 16px;
    }

    .location-text p {
        font-size: 13px;
    }

    .table-row {
        padding: 12px 0;
    }

    .table-header,
    .table-cell {
        font-size: 13px;
    }

    .demographic-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .demographic-item img {
        width: 70px;
        height: 70px;
    }

    .demographic-text {
        text-align: center;
    }

    .demographic-text p {
        font-size: 12px;
    }

    .location-demographics {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .demographic-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .demo-number {
        font-size: 32px;
    }

    .demo-label {
        font-size: 10px;
    }

    .location-maps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer {
        padding: 50px 0;
    }

    .footer-intro {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column {
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .contact-person {
        text-align: center;
    }

    .footer-logo {
        max-width: 120px;
    }

    .footer-info {
        text-align: center;
        border-right: none;
        padding-right: 0;
    }

    .designed-by-container {
        margin-top: 30px;
    }

    .contact-person h4 {
        font-size: 13px;
    }

    .contact-person p {
        font-size: 12px;
    }

    .accommodation {
        padding: 60px 0;
    }

    .accommodation-intro {
        font-size: 13px;
    }

    .gallery {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .header .container,
    .hero .container {
        padding: 0 20px;
    }

    .nav {
        gap: 10px;
    }

    .nav a {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-info .size {
        font-size: 24px;
    }

    .btn-download {
        padding: 12px 20px;
        font-size: 11px;
        width: fit-content;
        max-width: 100%;
    }

    .hero-overlay {
        display: none;
    }

    .hero-bottom {
        position: absolute;
        bottom: 75px;
        text-align: center;
    }

    .location {
        font-size: 11px;
        margin: 0;
    }

    .aberdeen-logo {
        position: absolute;
        bottom: 15px;
        right: 50%;
        transform: translateX(50%);
    }

    .aberdeen-logo img {
        height: 45px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-description {
        font-size: 14px;
    }

    .about-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 25px;
    }

    .stat-icon-single {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .stat-item {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .accommodation {
        padding: 40px 0;
    }

    .accommodation-intro {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .accommodation-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .feature-item img {
        width: 45px;
        height: 45px;
    }

    .feature-text {
        font-size: 10px;
    }

    .info-section {
        margin-bottom: 25px;
    }

    .info-section h3 {
        font-size: 14px;
    }

    .info-section p {
        font-size: 11px;
    }

    .availability-markers {
        flex-direction: column;
        justify-content: flex-start;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .marker-item img {
        width: 25px;
        height: 25px;
    }

    .marker-item span {
        font-size: 12px;
    }

    .availability-title {
        font-size: 13px;
    }

    .availability-table th {
        font-size: 9px;
        padding: 8px 10px;
    }

    .availability-table td {
        font-size: 10px;
        padding: 10px 10px;
    }

    .location-section {
        padding: 40px 0;
    }

    .location-content {
        margin-bottom: 30px;
    }

    .location-text h2 {
        font-size: 15px;
    }

    .location-text p {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .table-row {
        padding: 10px 0;
    }

    .table-header,
    .table-cell {
        font-size: 12px;
    }

    .demographic-item {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .demographic-item img {
        width: 60px;
        height: 60px;
    }

    .demographic-text {
        text-align: center;
    }

    .demographic-text p {
        font-size: 11px;
    }

    .location-demographics {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .demographic-stats {
        gap: 20px;
    }

    .demo-number {
        font-size: 28px;
    }

    .demo-label {
        font-size: 10px;
    }

    .location-maps {
        gap: 15px;
    }

    .map-item {
        border-radius: 15px;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-intro {
        text-align: center;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-column {
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .contact-person {
        text-align: center;
    }

    .footer-logo {
        max-width: 110px;
    }

    .contact-person h4 {
        font-size: 13px;
    }

    .contact-person p {
        font-size: 11px;
    }

    .footer-info {
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 0;
        padding-top: 25px;
    }

    .footer-info p {
        font-size: 11px;
    }

    .sat-nav {
        font-size: 13px;
    }

    .admits {
        font-size: 11px;
        margin-bottom: 20px;
    }

    .designed-by {
        font-size: 10px;
        margin-top: 20px;
    }

    .gallery {
        padding: 40px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 15px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item {
        border-radius: 15px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 8px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-counter {
        font-size: 12px;
        bottom: 15px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }
}
